body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000; 
    background-color: rgb(241, 240, 239); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: box-shadow 0.3s ease;
}


header.sticky {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); 
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-header {
    width: 190px;
    height: 130px;
    border-radius: 20px;
}

.logo-text {
    font-family: 'Playfair Display';
    font-size: 70px;
    color: #483729;
    text-decoration: none;
    margin-left: 20px;
}

.logo-text:hover {
    color: #bd965c;
    transform: scale(1.1);
}

.social-icons img {
    width: 50px;
    margin: 0 10px;
}

.reservar-btn {
    padding: 10px 30px;
    margin-right: 100px;
    font-size: 16px;
    background-color: #bd965c;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease;
}

.reservar-btn:hover {
    color: #483729;
    transform: scale(1.1);
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    font-family: 'Montserrat';
    line-height: 40px;
    font-size: 25px;
    color: #483729;
    text-decoration: none;
}

nav ul li a:hover {
    color: #bd965c;
    text-decoration: underline;
}

main {
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-box {
    animation: fadeIn 0.5s ease;
}

/* Sección del video. */

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-encima {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

.video-encima h1 {
    font-family: 'Playfair Display';
    font-size: 65px;
    color: #ffffff;
}

.video-encima h1:hover {
    transform: scale(1.25);
}

.video-encima h3 {
    font-family: 'Montserrat';
    font-size: 30px;
    color: #ffffff;
    text-align: center;
}

.video-encima h4 {
    font-family: 'Montserrat';
    font-size: 25px;
    color: #ffffff;
    text-align: center;
}

#reservarMesaBtn {
    padding: 15px 25px;
    font-size: 22px;
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reservarMesaBtn:hover {
    background-color: #bd965c;
    transform: scale(1.1);
}

/* Información del resturante. */
.restaurante {
    text-align: center;
    margin: 40px 0;
}

.restaurante h2 {
    font-family: 'Montserrat';
    font-size: 30px;
    color: #bd965c;
}

.restaurante h1 {
    font-family: 'Playfair Display';
    font-size: 45px;
    font-weight: bold;
}

.restaurante p {
    font-family: 'Montserrat';
    font-size: 20px;
    color: #5a5858;
    line-height: 30px;
}

.info-button {
    font-family: sans-serif;
    font-size: 18px;
    display: inline-block;
    padding: 10px 20px;
    margin: 20px;
    background-color: #bd9653;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.info-button:hover {
    background-color: #ffffff;
    color: #bd965c;
    border: 1px solid #bd965c;
    transform: scale(1.1);
}

/* Sección de alta cocina. */
.alta-cocina {
    background-color: #f2f1ed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
}

.alta-cocina-content {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.alta-cocina-images {
    position: relative;
    margin-right: 30px;
}

.alta-cocina-img {
    width: 100%;
    margin-bottom: 10px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.alta-cocina-img.active {
    display: block;
    opacity: 1;
}

.icono {
    position: absolute;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
}

.flecha-izda {
    left: 10px;
}

.flecha-der {
    right: 10px;
}

.alta-cocina-text {
    max-width: 600px;
    text-align: left;
    margin-left: 50px;
}

.alta-cocina-text h1 {
    font-family: 'Playfair Display';
    font-size: 45px;
    color: #1f1f1f;
}

.alta-cocina-text p {
    font-family: 'Montserrat';
    font-size: 18px;
    color: #1f1f1f;
    line-height: 30px;
}

.carta-menu-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carta-menu-box {
    display: inline-block;
    padding: 15px 25px;
    background-color: #bd965c;
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carta-menu-box:hover {
    background-color: #ffffff;
    color: #bd965c;
    border: 1px solid #bd965c;
    transform: scale(1.1);
}

/* Sección de vinos. */
.vinos-expertos {
    background-image: url(/imagenes/carta_vinos.jpg);
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    color: white;
    text-align: center;
}

.vinos-content h1 {
    font-family: 'Playfair Display';
    font-size: 45px;
}

.vinos-content h1:hover {
    transform: scale(1.25);
}

.vinos-content p {
    font-family: 'Montserrat';
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.reserva-vinos {
    display: inline-block;
    padding: 15px 30px;
    margin: 30px;
    background-color: #bd965c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.reserva-vinos:hover {
    background-color: #ffffff;
    color: #bd965c;
    border: 1px solid #bd965c;
    transform: scale(1.1);
}

/* Reseñas. */
.google-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background-color: rgb(230, 226, 223);
}

.google-logo-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.google-logo-title img {
    width: 200px;
    margin-bottom: 10px;
}

.google-logo-title h1 {
    font-family: 'Playfair Display';
    font-size: 45px;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.review-box {
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    min-height: 150px;
    text-align: left;
}

.review-text {
    font-size: 14px;
    font-family: sans-serif;
    margin-bottom: 10px;
}

.review-author {
    font-size: 12px;
    font-style: italic;
    color: #555;
}

.agregar-reseña {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
    text-align: center;
}

.agregar-reseña h2 {
    font-size: 32px;
    font-family: 'Playfair Display';
    margin-bottom: 20px;
}

#nuevaReseña {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.agregar-reseña-btn {
    padding: 10px 20px;
    background-color: #bd965c;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.agregar-reseña-btn:hover {
    background-color: #ffffff;
    color: #bd965c;
    border: 2px solid #bd965c;
    transform: scale(1.1);
}

/* Footer */

.footer {
    display: flex;
    justify-content: space-between;
    background-color: #483729;
    color: white;
    padding: 20px;
    position: relative;
    flex-wrap: wrap; 
}

.footer-left,
.footer-right {
    flex: 1;
    padding: 10px; 
}

.footer-left h5,
.footer-right h5 {
    font-family: 'Playfair Display';
    font-size: 25px;
    margin-bottom: 10px;
}

.contact-info p,
.horarios-info p {
    font-family: 'Montserrat';
    font-size: 17px;
    line-height: 1.5; 
}

.social-media {
    margin-top: 10px;
}

.social-media a {
    pointer-events: all;
}

.footer .social-media {
    z-index: 10;
}

.social-media img {
    width: 40px;
    margin: 0 10px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    color: #bbb;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 0; 
}

img:hover {
    filter: brightness(1.1);
    transform: scale(1.1);
}

/* Controles de audio. Lo puse porque no quiero que aprezca el reproductor. Lo integré en el header y le dí estilo. */
#audioGuaxara {
    display: none;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

#playPauseBtn {
    background-color: #bd965c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#playPauseBtn:hover {
    background-color: #483729;
}

#volumeControl {
    width: 100px;
    cursor: pointer;
}


/* RESPONSIVE.*/

/* Header no fijo para pantallas pequeñas (tablets y móviles) */
@media (max-width: 768px) {
    header {
        position: relative; 
        box-shadow: none; 
    }
}


@media (max-width: 1200px) {
    .logo-text {
        font-size: 50px;
    }

    .video-encima h1 {
        font-size: 45px;
    }

    .video-encima h3 {
        font-size: 25px;
    }

    .alta-cocina-text h1 {
        font-size: 35px;
    }

    .restaurante h1 {
        font-size: 35px;
    }

    .google-logo-title h1 {
        font-size: 35px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
    }

    .logo-header {
        width: 150px;
        height: 100px;
    }

    .logo-text {
        font-size: 40px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 20px;
    }

    .alta-cocina-content {
        flex-direction: column;
        text-align: center;
    }

    .carta-menu-box {
        padding: 10px 20px;
        font-size: 16px;
    }

    
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 30px;
    }

    nav ul li a {
        font-size: 18px;
    }

    .footer-left, .footer-right {
        font-size: 14px;
    }
}


@media (max-width: 768px) {
    .footer {
        flex-direction: column; 
        align-items: center; 
    }

    .footer-left, .footer-right {
        text-align: center;
        padding: 10px 0; 
    }

    .footer-left h5, .footer-right h5 {
        font-size: 20px; 
    }

    .contact-info p, .horarios-info p {
        font-size: 15px; 
        line-height: 1.4; 
    }

    .social-media img {
        width: 30px; 
        margin: 5px; 
    }

    .footer-bottom {
        padding: 10px;
        position: relative; 
    }
}
