* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #C9A962;
    --text-secondary: #D4AF37;
    --bg-card: #21211F;
    --border-img-card: #34312E;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0A0A0A;
    color: #FFFFFF;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1,
h2 {
    font-family: "Cormorant", serif;
}

h3,
h4 {
    font-family: "Inter", sans-serif;
}

p,
small,
a {
    font-family: "Inter", sans-serif;
}

.img-high-res {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.img-high-res.loaded {
    opacity: 1;
}

.container {
    padding: 0 1em;
}

.text-container {
    text-align: center;

    h3 {
        font-size: 1.5em;
        font-weight: 400;
        letter-spacing: 1px;
        padding-bottom: 12px;
    }

    .line {
        width: 120px;
        height: 2px;
        background: rgba(212, 175, 55, 0.4);
        margin: 0 auto;
    }
}

.menus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 8em 4em;
    margin: 8rem 0 5rem;

    .menu {
        max-width: 340px;
        width: 100%;
        background: var(--bg-card);
        border-radius: 16px;
        padding: 20px 20px 25px;
        display: flex;
        flex-direction: column;
        align-items: stretch;

        .wrapper {
            margin-top: -100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            flex-grow: 1;
            width: 100%;
        }

        .food-image {
            width: 180px;
            position: relative;

            img {
                width: 100%;
                aspect-ratio: 1/1;
                object-fit: cover;
                border-radius: 50%;
                border: 4px solid var(--border-img-card);
                transition: transform 0.3s ease;
            }

            .img-high-res {
                box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
            }
        }

        .text-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 1em;
            flex-grow: 1;
            width: 100%;

            h4 {
                font-size: 1.2em;
            }

            .desc {
                font-weight: 300;
                line-height: 1.4;
                flex-grow: 1;
            }

            .price {
                font-weight: 600;
                color: var(--text-primary);
                font-size: 1.4em;
            }

            .cta-whatsapp {
                display: block;
                border: 1px solid var(--text-primary);
                color: var(--text-primary);
                border-radius: 8px;
                padding: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                transition: background 0.3s ease, color 0.3s ease;
            }

            .cta-whatsapp:hover {
                background: var(--text-primary);
                color: #FFFFFF;
            }
        }
    }

    .menu:hover {
        transform: translateY(-15px);
    }

    .menu:hover>.wrapper .food-image .img-high-res {
        transform: scale(1.05);
    }
}

/* Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

header {
    .hero {
        width: 100%;
        height: 40vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

        .wrapper-img {
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            z-index: 1;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .hero-content {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;

            .logo {
                padding: 10px;
                border: 1px solid rgba(212, 175, 55, 0.6);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    opacity: 0.6;
                }
            }

            .hero-text {
                text-align: center;

                h1 {
                    font-size: 3.2em;
                    color: linear;
                    background: linear-gradient(to top, #8A7024, #D4AF37);
                    -webkit-background-clip: text;
                    background-clip: text;
                    color: transparent;
                    margin-bottom: 4px;
                }

                p {
                    text-transform: uppercase;
                    font-weight: 200;
                    font-size: 0.8em;
                    letter-spacing: 2px;
                }
            }
        }
    }

    .hero::before {
        content: '';
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .header-content {
        text-align: center;
        margin: 3em 0 2em;

        small {
            text-transform: uppercase;
            color: var(--text-primary);
            letter-spacing: 2px;
            font-size: 0.7em;
            font-weight: 300;
        }

        h2 {
            font-size: 2.2em;
            letter-spacing: 1px;
            margin-top: 2px;
        }
    }
}

main {
    .navigation {
        padding: 1.5em 2em;
        position: sticky;
        top: 0;
        z-index: 999;
        overflow: auto;
        background: #0A0A0A;
        scrollbar-width: none;

        a {
            display: block;
            color: rgba(245, 245, 240, 0.6);
            padding: 8px 18px;
            border-radius: 30px;
            width: max-content;
            transition: background 0.3s ease, color 0.3s ease;
        }

        a:hover {
            color: var(--text-secondary);
        }

        .nav-items {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .active {
            color: var(--text-secondary);
            background: rgba(201, 169, 98, 0.2);
            border: 1px solid var(--text-secondary);
        }
    }

    .line-main {
        width: 100%;
        height: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0.5rem 0 4em;
    }

    .container>section {
        scroll-margin-top: 90px;
    }


}

footer {
    margin: 5em 0 0;
    padding: 3em 3em 0;
    background: var(--bg-card);

    .info-footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2em;

        p,
        a,
        li {
            color: rgba(245, 245, 240, 0.8);
            font-size: 1em;
            font-weight: 500;
        }

        address {
            font-size: 0.9em;
        }

        .title {
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 1em;

            span {
                font-weight: 400;
                font-size: 1.1em;
            }
        }

        .time {
            font-size: 1.1em;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-footer {

            ul {
                display: flex;
                flex-direction: column;
                gap: 10px;
                font-weight: 400;
            }
        }
    }

    .footer-end {
        margin: 3em 0 0;
        padding-top: 2em;
        border-top: 1px solid rgba(255, 255, 255, 0.1);

        .social-media {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1em;

            .icon {
                display: block;
                background: rgba(20, 20, 20, 0.4);
                border: 1px solid rgba(201, 169, 98, 0.3);
                color: rgba(255, 255, 255, 0.6);
                width: 42px;
                aspect-ratio: 1/1;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;

                svg {
                    transition: color 0.3s ease;
                }
            }

            .icon:hover {
                svg {
                    color: var(--text-primary);
                }
            }
        }
    }

    .accessibility-declaration{
        margin: 2em 0;
        a{
            display: flex;
            align-items: center;
            gap: 4px;
            justify-content: center;
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.7);

            img{
                width: 18px;
            }
        }
    }

    .copy {
        font-size: 0.9em;
        text-align: center;
        margin: 2em 0 0;
        color: rgba(255, 255, 255, .6);
        padding-bottom: 1em;
    }
}

.view-more-models {
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;

    h3 {
        font-weight: 500;
        font-size: 1em;
    }

    svg {
        width: 16px;
    }

    .next-model {
        border-radius: 30px;
        border: 1px solid #ffffff;

        a {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #FFF;
            padding: 8px 18px;
            font-size: 1em;
        }
    }

    .back-page {
        a {
            gap: 8px;
            color: rgba(255, 255, 255, 0.7);
            padding: 4px 18px;
            font-size: 0.9em;
            text-decoration: underline;
        }
    }
}