:root{
    --navy:#163b60;
    --deep:#0b2540;
    --sand:#f6f1e8;
    --paper:#fffaf2;
    --coral:#dc7a55;
    --gold:#d5a45b;
    --text:#1c2b37;
    --muted:#677681;
    --black:#282828;
    --shadow:0 26px 80px rgba(18,45,70,.16);
    --radius:24px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    color:var(--text);
    background:var(--paper);
    line-height:1.65;
    overflow-x:hidden;
}

body:before{
    content:"";
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at 10% 5%,rgba(220,122,85,.12),transparent 28%),
        radial-gradient(circle at 90% 30%,rgba(22,59,96,.11),transparent 32%);
    pointer-events:none;
    z-index:-2;
}

.cursor-glow{
    position:fixed;
    width:320px;
    height:320px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(213,164,91,.16),transparent 68%);
    transform:translate(-50%,-50%);
    pointer-events:none;
    z-index:-1;
    transition:.12s linear;
}

h1,h2,h3{
    font-family:Georgia,Times,serif;
    color:var(--navy);
    line-height:1.05;
    margin:0 0 18px;
}

h1{
    font-size:clamp(44px,7vw,96px);
    color:#fff;
    text-shadow:0 14px 36px rgba(0,0,0,.42);
}

h2{
    font-size:clamp(32px,4vw,58px);
}

h3{
    font-size:22px;
}

p{
    margin:0 0 18px;
}

/* Header */

.site-header{
    position:fixed;
    top:18px;
    left:5%;
    right:5%;
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 22px;
    background:rgba(255,250,242,.9);
    backdrop-filter:blur(18px);
    z-index:20;
    box-shadow:0 18px 50px rgba(8,35,57,.12);
    border:1px solid rgba(255,255,255,.55);
    border-radius:999px;
    transition:.35s ease;
}

.site-header.scrolled{
    top:10px;
    min-height:66px;
    background:rgba(255,250,242,.96);
}

.brand{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-img{
    height:58px;
    width:auto;
    max-width:190px;
    display:block;
    object-fit:contain;
    transition:transform .3s ease;
}

.logo-img:hover{
    transform:scale(1.03);
}

.brand-mark,
.brand span:last-child,
.brand small{
    display:none;
}

.nav{
    display:flex;
    gap:26px;
    align-items:center;
}

.nav a{
    color:var(--deep);
    text-decoration:none;
    font-weight:500;
    font-size:15px;
    letter-spacing:.3px;
    position:relative;
    transition:all .3s ease;
}

.nav > a:not(.btn):after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-8px;
    height:2px;
    background:var(--coral);
    transform:scaleX(0);
    transition:.3s ease;
}

.nav > a:hover:after{
    transform:scaleX(1);
}

.nav-toggle{
    display:none;
    border:0;
    background:var(--navy);
    color:#fff;
    border-radius:12px;
    padding:9px 12px;
    font-size:20px;
}

/* Buttons */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 24px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--coral),#c35f3e);
    color:#fff!important;
    text-decoration:none;
    font-weight:700;
    border:0;
    box-shadow:0 16px 34px rgba(220,122,85,.3);
    transition:.3s ease;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 44px rgba(220,122,85,.42);
}

.btn.small{
    padding:10px 18px;
}

.btn.ghost,
.btn.outline{
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.62);
    box-shadow:none;
}

.btn.outline{
    color:var(--navy)!important;
    border-color:#dccfc0;
    background:#fff;
}

/* Hero */

.hero{
    min-height:130vh;
    display:grid;
    place-items:center;
    text-align:center;
    position:relative;
    background:url("assets/hero.webp") center/cover no-repeat;
    overflow:hidden;
    padding:130px 7% 150px;
}

.hero:after{
    content:"";
    position:absolute;
    inset:auto -12% -13% -12%;
    height:260px;
    background:var(--paper);
    border-radius:50% 50% 0 0;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(7,33,55,.25),rgba(7,33,55,.78));
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:930px;
}

.hero-subtitle{
    max-width:760px;
    margin-inline:auto;
    color:#fff;
    font-size:20px;
}

.eyebrow{
    text-transform:uppercase;
    letter-spacing:.24em;
    font-weight:700;
    font-size:12px;
    color:#ffe2ce;
    margin-bottom:14px;
}

.eyebrow.dark{
    color:var(--coral);
}

.hero-actions{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.booking-strip{
    position:absolute;
    z-index:4;
    bottom:38px;
    left:7%;
    right:7%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
    gap:12px;
    background:#fff;
    border-radius:28px;
    padding:18px;
    box-shadow:var(--shadow);
    text-align:left;
}

.booking-strip div{
    padding:8px 18px;
    border-right:1px solid #eadfce;
}

.booking-strip span{
    display:block;
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:700;
}

.booking-strip strong{
    color:var(--navy);
}

.booking-strip a{
    justify-self:end;
    background:var(--navy);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    border-radius:999px;
    padding:14px 22px;
}

/* Sections */

.section{
    padding:112px 7%;
}

.grid-2,
.resort-showcase{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:72px;
    align-items:center;
}

.muted{
    background:var(--sand);
}

.section-title{
    text-align:center;
    max-width:780px;
    margin:0 auto 54px;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:end;
    margin-bottom:42px;
}

.section-heading p{
    max-width:620px;
}

/* Images */

.image-card,
.image-stack,
.showcase-image{
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    position:relative;
    will-change:transform;
}

.image-card img,
.room-card img,
.image-stack img,
.showcase-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .75s ease;
}



.image-card:hover img,
.room-card:hover img,
.image-stack:hover img,
.showcase-image:hover img{
    transform:scale(1.06);
}

.image-stack{
    min-height:470px;
}

.image-stack .main-img{
    height:470px;
}

.mini-review{
    position:absolute;
    left:24px;
    bottom:24px;
    right:24px;
    background:rgba(255,250,242,.92);
    border-radius:18px;
    padding:18px;
    display:grid;
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.mini-review strong{
    color:var(--navy);
}

.mini-review span{
    color:var(--muted);
    font-size:14px;
}

/* Cards */

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin:30px 0;
}

.stats div,
.feature,
.room-card,
.contact-cards div{
    background:#fff;
    border:1px solid #ece2d6;
    border-radius:20px;
    padding:23px;
    box-shadow:0 14px 42px rgba(28,43,55,.06);
}

.stats strong{
    display:block;
    color:var(--navy);
    font-size:23px;
}

.stats span{
    font-size:12px;
    color:var(--muted);
}

.text-link{
    color:var(--navy);
    font-weight:700;
    text-decoration:none;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.feature{
    text-align:center;
    position:relative;
    overflow:hidden;
    transition:
        transform .7s cubic-bezier(.22,1,.36,1),
        box-shadow .7s cubic-bezier(.22,1,.36,1);
}

.feature span{
    font-size:36px;
    display:block;
    margin-bottom:12px;
    transition:transform .7s cubic-bezier(.22,1,.36,1);
}

.feature:hover{
    transform:translateY(-12px) scale(1.025);
    box-shadow:
        0 30px 70px rgba(22,59,96,.14),
        0 12px 28px rgba(22,59,96,.08);
}

.feature:hover span{
    transform:translateY(-6px) scale(1.12);
}

/* Rooms */

.room-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.room-card{
    overflow:hidden;
    padding:0;
    transition:.35s ease;
}

.room-card.featured{
    border-color:var(--coral);
    box-shadow:0 22px 70px rgba(220,122,85,.16);
}

.room-card:hover{
    transform:translateY(-9px);
    box-shadow:var(--shadow);
}

.room-card img{
    height:245px;
}

.room-card div{
    padding:25px;
}

.badge{
    display:inline-flex;
    background:#f6eadf;
    color:var(--coral);
    font-weight:700;
    font-size:12px;
    border-radius:999px;
    padding:6px 11px;
    margin-bottom:14px;
}

.price{
    color:var(--coral);
    font-weight:700;
}

.room-card a{
    color:var(--navy);
    font-weight:700;
    text-decoration:none;
}

/* Showcase */

.resort-showcase{
    background:linear-gradient(135deg,#fff,#fbf4ea);
    border:1px solid #ecdfd0;
    border-radius:34px;
    margin:0 7% 100px;
    padding:58px;
    box-shadow:0 22px 70px rgba(22,59,96,.08);
}

.showcase-image{
    min-height:500px;
}

.amenity-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:24px 0;
}

.amenity-list span{
    background:#fff;
    border:1px solid #eadfce;
    color:var(--navy);
    font-weight:600;
    border-radius:999px;
    padding:9px 14px;
}

/* Slider */

.resort-slider{
    position:relative;
    background:#fff7ef;
    min-height:500px;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    isolation:isolate;
}

.resort-slider .slide{
    position:absolute;
    inset:0;
    opacity:0;
    transform:scale(1.04);
    transition:
        opacity 1.2s ease-in-out,
        transform 2s ease-in-out;
    z-index:1;
}

.resort-slider .slide.active{
    opacity:1;
    transform:scale(1);
    z-index:2;
}

.resort-slider .slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.resort-slider:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(9,36,62,0) 45%,rgba(9,36,62,.28));
    z-index:3;
    pointer-events:none;
}

.slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.86);
    color:var(--navy);
    font-size:32px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
    transition:.3s ease;
}

.slider-arrow:hover{
    background:#fff;
    transform:translateY(-50%) scale(1.08);
}

.slider-arrow.prev{
    left:22px;
}

.slider-arrow.next{
    right:22px;
}

.slider-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:22px;
    z-index:5;
    display:flex;
    justify-content:center;
    gap:9px;
}

.slider-dots span{
    width:9px;
    height:9px;
    border-radius:999px;
    background:rgba(255,255,255,.65);
    transition:.35s ease;
}

.slider-dots span.active{
    width:28px;
    background:#fff;
}

/* Lists */

.check-list{
    padding-left:0;
    list-style:none;
}

.check-list li{
    margin:13px 0;
    padding-left:30px;
    position:relative;
}

.check-list li:before{
    content:"›";
    position:absolute;
    left:0;
    color:var(--coral);
    font-size:32px;
    line-height:20px;
}

.location-list p{
    padding:15px 0;
    border-bottom:1px solid #e6dbcd;
}

/* CTA */

.cta{
    background:linear-gradient(135deg,var(--deep),var(--navy));
    color:#fff;
    text-align:center;
    padding:100px 7%;
    position:relative;
    overflow:hidden;
}

.cta:before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    background:rgba(220,122,85,.12);
    border-radius:50%;
    left:-190px;
    top:-160px;
}

.cta h2{
    color:#fff;
}

.cta > div{
    position:relative;
}

.contact-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:40px;
}

.contact-card{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    color:#fff;
    border-radius:22px;
    padding:28px 22px;
    min-height:145px;
    display:grid;
    place-items:center;
    text-align:center;
    gap:8px;
    text-decoration:none;
    transition:.35s ease;
}

.contact-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.16);
    box-shadow:0 22px 50px rgba(0,0,0,.18);
}

.contact-card img{
    width:30px;
    height:30px;
    object-fit:contain;
    margin-bottom:10px;
    transition:.4s ease;
}

.contact-card:hover img{
    transform:translateY(-5px) scale(1.1);
}

.contact-card strong{
    font-size:20px;
    font-weight:500;
    color:#fff;
}

.contact-card small{
    color:rgba(255,255,255,.75);
    font-size:13px;
}

@media(max-width:900px){
    .contact-cards{
        grid-template-columns:1fr;
    }
}

/* Footer */

.footer-pro{
    background:#292929;
    color:#d7d7d7;
    padding:56px 7% 0;
    border-top:8px solid var(--navy);
}

.footer-grid{
    display:grid;
    grid-template-columns:1.35fr 1fr 1fr 1fr;
    gap:48px;
    padding-bottom:42px;
    border-bottom:1px solid rgba(255,255,255,.13);
    align-items:start;
}

.footer-logo{
    margin-bottom:20px;
}

.footer-logo img{
    width:120px;
    height:auto;
    display:block;
    background:#fff;
    padding:10px;
}

.footer-about p{
    font-size:15px;
    font-weight:500;
    color:#cfcfcf;
    max-width:360px;
    line-height:1.7;
}

.footer-col h3{
    font-size:26px;
    color:#fff;
    margin-bottom:20px;
    font-weight:600;
}

.footer-col a{
    display:block;
    color:#cfcfcf;
    text-decoration:none;
    font-size:15px;
    font-weight:400;
    margin:10px 0;
    transition:.28s ease;
}

.footer-col a:hover{
    color:var(--gold);
    transform:translateX(5px);
}

.socials{
    display:flex;
    gap:18px;
    align-items:center;
}

.socials a{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    margin:0;
}

.socials svg{
    width:24px;
    height:24px;
    fill:#fff;
    transition:.3s ease;
}

.socials a:hover svg{
    fill:var(--gold);
    transform:translateY(-3px);
}

.footer-bottom{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    text-align:center;
    padding:28px 0 30px;
    font-size:14px;
    font-weight:400;
    color:#bfbfbf;
}

.footer-bottom a{
    color:var(--gold);
    text-decoration:none;
    font-weight:600;
}

.footer-bottom a:hover{
    color:#fff;
}

/* WhatsApp */

.whatsapp-float{
    position:fixed;
    right:22px;
    bottom:22px;
    width:62px;
    height:62px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#25D366;
    box-shadow:0 18px 40px rgba(0,0,0,.24);
    z-index:30;
    animation:pulse 2.4s infinite;
}

.whatsapp-float svg{
    width:36px;
    height:36px;
    fill:#fff;
}

/* Animations */

.reveal{
    opacity:0;
    transform:translateY(42px) scale(.98);
    transition:
        opacity .9s cubic-bezier(.2,.7,.2,1),
        transform .9s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible{
    opacity:1;
    transform:none;
}

@keyframes pulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.08);
    }
}

/* Tablet */

@media(max-width:1180px){
    .nav{
        gap:18px;
    }

    .nav a{
        font-size:14px;
    }

    .room-grid,
    .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .grid-2,
    .resort-showcase{
        gap:44px;
    }
}

/* Mobile and tablet */

@media(max-width:980px){
    .site-header{
        top:10px;
        left:4%;
        right:4%;
        border-radius:24px;
        min-height:70px;
    }

    .logo-img{
        height:52px;
        max-width:165px;
    }

    .nav-toggle{
        display:block;
    }

    .nav{
        position:absolute;
        top:84px;
        left:0;
        right:0;
        background:#fff;
        border-radius:22px;
        padding:20px;
        display:none;
        flex-direction:column;
        align-items:flex-start;
        box-shadow:var(--shadow);
    }

    .nav.open{
        display:flex;
    }

    .nav a{
        font-size:16px;
        font-weight:400;
    }

    .nav .btn{
        width:100%;
    }

    .grid-2,
    .resort-showcase,
    .room-grid,
    .feature-grid,
    .contact-cards,
    .booking-strip,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .booking-strip{
        position:relative;
        bottom:auto;
        left:auto;
        right:auto;
        margin-top:35px;
        text-align:center;
    }

    .booking-strip div{
        border-right:0;
        border-bottom:1px solid #eadfce;
    }

    .booking-strip a{
        justify-self:center;
    }

    .section{
        padding:78px 6%;
    }

    .section-heading{
        display:block;
    }

    .resort-showcase{
        margin:0 6% 70px;
        padding:32px;
    }

    .hero{
        min-height:auto;
        padding:145px 6% 65px;
    }

    .hero:after{
        display:none;
    }

    .hero-subtitle{
        font-size:17px;
    }

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

    .image-card,
    .showcase-image,
    .resort-slider{
        min-height:320px;
    }

    .footer-pro{
        text-align:left;
        padding-top:54px;
    }

    .footer-grid{
        gap:26px;
    }

    .footer-col h3{
        font-size:24px;
    }

    .footer-col a,
    .footer-about p,
    .footer-bottom{
        font-size:14px;
    }

    .whatsapp-float{
        width:56px;
        height:56px;
    }

    .slider-arrow{
        width:38px;
        height:38px;
        font-size:28px;
    }
}

/* Small mobile */

@media(max-width:600px){
    .site-header{
        left:14px;
        right:14px;
        padding:8px 14px;
    }

    .logo-img{
        height:46px;
        max-width:145px;
    }

    h1{
        font-size:42px;
    }

    h2{
        font-size:34px;
    }

    .hero{
        padding-top:130px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
        padding:13px 18px;
    }

    .section{
        padding:64px 18px;
    }

    .feature,
    .stats div,
    .contact-cards div{
        padding:20px;
    }

    .room-card img{
        height:215px;
    }

    .resort-showcase{
        margin:0 18px 60px;
        padding:24px;
        border-radius:24px;
    }

    .resort-slider{
        min-height:260px;
    }

    .slider-arrow.prev{
        left:12px;
    }

    .slider-arrow.next{
        right:12px;
    }

    .footer-pro{
        padding-left:18px;
        padding-right:18px;
    }

    .footer-logo{
        width:115px;
    }

    .whatsapp-float{
        right:16px;
        bottom:16px;
        width:54px;
        height:54px;
    }

    .whatsapp-float svg{
        width:32px;
        height:32px;
    }
}

/* Very small phones */

@media(max-width:380px){
    .logo-img{
        height:42px;
        max-width:130px;
    }

    .nav-toggle{
        padding:7px 10px;
    }

    h1{
        font-size:36px;
    }

    h2{
        font-size:30px;
    }

    .section{
        padding-left:14px;
        padding-right:14px;
    }
}

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

.menu-open-link{
    display:inline-block;
    padding:0;
    border:0;
    background:none;
    color:var(--navy);
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
    transition:color .3s ease;
}

.menu-open-link:hover{
    color:var(--coral);
}


/* =========================================================
   MODAL
========================================================= */

.menu-gallery-modal{
    position:fixed;
    inset:0;
    z-index:9999;

    display:grid;
    place-items:center;

    padding:18px;

    visibility:hidden;
    opacity:0;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.menu-gallery-modal.open{
    visibility:visible;
    opacity:1;
}

.menu-gallery-backdrop{
    position:absolute;
    inset:0;

    background:rgba(8,25,39,.84);
    backdrop-filter:blur(14px);
}

.menu-gallery-dialog{
    position:relative;
    z-index:2;

    width:min(1500px,96vw);
    height:min(920px,94vh);

    display:flex;
    flex-direction:column;

    overflow:hidden;

    background:var(--paper);
    border:1px solid rgba(255,255,255,.34);
    border-radius:32px;

    box-shadow:0 40px 120px rgba(0,0,0,.42);

    transform:translateY(24px) scale(.98);

    transition:transform .4s cubic-bezier(.22,1,.36,1);
}

.menu-gallery-modal.open .menu-gallery-dialog{
    transform:none;
}


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

.menu-gallery-header{
    flex:0 0 auto;

    min-height:96px;

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

    gap:24px;
    padding:16px 24px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(213,164,91,.18),
            transparent 28%
        ),
        linear-gradient(135deg,#fffaf2,#f7eee1);

    border-bottom:1px solid #eadfce;
}

.menu-gallery-brand{
    display:flex;
    align-items:center;
    gap:16px;
}

.menu-gallery-brand img{
    width:68px;
    height:68px;

    padding:7px;

    object-fit:contain;

    background:#fff;
    border:1px solid rgba(213,164,91,.3);
    border-radius:50%;

    box-shadow:0 8px 22px rgba(22,59,96,.10);
}

.menu-gallery-brand span{
    display:block;

    margin-bottom:3px;

    color:var(--coral);

    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.menu-gallery-brand h2{
    margin:0;
    font-size:clamp(24px,3vw,38px);
}

.menu-gallery-close{
    width:48px;
    height:48px;

    display:grid;
    place-items:center;

    flex:0 0 48px;

    border:0;
    border-radius:50%;

    background:var(--navy);
    color:#fff;

    font-size:30px;
    line-height:1;

    cursor:pointer;

    transition:
        background .3s ease,
        transform .3s ease;
}

.menu-gallery-close:hover{
    background:var(--coral);
    transform:rotate(90deg);
}


/* =========================================================
   CONTENT
========================================================= */

.menu-gallery-content{
    flex:1;
    min-height:0;

    display:grid;
    grid-template-columns:300px minmax(0,1fr);

    overflow:hidden;
}


/* =========================================================
   SIDEBAR
========================================================= */

.menu-gallery-sidebar{
    min-height:0;
    height:100%;

    display:flex;
    flex-direction:column;

    padding:26px 20px;

    overflow:hidden;

    background:#f6eee2;
    border-right:1px solid #e4d8c9;
}

.menu-gallery-intro{
    flex:0 0 auto;
}

.menu-gallery-intro h3{
    margin-bottom:10px;
    font-size:25px;
}

.menu-gallery-intro p:last-child{
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}


/* =========================================================
   THUMBNAILS
========================================================= */

/* Compact professional thumbnail area */

.menu-thumbnails{
    flex:1;
    min-height:0;

    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    grid-auto-rows:150px;
    align-content:start;

    gap:12px;
    margin-top:20px;
    padding:2px 10px 18px 2px;

    overflow-y:auto;
    overflow-x:hidden;

    scrollbar-width:thin;
    scrollbar-color:rgba(22,59,96,.32) transparent;
}

.menu-thumbnails::-webkit-scrollbar{
    width:7px;
}

.menu-thumbnails::-webkit-scrollbar-track{
    background:transparent;
}

.menu-thumbnails::-webkit-scrollbar-thumb{
    background:rgba(22,59,96,.30);
    border-radius:999px;
}

.menu-thumbnail{
    position:relative;

    width:100%;
    height:150px;

    padding:0;
    overflow:hidden;

    border:2px solid transparent;
    border-radius:14px;

    background:#fff;
    cursor:pointer;
    opacity:.72;

    box-shadow:0 8px 20px rgba(22,59,96,.08);

    transition:
        transform .3s ease,
        opacity .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.menu-thumbnail:hover{
    opacity:1;
    transform:translateY(-3px);
}

.menu-thumbnail.active{
    opacity:1;
    border-color:var(--gold);
    box-shadow:0 12px 28px rgba(213,164,91,.22);
}

.menu-thumbnail img{
    width:100%;
    height:100%;
    display:block;

    object-fit:cover;
    object-position:top center;
}

.menu-thumbnail::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:42%;

    background:linear-gradient(
        transparent,
        rgba(5,20,34,.68)
    );
}

.menu-thumbnail span{
    position:absolute;
    right:9px;
    bottom:7px;
    z-index:2;

    min-width:28px;
    height:24px;

    display:grid;
    place-items:center;

    padding:0 7px;
    border-radius:999px;

    background:rgba(255,255,255,.92);
    color:var(--navy);

    font-size:11px;
    font-weight:800;
}

/* =========================================================
   VIEWER
========================================================= */

.menu-gallery-viewer{
    min-width:0;
    min-height:0;
    height:100%;

    display:flex;
    flex-direction:column;

    padding:18px 22px 22px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(213,164,91,.1),
            transparent 34%
        ),
        #eee8df;
}

.menu-viewer-toolbar{
    flex:0 0 auto;

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

    gap:20px;
    margin-bottom:14px;
}

.menu-page-counter{
    color:var(--muted);

    font-size:13px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.menu-page-counter strong{
    margin-left:6px;

    color:var(--navy);
    font-size:18px;
}

.menu-fullscreen-link{
    display:inline-flex;
    align-items:center;

    padding:8px 13px;

    border-radius:999px;

    background:#fff;
    color:var(--navy);

    text-decoration:none;

    font-size:12px;
    font-weight:800;

    box-shadow:0 8px 22px rgba(22,59,96,.09);

    transition:
        color .3s ease,
        transform .3s ease;
}

.menu-fullscreen-link:hover{
    color:var(--coral);
    transform:translateY(-2px);
}


/* =========================================================
   IMAGE STAGE
========================================================= */

.menu-image-stage{
    position:relative;

    flex:1;
    min-height:0;

    overflow:hidden;

    border-radius:22px;
    background:#ded7cd;

    box-shadow:
        inset 0 0 0 1px rgba(22,59,96,.06),
        0 12px 34px rgba(22,59,96,.08);
}


/* This element performs the scrolling */

.menu-image-scroll{
    width:100%;
    height:100%;

    overflow-y:auto;
    overflow-x:hidden;

    padding:18px 74px 30px;

    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;

    scrollbar-gutter:stable;

    scrollbar-width:thin;
    scrollbar-color:
        rgba(22,59,96,.42)
        rgba(255,255,255,.3);
}

.menu-image-scroll::-webkit-scrollbar{
    width:11px;
}

.menu-image-scroll::-webkit-scrollbar-track{
    margin:8px 0;

    background:rgba(255,255,255,.38);
    border-radius:999px;
}

.menu-image-scroll::-webkit-scrollbar-thumb{
    background:rgba(22,59,96,.42);

    border:2px solid transparent;
    border-radius:999px;

    background-clip:padding-box;
}

.menu-image-scroll::-webkit-scrollbar-thumb:hover{
    background:rgba(22,59,96,.65);
    border:2px solid transparent;
    background-clip:padding-box;
}


/* =========================================================
   FULL MENU IMAGE
========================================================= */

.menu-image-wrapper{
    position:relative;

    width:min(100%,900px);
    min-height:max-content;

    margin:0 auto;

    display:block;
}

.menu-image-wrapper img{
    display:block;

    width:100%;
    height:auto;

    max-width:none;
    max-height:none;

    object-fit:contain;

    background:#fff;
    border-radius:14px;

    box-shadow:
        0 28px 75px rgba(10,31,50,.25),
        0 5px 14px rgba(10,31,50,.12);

    transition:
        opacity .25s ease,
        transform .35s ease;
}

.menu-image-wrapper img.changing{
    opacity:0;
    transform:scale(.985);
}


/* =========================================================
   ARROWS
========================================================= */

.menu-navigation{
    position:absolute;
    top:50%;
    z-index:10;

    width:54px;
    height:54px;

    display:grid;
    place-items:center;

    transform:translateY(-50%);

    border:1px solid rgba(255,255,255,.75);
    border-radius:50%;

    background:rgba(255,255,255,.95);
    color:var(--navy);

    font-size:38px;
    line-height:1;

    cursor:pointer;

    box-shadow:0 14px 34px rgba(0,0,0,.2);

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.menu-navigation:hover{
    background:var(--navy);
    color:#fff;

    transform:
        translateY(-50%)
        scale(1.08);
}

.menu-navigation.previous{
    left:18px;
}

.menu-navigation.next{
    right:18px;
}


/* =========================================================
   LOADER
========================================================= */

.menu-image-loader{
    position:absolute;
    top:30px;
    left:50%;
    z-index:15;

    display:none;

    transform:translateX(-50%);

    padding:10px 18px;

    border-radius:999px;

    background:rgba(11,37,64,.94);
    color:#fff;

    font-size:12px;
    font-weight:700;

    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.menu-image-loader.visible{
    display:block;
}


/* =========================================================
   MOBILE CONTROLS
========================================================= */

.menu-mobile-controls{
    display:none;
}


/* =========================================================
   BACKGROUND LOCK
========================================================= */

html.menu-gallery-open,
body.menu-gallery-open{
    overflow:hidden;
    overscroll-behavior:none;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:720px){

    .menu-gallery-modal{
        padding:0;
    }

    .menu-gallery-dialog{
        width:100%;
        height:100%;
        max-height:none;

        border-radius:0;
    }

    .menu-gallery-header{
        min-height:78px;

        padding:10px 14px;
    }

    .menu-gallery-brand{
        gap:10px;
    }

    .menu-gallery-brand img{
        width:52px;
        height:52px;
    }

    .menu-gallery-brand span{
        font-size:8px;
    }

    .menu-gallery-brand h2{
        font-size:20px;
    }

    .menu-gallery-close{
        width:42px;
        height:42px;

        flex-basis:42px;

        font-size:26px;
    }

    .menu-gallery-content{
        display:flex;
        flex-direction:column-reverse;

        min-height:0;
        overflow:hidden;
    }

    .menu-gallery-sidebar{
        flex:0 0 104px;
        height:104px;

        padding:9px 10px;

        border-right:0;
        border-top:1px solid #e4d8c9;
    }

    .menu-gallery-intro{
        display:none;
    }

    .menu-thumbnails{
        display:flex;

        gap:9px;

        margin:0;
        padding:1px 2px 7px;

        overflow-x:auto;
        overflow-y:hidden;
    }

    .menu-thumbnail{
        flex:0 0 62px;

        width:62px;
        height:84px;

        aspect-ratio:auto;
        border-radius:9px;
    }

    .menu-gallery-viewer{
        flex:1;
        min-height:0;

        padding:10px;
    }

    .menu-viewer-toolbar{
        margin-bottom:8px;
    }

    .menu-fullscreen-link{
        padding:7px 10px;
        font-size:10px;
    }

    .menu-image-stage{
        min-height:0;
        border-radius:14px;
    }

    .menu-image-scroll{
        padding:8px 8px 20px;
    }

    .menu-image-wrapper{
        width:100%;
    }

    .menu-image-wrapper img{
        width:100%;
        height:auto;

        border-radius:9px;
    }

    .menu-navigation{
        display:none;
    }

    .menu-mobile-controls{
        display:flex;
        align-items:center;
        justify-content:space-between;

        gap:8px;
        padding-top:9px;
    }

    .menu-mobile-controls button{
        padding:9px 12px;

        border:0;
        border-radius:999px;

        background:var(--navy);
        color:#fff;

        font-size:11px;
        font-weight:700;

        cursor:pointer;
    }

    .menu-mobile-controls span{
        color:var(--navy);

        font-size:11px;
        font-weight:800;
    }
}