* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cta-whatsapp: rgba(110, 234, 65, 0.6);
}

body {
    background: #082F3A;
    color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

h1,
h3,
h4 {
    font-family: "Cormorant Garamond", sans-serif;
}

h2,
p {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.title-container {
    width: max-content;
    margin: 5rem auto 3rem;
    padding: 12px 120px;
    background: rgba(10, 52, 64, .8);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);

    h3 {
        font-size: 2.3em;
        font-weight: 500;
        font-style: italic;
    }

    .line {
        width: 1px;
        height: 1px;
        opacity: 0;
        background: #22D3EE;
        margin-top: 4px;
        transition: width 0.3s ease, opacity 0.3s ease;
    }

    .line.active {
        width: 100%;
        opacity: 1;
    }
}

.menus {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .menu {
        height: 280px;
        display: flex;
        align-items: center;
        justify-content: flex-start;

        .vertical-line {
            width: 2px;
            height: 100%;
            background: #fff;

            transform: scaleY(0);
            transform-origin: top;
            transition: transform 0.8s cubic-bezier(.22, 1, .36, 1), opacity 0.3s ease;
            opacity: 0;
        }

        .vertical-line.reveal-line {
            transform: scaleY(1);
            opacity: 1;
        }

        .food-image {
            position: relative;
            width: 280px;
            overflow: hidden;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            transform: translateX(-120px) scale(0.96);
            opacity: 0;
            filter: blur(6px);

            transition:
                transform 0.9s cubic-bezier(.22, 1, .36, 1),
                opacity 2s ease,
                filter 1s ease;

            .img-high-res {
                position: absolute;
                top: 0;
                right: 0;
                opacity: 0;
            }
        }

        .food-image.reveal {
            opacity: 1;
            transform: translateX(0) scale(1);
            filter: blur(0);
        }

        .text-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
            margin-left: 2rem;

            >* {
                opacity: 0;
                transform: translateX(-40px);
                transition: transform 0.6s ease,
                    opacity 0.5s ease;
            }

            >*.reveal {
                opacity: 1;
                transform: translateX(0);
            }

            .number,
            .cta-whatsapp {
                font-family: "Inter", sans-serif;
            }

            .number {
                --default-color: rgba(255, 255, 255, 0.6);
                width: 38px;
                height: 38px;
                border: 1px solid var(--default-color, #FFF);
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                color: var(--default-color, #FFF);
                font-size: 0.8em;
            }

            .info {
                h4 {
                    font-size: 1.8rem;
                    font-weight: 500;
                    margin-bottom: 6px;
                    line-height: 1;
                }

                .desc {
                    font-weight: 200;
                }
            }

            .price {
                color: #FBBF24;
                font-size: 1.2em;
            }

            .cta-whatsapp {
                display: flex;
                align-items: center;
                gap: 8px;
                color: var(--cta-whatsapp);
                padding: 8px 24px;
                border: 1px solid var(--cta-whatsapp);
                border-radius: 12px;

                transition: background 0.3s ease, color 0.3s ease, transform 0.6s ease, opacity 0.5s ease;

                .text-mobile {
                    display: none;
                }
            }
            .cta-whatsapp:hover{
                background: var(--cta-whatsapp);
                color: #FFF !important;
            }
        }

        .img-high-res.loaded {
            opacity: 1 !important;
        }
    }

    .menu.right {
        flex-direction: row-reverse;

        .food-image {
            display: flex;
            justify-content: flex-start;
            align-items: center;

            transform: translateX(120px) scale(0.96);

            .img-high-res {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
            }
        }

        .food-image.reveal {
            opacity: 1;
            transform: translateX(0) scale(1);
            filter: blur(0);
        }

        .text-content {
            align-items: flex-end;
            margin-right: 2rem;

            >* {
                opacity: 0;
                transform: translateX(40px);
                transition: transform 0.6s ease,
                    opacity 0.5s ease;
            }

            >*.reveal {
                opacity: 1;
                transform: translateX(0);
            }

            .info {
                text-align: end;

                h4 {
                    font-size: 1.8rem;
                    font-weight: 500;
                    margin-bottom: 4px;
                }

                .desc {
                    font-weight: 200;
                }
            }

            .price {
                color: #FBBF24;
                font-size: 1.2em;
            }

            .cta-whatsapp {
                display: flex;
                align-items: center;
                gap: 8px;
                color: var(--cta-whatsapp);
                padding: 8px 24px;
                border: 1px solid var(--cta-whatsapp);
                border-radius: 12px;

                transition: background 0.3s ease, color 0.3s ease, transform 0.6s ease, opacity 0.5s ease;
            }
            .cta-whatsapp:hover{
                background: var(--cta-whatsapp);
                color: #FFF !important;
            }
        }
    }
}

header {
    .hero {
        position: relative;
        width: 100%;
        height: 50vh;

        .img-high-res {
            position: absolute;
            inset: 0;
            z-index: 1;
            opacity: 0;
        }

        .img-high-res.loaded {
            opacity: 1;
        }

        .img-wrapper {
            width: 100%;
            position: absolute;
            inset: 0;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                max-height: 50vh;
            }
        }

        .hero-content {
            position: relative;
            width: max-content;
            height: 100%;
            z-index: 3;
            color: #FFF;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0 3em;

            h1 {
                font-weight: 500;
                font-size: clamp(2em, 4.2vw, 3.2em);
                text-transform: uppercase;
            }

            .subtitle {
                text-transform: uppercase;
                font-size: 0.9em;
                color: #D1D5DB;
            }
        }
    }

    .hero::before {
        content: '';
        background: linear-gradient(to right, #0A3D4A, rgba(10, 61, 74, 0.2));
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 2;
    }

    h2 {
        text-align: center;
        font-size: 1.8em;
        font-weight: 500;
        margin: 2em 0;
    }
}

main {
    .navigation {
        padding: 1em 2em;
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #082F3A;
        overflow-x: auto;
        scrollbar-width: none;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .2);

        ul {
            display: flex;
            gap: 1.8em;

            a {
                display: block;
                color: rgba(255, 255, 255, 0.4);
                font-family: "Cormorant Garamond", sans-serif;
                font-size: 1.2em;
                transition: color 0.3s ease;
            }

            li:last-child {
                padding-right: 1em;
            }

            .line {
                width: 1px;
                height: 2px;
                opacity: 0;
                background: #22D3EE;
                margin-top: 4px;
                transition: width 0.3s ease, opacity 0.3s ease;
            }

            a.active {
                color: #FFFFFF;
            }

            a.active .line {
                width: 100%;
                opacity: 1;
            }
        }
    }

    .container {
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 10px;
        overflow: hidden;

        >section {
            scroll-margin-top: 60px;
        }

        #drinks {
            .food-image {
                width: 120px;
            }

            .natural-juice {
                width: 100px;
            }
        }
    }
}

footer {
    margin: 4rem 0 0;
    background: #0A3440;
    padding: 3em 1em 10px;

    .logo {
        text-align: center;

        small {
            text-transform: uppercase;
            letter-spacing: 4px;
            color: rgba(255, 255, 255, 0.3);
            font-size: 0.75em;
            font-family: "Montserrat", sans-serif;
        }

        .name {
            font-family: "Cormorant Garamond", sans-serif;
            font-size: 2.5em;
            text-transform: uppercase;
            font-weight: 700;
        }
    }

    .info-restaurant {
        margin: 3em auto;
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 4em;
        max-width: 1100px;
        justify-content: center;
        align-items: flex-start;

        section {
            display: flex;
            align-items: flex-start;
            gap: 15px;

            .icon-footer {
                width: 42px;
                height: 42px;
                border: 1px solid rgba(255, 255, 255, .3);
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-shrink: 0;
                margin-top: 4px;
            }

            .text-content {
                display: flex;
                flex-direction: column;
                gap: 8px;

                h4 {
                    font-size: 1.1em;
                    font-family: "Montserrat", sans-serif;
                    font-weight: 400;
                    text-transform: uppercase;
                    color: rgba(255, 255, 255, 0.5);
                    margin-bottom: 2px;
                }

                p {
                    font-size: 1em;
                    margin-bottom: 4px;
                }

                a {
                    color: #FFF;
                    font-family: "Montserrat", sans-serif;
                }
            }
        }

        section:first-child {
            max-width: 320px;
        }
    }

    .accessibility-declaration {
        margin: 1em 0 2rem;

        a {
            display: flex;
            align-items: center;
            gap: 4px;
            justify-content: center;
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.7);
            font-family: "Inter", sans-serif;

            img {
                width: 18px;
            }
        }
    }

    .copy {
        text-align: center;
        font-size: 0.8em;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 2em;
    }
}

.view-more-models {
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;

    h3,
    a {
        font-family: "Montserrat", sans-serif;
    }

    h3 {
        font-weight: 500;
        font-size: 1em;
    }

    svg {
        width: 16px;
    }

    .next-model {
        background: #000B15;
        border-radius: 30px;

        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.5);
            padding: 4px 18px;
            font-size: 0.9em;
            text-decoration: underline;
        }
    }
}



@media (max-width: 768px) {
    footer {
        .info-restaurant {
            grid-template-columns: 1fr;
            width: max-content;
            margin: 3em auto;
            gap: 2.5em;
        }
    }
}

@media (max-width: 520px) {
    .title-container {
        padding: 12px 60px;
    }

    header {
        .hero {
            .hero-content {
                align-items: flex-start;

                .logo {
                    img {
                        width: 28px;
                    }
                }

                h1 {
                    margin-top: -5px;
                }

                .subtitle {
                    font-size: 0.8em;
                }
            }

        }

    }

    .menus {

        .menu,
        .menu.right {
            .food-image {
                width: 360px;

                img {
                    width: 240px;
                }
            }

            .text-content {
                margin: 0 1rem;
                font-size: 0.8em;

                .number {
                    width: 32px;
                    height: 32px;
                    font-size: 0.8em;
                }

                .info {
                    h4 {
                        font-size: 1.6rem;
                    }

                    .desc {
                        font-weight: 200;
                    }
                }

                .cta-whatsapp {
                    font-size: 1em;
                    padding: 4px 20px;
                    border-radius: 30px;

                    svg {
                        width: 20px;
                    }

                    .text-mobile {
                        display: flex;
                    }

                    .text-desktop {
                        display: none;
                    }
                }
            }
        }
    }

    main {
        #drinks {
            .menus {
                .menu {

                    .food-image {
                        width: 120px;

                        img {
                            width: 120px;
                        }
                    }

                    .natural-juice {
                        width: 100px;
                    }
                }
            }

        }
    }
}