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

:root {
    /* Colors */
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --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-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;
}

:focus-visible {
    outline-offset: 4px;
}

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

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

::-webkit-scrollbar-thumb {
    background-color: var(--dark-color);
}

.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);
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}


.nav-logo .logo-text {
    color: var(--white-color);
}

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

.nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    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);
}

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

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

.hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    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 {
    padding: 120px 0;
    background: var(--light-pink-color); 
}

.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-image-wrapper img {
    width: 420px;
    height: 330px;
    object-fit: cover;
    object-position: bottom;
    border-radius: var(--border-radius-xm);    
}

.about-details .section-title {
    padding: 0;
}

.about-details {
    max-width: 50%;
}

.about-details .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: var(--font-size-m);
}

.about-section .social-link-list {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.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);
    grid-template-rows: (2, auto);
    gap: 100px;
    justify-items: center;
    align-items: start;
}

.menu-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 15px;
    border-radius: var(--border-radius-l);
}

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

.menu-item .text {
    font-size: var(--font-size-m);
}
/* Menu section ENDS */


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

.testimonials-section .slider-wrapper {
    overflow: hidden;
    margin: 0 60px 50px;
    background: var(--light-pink-color);
}

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

.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;
}

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

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

.testimonials-section .swiper-slide-button: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, 250px);  /* 2 filas con altura fija */
    gap: 48px;
}

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

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

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.2);
}
/* 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: 480px; /* mismo alto que el iframe */
    border: 2px solid #ccc;
    overflow: hidden;
    box-shadow: 0 6px 15px #000a;
    border-radius: var(--border-radius-m);
}

iframe {
    width: 100%;
    height: 100%;
}
/* 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);
}  

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: var(--white-color);
}
/* Footer section ENDS */


/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px) {
    .nav-link {
        font-size: var(--font-size-n);
        padding: 10px 7px;
    }

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

    .menu-list {
        gap: 60px;
    }

    .menu-item {
        width: calc(100% / 3 - 60px);
    }    

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

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

    .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;
    }

    .nav-list {
        display: flex;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        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-image-wrapper img {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    .menu-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;
    }

    .menu-item {
        width: calc(100% / 2 - 30px);
        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) {
    .nav-logo .logo-text {
        font-size: var(--font-size-m);
    }
    
    .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-section {
        padding: 100px 0;
    }

    .about-details .text {
        line-height: 28px;
        margin: 30px 0 30px;
        text-align: center;
        font-size: var(--font-size-s);
    }

    .about-image-wrapper img {
        width: 32dvh;
        height: 25dvh;
        object-fit: cover;
        object-position: bottom;
        border-radius: var(--border-radius-xm);    
    }   
    
    .section-title {
        padding: 50px 0 40px;
    }

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

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

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

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

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

    .gallery-list {
        max-width: 400px;
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 3 columnas iguales */
        grid-template-rows: repeat(6, 220px);  /* 2 filas con altura fija */
        gap: 24px;
    }

    .gallery-item {
        justify-content: center;
        align-items: center;
    }

    .gallery-image-wrapper img {
        justify-content: center;
        align-items: center;
    }

    .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: 0;
    }

    .footer-section .policy-text .policy-link:last-child {
        margin-top: 0;
    }
}

