* {   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

:root {
    /* Colors */
    --white-color: #fff;
    --dark-color: #252525;
    --dark-color-op: #352929;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --op-secondary-color: #b4701865;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;

    /* Font size */
    --font-size-xs: 0.77rem;
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-nml: 1.25rem;
    --font-size-l: 1.5rem;
    --font-size-ll: 1.8rem;
    --font-size-xl: 2em;
    --font-size-xxl: 2.3rem;

    /* Font weight */ 
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border radius */
    --border-radius-s: 8px;
    --border-radius-xs: 14px;
    --border-radius-m: 30px;
    --border-radius-xm: 32%;
    --border-radius-l: 50%;

    /* Site max width */ 
    --site-max-width: 1300px;
}

html {
    max-width: 100%;
    scroll-behavior: smooth;
}

/* Styling for whole site */

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background-color: none;
}

img {
    height: auto;
    width: 100%;
}

body {
    overflow-x: hidden;
}

/* mantén los elementos con [hidden] ocultos si los usás */
[hidden] { display: none; }

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-title {
    text-align: center;
    padding: 60px 0 70px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
}


/* Navbar styling */
header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--primary-color);
    padding: 8px 25px;
    
}

header .navbar {
    display: flex;
    padding: 15px 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* evita que los items bajen de línea */
}


.nav-logo .logo-text {
    font-size: clamp(var(--font-size-nml), 2vw, var(--font-size-ll));
    color: var(--light-pink-color);
    text-shadow: 2px 2px 4px #ffffffB3;
    font-weight: var(--font-weight-bold);
    flex-wrap: nowrap;
}

.nav-list {
    display: flex;
    gap: 15px;
}

.nav-link {
    padding: 10px;
    color: var(--white-color);
    font-size: clamp(var(--font-size-n), 1.25vw, var(--font-size-m));
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-m);
    overflow: hidden;
    flex-wrap: nowrap;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.navbar :where(#close_navbar-button, #open_navbar-button) {
    display: none;
}
/* Navbar section ENDS */


/* Hero section styling */
.hero-section {
    min-height: 100dvh;
    background: var(--primary-color);
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100dvh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-details .title {
    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    font-family: "Miniver", sans-serif;
}

.hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    text-wrap: balance;
}

.hero-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-n);
    text-wrap: pretty;
}

.hero-details .buttons {
    display: flex;
    gap: 23px;
}

.hero-details .button {
    padding: 15px 30px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-details .button:hover,
.hero-details .contact-us {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-details .contact-us:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-image-wrapper {
    max-width: 400px;
    margin-right: 30px;
}

.hero-image-wrapper img {
    border-radius: var(--border-radius-l);
}

img {
    opacity: .84;
}
/* Hero section ENDS */


/* About section styling */
.about-section {
    background: var(--white-color); 
    padding: 80px 20px;
}

.about-list {
    height: auto;
    max-width: 820px;
    margin: 0 auto;
    padding: 10px;
}

.about-item {
    background: var(--op-secondary-color);
    position: relative;
    list-style: none;
    border-radius: var(--border-radius-xs);
    box-shadow: 0 3px 4px #0005;
    overflow: hidden;
    margin-bottom: 40px;
    display: block;
    transform: scale(0.6) translateX(0);
    animation: entrar 1.2s ease forwards;
    animation-timeline: view();
    animation-range: cover 5% cover 40%;
    transition: transform 0.6s ease, box-shadow 0.6s ease; 
}


.about-item:hover {
    transform: scale(1.04);
    box-shadow: 0 3px 14px 0 #0005;
}

/* primera card → marrón/anaranjado oscuro */
.about-item:nth-child(2) {
    background: var(--light-pink-color);
}

.about-item:nth-child(even) .about-card {
    flex-direction: row-reverse;
    margin: 0 0 0 15px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 15px;
}

.about-image-wrapper {
    margin: 0;
    flex-shrink: 0;
}

.about-image-wrapper img {
    width: 300px;
    height: 220px;
    display: block;
}

.about-text {
    font-style: italic;
}

.about-text .card-title {
    font-size: 24px;
    margin: 0;
}

.about-text .text {
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.about-section .social-link-list {
    font-family: "Font Awesome 7 Brands";
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 10px;
}

.about-section .social-link-list .social-link {
    color: var(--primary-color);
    font-size: var(--font-size-l);
    transition: 0.2 ease;
}

.about-section .social-link-list .social-link:hover {
    color: var(--secondary-color);
}
/* About section ENDS */


/* Menu Styling */
.menu-section {
    color: var(--white-color);
    background: var(--dark-color);
    padding: 50px 0 100px;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

.menu-item  {
    max-width: 360px;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

.menu-image-wrapper img {
    width: 70%;
    margin-bottom: 15px;
}

.menu-item:nth-child(4) .menu-image-wrapper img,
.menu-item:nth-child(6) .menu-image-wrapper img {
    transform: scale(1.15);
}

.menu-item:nth-child(4) .text, 
.menu-item:nth-child(6) .text {
    max-width: 320px;  
}

.menu-item .name {
    margin: 12px 0;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);
    text-align: center;
}

.menu-item .text {
    font-size: var(--font-size-n);
    text-align: center;
    justify-content: center;
    max-width: 340px;
    margin: 0 auto;    /* centra horizontalmente el texto */
}

/* Menu section ENDS */


/* Testimonials styling */
.testimonials-section {
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

.testimonial {
    padding: 35px;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

.slider-wrapper {
    overflow: hidden;
    margin: 0 60px 50px;
}

.user-image-wrapper img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: var(--border-radius-l);
}

.testimonial .user-name {
    margin-bottom: 16px;
    font-size: var(--font-size-m);
}

.testimonial .feedback {
    line-height: 25px;
    max-width: 285px; 
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    opacity: 1;
    background: var(--secondary-color);
}

.swiper-slide-button {
    color: var(--secondary-color);
    transition: 0.3s ease;
    margin-top: -70px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--primary-color);
}

/* ---Testimonials section ENDS--- */


/* Gallery section styling */
.gallery-section {
    color: var(--dark-color);
    background-color: var(--white-color);
    padding: 50px 0 100px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    grid-template-rows: repeat(2, 260px);  /* 2 filas con altura fija */
    gap: 32px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-s);
}

.gallery-image-wrapper img {
    max-width: 420px;
    max-height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: 0.3s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.17);
}
/* Gallery section ENDS */


/* location section styling */
.location-section {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0) 100%), url('images/nevada-medium.jpg') top/cover fixed no-repeat;
    padding: 50px 0 100px;
}

.location-section .section-content {
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: center;
}

.location-section .section-title {
    padding-bottom: 10px;
}

.location-text {
    font-size: var(--font-size-l);
    font-weight: 500;
    text-align: center;
}

.location-text span {
    color: var(--secondary-color);
    font-weight: 600;
}

.map-container {
    width: 75%;
    height: clamp(240px, 480px, 600px);
    border: 2px solid #ccc;
    overflow: hidden;
    box-shadow: 0 6px 15px #000a;
    border-radius: var(--border-radius-m);
}

iframe {
    width: 100%;
    height: 100%;
    max-width: 1000; 
    max-height: 1550; 
    border: none; 
}

/* Location section ENDS */


/* Contact section styling */
.contact-section {
    background: var(--white-color);
    padding: 50px 0 100px;
}

.contact-section .section-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-info {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

.contact-info i {
    font-size: var(--font-size-m);
}

.contact-form {
    max-width: 50%;
}

.contact-form .form-input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    outline: none;
    margin-bottom: 10px;
    background: var(--white-color);
    border-radius: var(--border-radius-s);
    border: 1px solid var(--medium-gray-color)   
}

.contact-form .form-input:focus {
    border-color: var(--secondary-color)
}

.contact-form textarea.form-input {
    height: 100px;
    padding: 12px; 
    resize: vertical;
}

.contact-form .submit-button {
    padding: 10px 26px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    background: var(--primary-color);
    border-radius: var(--border-radius-m);
    border: 1px solid var(--primary-color);
    transition: 0.3s ease;
}

.contact-form .submit-button:hover {
    color: var(--primary-color);
    background: transparent;
}

/* Contact section ENDS */


/* Footer section styling */
.footer-section {
    padding: 20px 0;
    background: var(--dark-color);
} 

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: var(--white-color);
    transition: 0.2s ease;
}

.footer-section :where(.copyright-text, .policy-text) {
    font-size: var(--font-size-xs);
    max-width: 40%;
}

.footer-section .social-link-list {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    gap: 25px;
}

.footer-section .social-link-list .social-link {
    font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: var(--secondary-color);
}  

.policy-link {
    margin: 0 10px;
}

/* Footer section ENDS */


/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px) {
    :focus-visible {
        outline-offset: 4px;
    }

    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-track {
        background: var(--white-color);
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--dark-color);
    }
    
    header {
        padding: 0 10px;
    }
    .nav-link {
        padding: 9px 5px;
    }

    /* Ajuste para el logo */
    .nav-logo .logo-text {
        margin-left: 3px; /* o padding-left: 20px; según prefieras */
    }

    .hero-image-wrapper img {
        max-width: 500px;
    }

    .location-section {
        background: var(--light-pink-color);
    }

    .location-section .section-content {
        color: var(--dark-color);
    }

    .location-text span {
    color: var(--primary-color);
    font-weight: 600;
}

    .footer-section .policy-text .policy-link:last-child {
        display: block;
        margin-top: 5px;
    }
}


/* Responsive media query code for max width 900px */
@media screen and (max-width: 900px){
    :root {
        --font-size-m: 1rem;
        --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    header .navbar {
        padding: 17px 6px;
    }

    .nav-list {
        display: flex;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 70px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }

    body.show-mobile-menu .navbar .nav-list {
        left: 0;
    }

    .navbar :where(#close_navbar-button, #open_navbar-button) { 
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #close_navbar-button {
        background-color: var(--white-color);
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .navbar #open_navbar-button {
        color: var(--white-color);
        background-color: var(--dark-color);
    }

    .nav-link {
        color: var(--dark-color);
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-l);
    }

    .hero-section {
        padding-top: 30px; /* altura aproximada del header en mobile */
    }

    .hero-image-wrapper {
        max-width: 200px;
        margin-right: 0;
    }

    .hero-section .section-content {
        gap: 5px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-details .title {
        font-size: var(--font-size-xxl);
    }

    .hero-details .subtitle {
        font-size: var(--font-size-l);
    }

    .hero-details .description {
        font-size: var(--font-size-s);
    }

    .hero-details :is(.subtitle, .description), .about-section .about-details, .contact-section .contact-form{
        max-width: 100%;
    }

    .hero-details .buttons {
        justify-content: center;
        gap: px;    
    }

    .about-details .section-title {
        margin-top: 0;
    }

    .about-section .section-content {
        gap: 30px;
        flex-direction: column-reverse;
    }

    .about-item {
        pointer-events: none;
    }
    
    .about-item:hover {
        transform: none;
        box-shadow: 0 3px 14px 0 #0005;
    }

    .menu-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 3 columnas iguales */
        gap: 32px;
    }

    .menu-item {
        margin-bottom: 50px;
    }    

    .menu-image-wrapper img {
        max-width: 200px;
    }

    .gallery-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 3 columnas iguales */
        grid-template-rows: repeat(3, 250px);  /* 2 filas con altura fija */
        gap: 32px;
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;
    }

    .footer-section :where(.copyright-text, .policy-text) {
        max-width: 35%;
    }

    .footer-section .copyright-text .break-line {
        display: block;
    }

    .footer-section .policy-text .policy-link {
        margin: 5px 0 0 30px;
        display: inline-block;
        white-space: nowrap;
    }
}


/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {
    .hero-details .button {
        font-size: var(--font-size-s);
        white-space: nowrap; /* fuerza a que no haga salto de línea */
        padding: 10px 12px;
    }

    .about-list {
        padding: 0;
    }

    /* --- Opción A: FORZAR imagen arriba, texto abajo --- */
    .about-card {
        display: flex;            /* ya lo usabas en desktop, lo mantenemos */
        flex-direction: column;   /* imagen arriba, texto debajo */
        align-items: center;      /* centra la imagen y el texto */
        gap: 12px;                /* separación vertical entre imagen y texto */
        text-align: center;
        margin: 0;       /* texto centrado para mejor lectura en móvil */
    }

    /* Anulamos el row-reverse para los pares */
    .about-item:nth-child(even) .about-card {
        flex-direction: column;
        margin: auto;   /* importante: anular row-reverse que tenías */
    }

    /* Ajuste del wrapper y la imagen */
    .about-image-wrapper {
        width: 100%;
        display: block;
        margin: 0 auto;           /* asegura centrado */
    }

    .about-image-wrapper img {
        width: 100%;
        height: auto;             /* mantiene proporción; o usar aspect-ratio si querés fijo */
        max-width: 420px;         /* opcional, limita tamaño si la pantalla es ancha */
        aspect-ratio: 16/9;       /* opcional: mantiene una relación consistente */
        object-fit: cover;
        display: block;
    }

    /* Texto: mejor legibilidad en móvil */
    .about-text {
        padding: 0 12px;
        font-size: var(--font-size-s);
    }

    .about-text .text {
        text-align: center;
        padding: 6px 0 12px;
    }

    
    .section-title {
        padding: 50px;
    }

    .hero-image-wrapper {
        max-width: 150px;
    }

    .menu-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 3 columnas iguales */
        gap: 24px;
    }
    
    .menu-item {
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .menu-item, .gallery-item {
        max-width: 100%;
    }

    .menu-image-wrapper img {
        width: 180px;
        height: 180px;   /* 🔑 fija altura uniforme */
        object-fit: contain; /* mantiene proporción sin deformar */
        transform: none; /* anula cualquier escala heredada */
    }

    .menu-item .name {
        margin-top: 0;
    }

    /* aseguramos que los items 4 y 6 no sobresalgan */
    .menu-item:nth-child(4) .menu-image-wrapper img,
    .menu-item:nth-child(6) .menu-image-wrapper img {
        transform: none !important;
    }

    .testimonials-section .slider-wrapper {
        margin: 0 0 30px;
    }

    .testimonials-section .swiper-slide-button {
        display: none;
    }

    .gallery-section .section-content {
        padding: 0 20px;
    }

    /* 2) Limitar ancho real de la grilla y centrarla como bloque */
    .gallery-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: min(100%, 400px);
        gap: 8px;   /* ancho explícito: hasta 360px o 100% si es menor */
        margin-inline: auto;       /* centra horizontalmente el bloque .gallery-list */
        justify-items: center;     /* centra cada item dentro de su celda (eje inline) */
    }

    /* 3) Hacer que el item realmente centre su contenido */
    .gallery-item {
        display: grid;             /* activa place-items */
        place-items: center;       /* centra contenido en ambos ejes dentro de la celda */
        width: 100%;
        height: 240px;
    /* max-width: 100%; ya lo tenés */ 
    }

    .gallery-item:hover .gallery-image-wrapper img {
        transform: none;
        cursor: auto;
    }

    .gallery-image-wrapper {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    /* 5) Imagen adaptada al contenedor, sin deformar */
    .gallery-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-s);
    }

    .menu-item:nth-child(2) .menu-image-wrapper img,    
    .menu-item:nth-child(4) .menu-image-wrapper img,
    .menu-item:nth-child(6) .menu-image-wrapper img {
        margin-bottom: 0;
    }


    .map-container {
        width: 75%;
        max-height: 300px; /* mismo alto que el iframe */
    }

    iframe {
        width: 100%;
        height: 100%;
    }

    .footer-section .section-content {
        flex-direction: column;
        gap: 15px;
    }

    /* Reseteo de lo que hicimos en fullscreen */
    .footer-section .social-link-list {
        position: static;
        transform: none;
        left: auto;
    }

    .footer-section :where(.copyright-text, .policy-text) {
        max-width: 100%;
        text-align: center;
    }

    .footer-section .policy-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .footer-section .policy-text .policy-link {
        display: block;
        margin: 5px 0;
    }

    
}

/* ----- Animaciones ------ */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: scale(0.9);
        max-width: 300px;
        flex-direction: column;   /* imagen arriba, texto debajo */
    }
    to {
        opacity: 1;
        transform: scale(1);
        flex-direction: row;
        max-width: 820px
    }
}

@keyframes entrar {
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}