/* =========================================================
   HUGO'S BURGERS & VIDEOGAMES
   ========================================================= */
/* IMPORTS */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');



:root {
    --cream: #f3ead8;
    --dark: #151515;
    --red: #c83b32;
    --yellow: #f2c94c;
    --grey: #262626;
    --light-grey: #ded6c5;

    --max-width: 1200px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: #a82f28;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 5%;

    background: var(--cream);

    border-bottom: 1px solid rgba(0,0,0,.15);
}


/* LOGO */

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: .08em;
    font-family: Anton, sans-serif;
    color:#a82f28;
}

.logo-sub {
    font-size: .8rem;
    font-weight: 100;
    letter-spacing: .3em;
    font-family: Anton, sans-serif;
    color:#a82f28;
}


/* NAV */

.nav {
    display: flex;
    gap: 30px;

    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .1em;
}

.nav a {
    transition: color .2s;
}

.nav a:hover {
    color: var(--red);
}


/* MOBILE MENU BUTTON */

.menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 1.8rem;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    
        
    background-color: var(--red);
        url("hero.jpg");

    background-size: cover;
    background-position: center;

    
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: var(--max-width);

    width: 100%;

    margin: auto;

    padding: 80px 5%;
    color: var(--cream);
}


.eyebrow {
    margin-bottom: 15px;
    font-family: Anton, sans-serif;
    font-size: .95rem;

    letter-spacing: .22em;
}


.hero h1 {
    max-width: 700px;

    margin-bottom: 25px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: .92;

    font-weight: 900;
}


.hero-text {
    max-width: 480px;

    margin-bottom: 35px;

    font-size: 1.15rem;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 16px 35px;

    background-color: var(--cream);
    font-size: .8rem;
    font-weight: bold;
    color: #a82f28;
    letter-spacing: .15em;

    /* Propiedades del fondo preparadas para cuando aparezca la imagen */
    background-position: center 70%;
    background-repeat: no-repeat;
    background-size: 100%; /* O 'contain' si prefieres que la imagen no se recorte */
        /* Agrupamos todas las transiciones en una sola regla */
    transition: 
        transform .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.button:hover {
    background-color: black; /* Servirá de fondo si la imagen tiene transparencias */
    background-image: url("nesmando.png");
    color: var(--cream);
    transform: translateY(-3px);
}



/* =========================================================
   INTRO
   ========================================================= */

.intro {
    max-width: 800px;

    margin: auto;

    padding: 120px 30px;

    text-align: center;
}


.intro h2 {
    margin-bottom: 25px;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: .95;
}


.intro p:last-child {
    max-width: 600px;

    margin: auto;

    font-size: 1.1rem;
}


/* =========================================================
   MENU
   ========================================================= */

.menu-section {
    padding: 100px 5%;

    background: white;
}


.section-heading {
    max-width: var(--max-width);

    margin: auto auto 50px;
}


.section-heading h2 {
    font-size: clamp(3rem, 6vw, 5rem);

    line-height: .9;
}


/* TABS */

.menu-tabs {
    max-width: var(--max-width);

    margin: 0 auto 50px;

    display: flex;
    gap: 10px;

    flex-wrap: wrap;
}


.tab {
    padding: 12px 20px;

    border: 1px solid var(--dark);

    background: transparent;

    cursor: pointer;

    font-size: .75rem;
    font-weight: bold;

    letter-spacing: .1em;
}


.tab.active,
.tab:hover {
    background: var(--dark);
    color: white;
}


/* MENU GRID */

.menu-grid {
    max-width: var(--max-width);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 0 60px;
}


.menu-item {
    padding: 25px 0;

    border-bottom: 1px solid var(--light-grey);
}


.menu-item-header {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.menu-item h3 {
    font-size: 1.1rem;
}


.price {
    font-weight: bold;
    white-space: nowrap;
}


.menu-item p {
    margin-top: 5px;

    color: #666;

    font-size: .9rem;
}


/* =========================================================
   DINER
   ========================================================= */

.diner-section {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;
}


.diner-image {
    min-height: px;
}


.image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;
    background-image: url("comida.jpeg");
    background-size: 100%;
    color: white;

    font-size: .7rem;

    letter-spacing: .2em;
}


.diner-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 10%;
}


.diner-content h2 {
    margin-bottom: 30px;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .9;
}


.diner-content p {
    margin-bottom: 20px;

    color: #555;
}


.text-link {
    margin-top: 15px;

    font-weight: bold;

    font-size: .8rem;

    letter-spacing: .1em;
}


/* =========================================================
   ARCADE
   ========================================================= */

.arcade-section {
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: var(--dark);

    color: white;
}


.arcade-content {
    padding: 80px 20px;
}


.arcade-content h2 {
    margin-bottom: 25px;

    font-size: clamp(4rem, 10vw, 9rem);

    line-height: .8;
}


.arcade-content p {
    max-width: 500px;

    margin: auto auto 40px;

    color: #bbb;
}


.arcade-decoration {
    display: flex;

    flex-direction: column;

    gap: 5px;

    font-family: monospace;

    letter-spacing: .2em;
}


.arcade-decoration strong {
    font-size: 2rem;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    max-width: var(--max-width);

    margin: auto;

    padding: 120px 5%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}


.contact-section h2 {
    margin-bottom: 25px;

    font-size: clamp(4rem, 8vw, 8rem);

    line-height: .8;
}


.contact-address {
    font-size: 1.2rem;
}


.contact-info {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;
}


.contact-info h3 {
    margin-bottom: 15px;

    font-size: .75rem;

    letter-spacing: .15em;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 50px 5%;

    background: var(--dark);

    color: white;

    text-align: center;
}


.footer-logo {
    margin-bottom: 20px;
    font-family: Anton, sans-serif;
    color: #a82f28;
    font-size: 3rem;
    font-weight: 200;

    letter-spacing: .1em;
}


.footer-logo span {
    display: block;
    font-family: Anton, sans-serif;

    font-size: .55rem;

    letter-spacing: .2em;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .header {
        min-height: 75px;
    }

    .nav {
        position: absolute;

        top: 75px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        gap: 0;

        background: var(--cream);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 18px 5%;

        border-bottom: 1px solid rgba(0,0,0,.1);
    }

    .menu-button {
        display: block;
    }


    .hero {
        min-height: 650px;
    }


    .menu-grid {
        grid-template-columns: 1fr;
    }


    .diner-section {
        grid-template-columns: 1fr;
    }

    .diner-image {
        min-height: 450px;
    }


    .contact-section {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-info {
        grid-template-columns: 1fr;
    }

}
