/* === VILA SANJA – Sunny Beach Pastel Theme === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --sand:      #FFF8EF;
    --sand-mid:  #FFF0DC;
    --sand-dark: #F5E6CC;
    --sea:       #2AA8B0;
    --sea-deep:  #1E7A82;
    --sea-light: #A8DFE3;
    --coral:     #D4688A;
    --coral-dk:  #B84E72;
    --sun:       #FFD26B;
    --sun-lt:    #FFF3C4;
    --sky:       #A8D8F0;
    --text:      #2C3E4A;
    --text-lt:   #6B7A88;
    --white:     #FFFFFF;
    --border:    #F0DFC8;
    --radius:    12px;
}

/* === DARK MODE PALETTE === */
/*
 * --white stays #fff: it is used for text/icons on colored surfaces (nav, buttons,
 * hero). Card/panel backgrounds are overridden explicitly per-component below.
 */
[data-theme="dark"] {
    --sand:      #0F1923;
    --sand-mid:  #152031;
    --sand-dark: #1A2B3D;
    --sea:       #0D8F89;
    --sea-deep:  #17A09A;
    --sea-light: #1A4550;
    --coral:     #E07898;
    --coral-dk:  #C85E80;
    --sun:       #FFD26B;
    --sun-lt:    #251C08;
    --sky:       #1A3A5C;
    --text:      #D8E8F2;
    --text-lt:   #7FA0B5;
    --white:     #FFFFFF;
    --border:    #243A4E;
}

[data-theme="dark"] body {
    background: #0F1923;
    color: #D8E8F2;
}

/* ── Header ── */
[data-theme="dark"] header {
    background: #0B1520;
    box-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

/* ── Nav dropdown menus ── */
[data-theme="dark"] .dropdown-menu {
    background: #152031;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
    border: 1px solid #243A4E;
    border-top: none;
}
[data-theme="dark"] .dropdown-menu a {
    color: #17A09A;
}
[data-theme="dark"] .dropdown-menu a:hover,
[data-theme="dark"] .dropdown-menu a.active {
    background: #1A2B3D;
    color: #FFD26B;
}

/* ── Mobile nav sidebar ── */
@media (max-width: 800px) {
    [data-theme="dark"] nav {
        background: #0d3a3e;
    }
    [data-theme="dark"] .dropdown-menu {
        background: #0d3a3e;
        border: none;
        border-top: none;
        box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    }
}

/* ── Cards and white-background panels ── */
[data-theme="dark"] .card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .host-box,
[data-theme="dark"] .about-card,
[data-theme="dark"] .rule-card,
[data-theme="dark"] .contact-block,
[data-theme="dark"] .booking-card,
[data-theme="dark"] .faq-question {
    background: #1A2B3D;
    box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
[data-theme="dark"] .faq-question:hover { background: #1E3347; }
[data-theme="dark"] .faq-answer       { background: #0F1923; }

/* ── Sections (hardcoded rgba in base styles — must override explicitly) ── */
[data-theme="dark"] .section {
    background: rgba(26, 43, 61, 0.88);
}
[data-theme="dark"] .section-alt .inner {
    background: rgba(21, 32, 49, 0.95);
}
[data-theme="dark"] .room-intro {
    background: rgba(21, 32, 49, 0.97);
}

/* ── Feat chip — fix near-zero contrast (sea-light bg + sea-deep text) ── */
[data-theme="dark"] .feat-chip {
    background: rgba(46, 196, 182, 0.13);
    color: #17A09A;
}

/* ── Note box & time slot ── */
[data-theme="dark"] .note-box {
    background: #1A1800;
    border-left-color: #FFD26B;
    color: #D8E8F2;
}
[data-theme="dark"] .time-slot {
    background: #251C08;
    color: #FFD26B;
}

/* ── Booking contact info ── */
[data-theme="dark"] .booking-contact-info {
    background: #152031;
}

/* ── About location table ── */
[data-theme="dark"] .about-location-table th {
    background: #152031;
    border-bottom-color: #243A4E;
}
[data-theme="dark"] .about-location-table td {
    border-bottom-color: #243A4E;
}

/* ── Page-specific cards (inline <style> blocks in individual pages) ── */
[data-theme="dark"] .attr-card,
[data-theme="dark"] .beach-tip-card,
[data-theme="dark"] .preman-hub-card,
[data-theme="dark"] .apt-sleep-card,
[data-theme="dark"] .apt-amen-col {
    background: #1A2B3D;
    box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
[data-theme="dark"] .town-card {
    background: #1A2B3D;
    border-color: #243A4E;
    box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
[data-theme="dark"] .apt-amen-col ul li {
    border-bottom-color: rgba(255,255,255,0.06);
}

/* ── Info banner ── */
[data-theme="dark"] .info-banner {
    background: #1A1800;
    border-left-color: var(--coral);
    color: #D8E8F2;
}

/* ── Photo placeholder ── */
[data-theme="dark"] .photo-placeholder {
    background: #0F1F2E;
    border-color: #2A5A6A;
    color: #7FA0B5;
}
[data-theme="dark"] .photo-placeholder .ph-label { color: #5A8A9A; }

/* ── Footer ── */
[data-theme="dark"] footer {
    background: #080F18;
    color: rgba(216,232,242,0.85);
}
[data-theme="dark"] .footer-counter {
    background: rgba(255,255,255,0.05);
}
[data-theme="dark"] .footer-divider {
    background: rgba(255,255,255,0.1);
}

/* ── Dark mode toggle button ── */
.dark-mode-toggle {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
    margin: 0 2px;
}
.dark-mode-toggle:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.1);
}
[data-theme="dark"] .dark-mode-toggle {
    background: rgba(46,196,182,0.18);
    color: #FFD26B;
}
[data-theme="dark"] .dark-mode-toggle:hover {
    background: rgba(46,196,182,0.32);
}

/* Label hidden on desktop, shown in mobile nav */
.dm-label { display: none; }

@media (max-width: 800px) {
    .dark-mode-toggle {
        width: 100%;
        height: auto;
        border-radius: 6px;
        padding: 8px 14px;
        font-size: 0.95rem;
        font-weight: 600;
        justify-content: flex-start;
        gap: 10px;
        margin: 0;
        background: transparent;
        transform: none;
    }
    .dark-mode-toggle:hover {
        background: rgba(255,255,255,0.2);
        transform: none;
    }
    [data-theme="dark"] .dark-mode-toggle {
        background: transparent;
        color: #FFD26B;
    }
    [data-theme="dark"] .dark-mode-toggle:hover {
        background: rgba(255,255,255,0.1);
    }
    .dm-label { display: inline; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 8px 14px;
    background: var(--sun);
    color: var(--text);
    border-radius: 6px;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

body {
    font-family: 'Nunito', 'Helvetica', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text);
    background: var(--sand);
}

/* ── HEADER ── */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: var(--sea);
    color: var(--white);
    padding: 0 32px;
    height: 70px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.2s;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo .logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.header-logo:hover .logo { color: var(--sun); }

/* ── NAV ── */
nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

nav ul li a,
nav ul li .dropdown-toggle {
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

nav ul li a.active,
nav ul li a:hover,
nav ul li .dropdown-toggle.active,
nav ul li .dropdown-toggle:hover {
    background: rgba(255,255,255,0.2);
    color: var(--sun);
}

nav ul li .dropdown-toggle::after { content: " ▾"; font-size: 0.7em; }

.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    width: max-content;
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
    border-radius: var(--radius);
    z-index: 1001;
    overflow: hidden;
    margin-top: 0;
}

nav ul li.dropdown:hover .dropdown-menu,
nav ul li.dropdown:focus-within .dropdown-menu,
.lang-open > .dropdown-menu { display: block; }

.dropdown-menu li { width: 100%; }

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    color: var(--sea-deep);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--sand-mid);
    color: var(--sea-deep);
}

/* ── HAMBURGER ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle:focus-visible,
.dark-mode-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
}

.menu-toggle span {
    display: block;
    height: 3px; width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

main {
    padding-top: 70px;
}


/* ── HERO (full viewport) ── */
.hero {
    height: calc(100vh - 70px);
    min-height: 500px;
    background: linear-gradient(160deg, rgba(30,122,130,0.55) 0%, rgba(255,143,112,0.38) 100%),
                url('images/depo/sunset.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    padding: 44px 40px;
    background: rgba(255, 252, 248, 0.13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 22px;
    border: 1.5px solid rgba(255,255,255,0.32);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    margin: 24px;
}

.hero h1 {
    font-size: 2.8rem;
    margin: 0 0 16px 0;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero h2 {
    font-size: 1.2rem;
    margin: 0 0 18px 0;
    font-weight: 600;
    opacity: 0.88;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.15rem;
    margin: 0 0 28px 0;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* Scroll hint arrow */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.scroll-hint i {
    font-size: 1.4rem;
    display: block;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── HERO MINI (inner pages) ── */
.hero-mini {
    height: 19vh;
    min-height: 100px;
    background: linear-gradient(135deg, rgba(30,122,130,0.82) 0%, rgba(255,143,112,0.5) 100%),
                url('images/depo/sunset.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 48px rgba(0,0,0,0.52);
}

.hero-mini h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* ── CTA BUTTON ── */
.cta-button {
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 3px 14px rgba(255,143,112,0.4);
}

.cta-button:hover {
    background: var(--coral-dk);
    transform: translateY(-2px);
    color: var(--white);
}

.cta-button.sea {
    background: var(--sea);
    box-shadow: 0 3px 14px rgba(42,168,176,0.35);
}
.cta-button.sea:hover { background: var(--sea-deep); }

/* ── FLOATING BOOK NOW ── */
.book-now {
    position: fixed;
    bottom: 24px; right: 34px;
    background: var(--coral);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 18px rgba(255,143,112,0.5);
    transition: transform 0.2s, background 0.2s, opacity 0.35s;
    z-index: 999;
}

.book-now:hover { background: var(--coral-dk); transform: translateY(-3px); color: var(--white); }
.book-now.scroll-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ── LAYOUT HELPERS ── */
/*
 * .section and .inner containers need position:relative + z-index:1 so their
 * stacking contexts paint at step 7 in the root stacking order — after the
 * deco (position:fixed; z-index:0) at step 6. Without this, the deco appears
 * on top of all non-positioned block content.
 * .section-alt stays non-positioned so its full-width sandy background remains
 * at step 3 (below the deco), letting the floral strip show in the gutters.
 */
.section { max-width: 1200px; margin: 24px auto; padding: 36px 24px; position: relative; z-index: 1; background: rgba(255,248,239,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 16px; }
.section-alt { margin: 24px; border-radius: 16px; }
.section-alt .inner { max-width: 1200px; margin: 0 auto; padding: 36px 24px; position: relative; z-index: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,244,230,0.82); border-radius: 16px; }
.section-sea { background: var(--sea); color: var(--white); }
.section-sea .inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; position: relative; z-index: 1; }

.section-title {
    font-size: 2rem; font-weight: 800;
    color: var(--sea-deep); margin: 0 0 8px 0;
}

.section-sea .section-title { color: var(--white); }

.section-sub {
    color: var(--text-lt); font-size: 1.05rem;
    margin: 0 0 36px 0;
}

.section-sea .section-sub { color: rgba(255,255,255,0.8); }

.divider {
    width: 56px; height: 4px;
    background: var(--coral);
    border-radius: 2px; margin: 0 0 20px 0;
}
.divider-c { margin: 0 auto 20px auto; }

/* ── CARDS ── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 6px 28px rgba(0,0,0,0.12); }
.card img:not(.part-left):not(.part-middle):not(.part-right):not(.part-middle-mobile) { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--sea-deep); margin: 0 0 8px 0; }
.card-desc { color: var(--text-lt); font-size: 0.97rem; margin: 0 0 16px 0; flex: 1; }

/* ── ACCOMM GRID ── */
.accom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

/* ── FEATURES BAR ── */
.features-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.feat-chip {
    background: var(--sea-light);
    color: var(--sea-deep);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex; align-items: center; gap: 7px;
}

/* ── ABOUT FLEX ── */
.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}
.about-text { flex: 1 1 340px; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--sea-deep); margin: 0 0 10px 0; }
.about-text p { color: var(--text); font-size: 1.02rem; line-height: 1.75; margin: 0 0 16px 0; }
.about-img { flex: 1 1 280px; }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 28px rgba(0,0,0,0.12); }

/* ── INFO GRID (home page) ── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-bottom: 4px solid var(--sea-light);
    transition: transform 0.2s;
}
.info-card:hover { transform: translateY(-4px); }
.info-card h2 { font-size: 1.15rem; color: var(--sea-deep); font-weight: 800; margin: 0 0 8px 0; }
.info-card p { color: var(--text-lt); margin: 0 0 18px 0; font-size: 0.96rem; }
.info-card a { color: var(--coral); font-weight: 700; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ── STATS ── */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: center;
    padding: 40px 24px;
    background: var(--sea);
    color: var(--white);
    position: relative;
    z-index: 1;
}
.stat-num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--sun); }
.stat-lbl { font-size: 0.95rem; opacity: 0.9; }

/* ── HOST BOX ── */
.host-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.host-box img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sea-light);
    flex-shrink: 0;
}
.host-box h3 { margin: 0 0 8px 0; color: var(--sea-deep); font-size: 1.1rem; }
.host-box p { margin: 0; color: var(--text); font-size: 0.98rem; line-height: 1.6; }

/* ── ROOM INTRO ── */
.room-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 24px auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
    background: rgba(255,248,239,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
}
.room-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    object-fit: cover;
    max-height: 420px;
    cursor: pointer;
}
.room-desc h2 { font-size: 2rem; color: var(--sea-deep); margin: 0 0 16px 0; font-weight: 800; }
.room-desc p { color: var(--text); font-size: 1.02rem; line-height: 1.75; margin: 0 0 20px 0; }

.room-highlights {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.room-highlights li {
    padding-left: 22px; position: relative;
    color: var(--text); font-size: 0.97rem; line-height: 1.5;
}
.room-highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

/* ── ROOM GALLERY ── */
.room-gallery {
    background: var(--sand-mid);
    padding: 52px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.room-gallery h2 { font-size: 1.8rem; color: var(--sea-deep); margin: 0 0 28px 0; font-weight: 800; }

.gallery-main {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.gallery-main img { width: 100%; max-height: 430px; object-fit: cover; display: block; cursor: zoom-in; transition: opacity 0.25s ease; }
.slideshow-wrap img { transition: opacity 0.25s ease; }

.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.32); border: none;
    color: white; font-size: 0.95rem;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%;
    transition: background 0.2s;
    z-index: 2;
}
.gallery-arrow:hover { background: rgba(0,0,0,0.62); }
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }

.gallery-thumbnails {
    display: flex; justify-content: center;
    gap: 10px; margin-top: 16px; flex-wrap: wrap;
    max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ── SLIDESHOW DOTS ── */
.slideshow-wrap { position: relative; display: block; width: 100%; }
.slideshow-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.sdot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 1.5px solid rgba(255,255,255,0.9);
    transition: background 0.25s; cursor: pointer;
}
.sdot.active { background: rgba(255,255,255,0.95); }
.gallery-thumb {
    width: 60px; height: 60px;
    object-fit: cover; border-radius: 6px;
    cursor: pointer; border: 3px solid transparent;
    transition: border-color 0.2s;
}
.gallery-thumb.selected, .gallery-thumb:hover { border-color: var(--coral); }

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 88vh;
}
.lightbox-img {
    max-width: 90vw; max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 12px 56px rgba(0,0,0,0.6);
    object-fit: contain;
    display: block;
}
.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: none;
    color: white; font-size: 1.5rem;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%;
    transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.28); }
/* Buttons sit outside the image with a 1cm gap */
.lb-prev { right: calc(100% + 1cm); left: auto; }
.lb-next { left: calc(100% + 1cm); right: auto; }
.lb-close {
    position: absolute; bottom: calc(100% + 0.6cm); right: 0; top: auto;
    background: rgba(255,255,255,0.12); border: none;
    color: white; font-size: 1.3rem;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%;
    transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.28); }
/* Mobile: not enough room outside — move buttons inside the image */
@media (max-width: 700px) {
    .lb-prev { right: auto; left: 0.4cm; }
    .lb-next { left: auto; right: 0.4cm; }
    .lb-close { bottom: auto; top: 0.4cm; right: 0.4cm; }
}

/* ── CONTACT ── */
.contact-wrap { max-width: 900px; margin: 0 auto; }

.contact-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-left: 4px solid var(--sea-light);
}
.contact-block h2 {
    font-size: 1rem; color: var(--sea);
    margin: 0 0 14px 0; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.contact-block p, .contact-block li { color: var(--text); font-size: 1rem; margin: 0 0 8px 0; line-height: 1.6; }
.contact-block a { color: var(--coral); font-weight: 600; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-block ul { padding-left: 20px; margin: 0; }

/* ── ABOUT MAIN ── */
.about-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 36px 32px;
    margin-bottom: 28px;
}
.about-card:last-child { margin-bottom: 0; }

.page-section-title {
    font-size: 1.25rem; font-weight: 700;
    color: var(--sea-deep); margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sea-light);
}

.about-location-table {
    width: 100%; border-collapse: collapse;
    margin-bottom: 18px; font-size: 0.98rem;
}
.about-location-table th {
    text-align: left; padding: 12px 10px;
    background: var(--sand-mid); color: var(--sea-deep);
    font-weight: 700; border-bottom: 2px solid var(--border);
}
.about-location-table td {
    text-align: left; padding: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text); vertical-align: top;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px 36px;
}
.feat-title { font-weight: 700; color: var(--sea-deep); margin: 0 0 8px 0; font-size: 1rem; }
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li {
    padding-left: 16px; position: relative;
    color: var(--text); margin-bottom: 4px; font-size: 0.96rem;
}
.feat-list li::before { content: "•"; color: var(--coral); position: absolute; left: 0; }

/* ── RULES ── */
.rules-wrap { max-width: 1000px; margin: 0 auto; }

.rules-h1 {
    font-size: 2rem; font-weight: 800;
    color: var(--sea-deep); margin: 0 0 32px 0;
    display: flex; align-items: center; gap: 12px;
}

.rule-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px; margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-left: 4px solid var(--sea-light);
}
.rule-card h2 {
    font-size: 1.1rem; color: var(--sea);
    margin: 0 0 12px 0; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.rule-card p, .rule-card li { color: var(--text); font-size: 1rem; line-height: 1.7; margin: 6px 0; }
.rule-card ul { padding-left: 20px; margin: 8px 0; }

.time-slot {
    background: var(--sun-lt); color: var(--sea-deep);
    padding: 4px 14px; border-radius: 16px;
    font-weight: 700; display: inline-block; margin: 4px 0;
}
.note-box {
    background: var(--sand-mid);
    border-left: 3px solid var(--sun);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 10px 0;
    color: var(--text);
    font-size: 0.96rem;
}

.faq-section { margin-top: 40px; }
.faq-section h2 { font-size: 1.5rem; color: var(--sea-deep); font-weight: 800; margin: 0 0 20px 0; }
.faq-item { margin-bottom: 10px; }
.faq-question {
    cursor: pointer; padding: 14px 20px;
    background: var(--white); border-radius: 8px;
    color: var(--sea-deep); font-weight: 700;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    border-left: 3px solid var(--sea);
    transition: background 0.2s;
}
.faq-question:hover { background: var(--sand-mid); }
.faq-answer {
    padding: 14px 20px; display: none;
    background: var(--sand); border-radius: 0 0 8px 8px;
    color: var(--text); font-size: 0.97rem; line-height: 1.7;
}

/* ── SIDE FLORAL DECORATIONS ── */
/*
 * Each strip is wider than the image so the outer half bleeds off-screen.
 * background-position-x: right on the left strip → image's right (inner) edge
 * is flush with the element's right edge; the left half disappears off screen.
 * Mirror logic for the right strip.
 */
.deco {
    position: fixed;
    top: 70px;
    bottom: 0;
    width: 200px;
    background: url('images/depo/sideimage.webp') top / 170px auto repeat-y;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    scale: 2;
}
.deco-l {
    left: -70px;
    background-position-x: right;
}
.deco-r {
    right: -70px;
    background-position-x: left;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes leaf-sway {
        0%   { translate:  0px   0px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        15%  { translate:  5px  -6px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        30%  { translate:  3px -14px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        45%  { translate: -4px -10px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        60%  { translate: -6px -18px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        75%  { translate: -2px  -8px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        88%  { translate:  4px  -4px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
        100% { translate:  0px   0px; }
    }
    .deco-l { animation: leaf-sway 14s linear infinite -4s; }
    .deco-r { animation: leaf-sway 14s linear infinite -0.5s; }
}

/* Narrow gutters — hide left first */
@media (max-width: 1100px) {
    .deco-l { display: none; }
    .deco-r { opacity: 0.70; }
}
/* Mobile — centered background watermark instead of side strips */
@media (max-width: 750px) {
    .deco-l { display: none; }
    .deco-r {
        left: 0;
        right: 0;
        width: 100%;
        background-position: center top;
        background-size: auto;
        opacity: 0.28;
        z-index: 0;
    }
}
@media (max-width: 480px) {
    .deco   { top: 60px; }
    .deco-r { opacity: 0.22; }
}

/* ── FOOTER ── */
footer {
    background: var(--sea-deep);
    color: rgba(255,255,255,0.9);
    padding: 44px 24px 20px;
    font-size: 0.92rem;
    line-height: 1.85;
    position: relative;
    z-index: 1;
}
.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}
.footer-info { flex: 1; text-align: right; }
.footer-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.footer-counter {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
}
.footer-counter img { border-radius: 4px; display: block; max-width: 100%; }
footer a { color: var(--sun); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-icons { display: flex; justify-content: flex-end; gap: 14px; margin: 14px 0 0; }
.footer-copy { text-align: center; margin-top: 24px; opacity: 0.55; font-size: 0.84rem; max-width: 960px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
    .footer-main { flex-direction: column-reverse; align-items: center; }
    .footer-info { text-align: center; }
    .footer-divider { width: 60px; height: 1px; align-self: auto; }
    .footer-icons { justify-content: center; }
}
.f-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.05rem; font-weight: 800;
    text-decoration: none; transition: transform 0.2s;
}
.f-icon:hover { transform: scale(1.1); }
.f-b { background: #003580; color: #fff; }
.f-g { background: #4285F4; color: #fff; }

/* ── BOOKING PAGE ── */
.booking-wrap { max-width: 960px; margin: 0 auto; padding: 60px 24px; }

.booking-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 36px;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--sea-light);
    transition: transform 0.2s, box-shadow 0.2s;
}
.booking-card:hover { transform: translateY(-4px); box-shadow: 0 6px 28px rgba(0,0,0,0.13); }
.booking-card.booking-coral { border-top-color: var(--coral); }

.booking-card-icon { font-size: 2.8rem; margin-bottom: 20px; }

.booking-card h2 { font-size: 1.45rem; color: var(--sea-deep); font-weight: 800; margin: 0 0 12px 0; }

.booking-card > p { color: var(--text-lt); font-size: 1rem; line-height: 1.7; margin: 0 0 20px 0; }

.booking-card ul { list-style: none; padding: 0; margin: 0 0 24px 0; text-align: left; width: 100%; }
.booking-card ul li { padding: 5px 0 5px 24px; position: relative; color: var(--text); font-size: 0.97rem; }
.booking-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

.booking-contact-info {
    width: 100%; background: var(--sand-mid);
    border-radius: 8px; padding: 14px 16px;
    margin: 0 0 24px 0; text-align: left;
}
.booking-contact-info p { margin: 5px 0; font-size: 0.97rem; color: var(--text); }
.booking-contact-info a { color: var(--coral); font-weight: 600; text-decoration: none; }
.booking-contact-info a:hover { text-decoration: underline; }

.booking-card .cta-button { width: 100%; text-align: center; margin-top: auto; box-sizing: border-box; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
    .menu-toggle { display: flex; }
    nav {
        position: fixed; top: 0; right: -100%;
        height: 100vh; width: 220px;
        background: var(--sea-deep);
        padding: 80px 16px 20px;
        transition: 0.3s ease; overflow-y: auto;
    }
    nav.active { right: 0; }
    nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
    nav ul li { width: 100%; margin: 0 0 4px 0; }
    .dropdown-menu li { margin: 0; }
    nav ul li a, nav ul li .dropdown-toggle { width: 100%; box-sizing: border-box; }
    .dropdown-menu {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        transform: none;
        box-shadow: 0 6px 18px rgba(0,0,0,0.3);
        border-radius: 8px;
        border-top: none;
        padding-top: 0;
        background: var(--sea-deep);
        z-index: 10;
    }
    .dropdown-menu a {
        padding-left: 16px;
        color: var(--white);
    }
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background: rgba(255,255,255,0.2);
        color: var(--sun);
    }
    header { padding: 0 20px; }
    /* Mobile dropdown open state — toggled by JS on first tap */
    nav li.dropdown.mob-open > .dropdown-menu { display: block; }
}

@media (max-width: 750px) {
    .room-intro { grid-template-columns: 1fr; gap: 28px; }
    .room-highlights { grid-template-columns: 1fr; }
    .about-flex { flex-direction: column; }
    .host-box { flex-direction: column; align-items: flex-start; }
    .hero { height: calc(100svh - 70px); }
    .hero h1 { font-size: 1.9rem; }
    .hero-mini h1 { font-size: 1.8rem; }
    .hero-content { padding: 28px 20px; margin: 16px; }
    .section, .section-alt .inner, .section-sea .inner { padding: 44px 16px; }
    .stats-bar { gap: 24px; }
    .about-location-table { font-size: 0.85rem; }
    .booking-options { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .header-logo .logo { display: none; }
    header { height: 60px; }
    main { padding-top: 60px; }
    .hero { height: calc(100svh - 60px); }
    .hero-mini h1 { font-size: 1.5rem; }
}

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed;
    bottom: 90px; right: 34px;
    background: var(--sea);
    color: var(--white);
    width: 44px; height: 44px;
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.2s, background 0.2s;
    z-index: 998;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--sea-deep); transform: translateY(-3px); }
[data-theme="dark"] .back-to-top { background: var(--sea-deep); }
[data-theme="dark"] .back-to-top:hover { background: var(--sea); }

/* ── WHATSAPP link ── */
.wa-link {
    color: #25D366;
    font-size: 1.05em;
    margin-left: 3px;
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.15s;
}
.wa-link:hover { color: #128C7E; text-decoration: none; }
footer .wa-link { color: #4AE57A; }
footer .wa-link:hover { color: #25D366; }
.f-wa { background: #25D366; color: #fff; font-size: 1.05rem; }

/* ── COPY EMAIL ── */
.copy-email-btn {
    background: none; border: none; cursor: pointer;
    color: var(--sea); font-size: 0.88rem;
    padding: 2px 6px; border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    vertical-align: middle;
}
.copy-email-btn:hover { background: var(--sand-mid); color: var(--sea-deep); }
.copy-email-btn.copied { color: #1e8449; }

/* ── REVEAL ON SCROLL ── */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { transform: none; transition: opacity 0.3s ease; }
}

@media (max-width: 600px) {
    .feat-grid {
        grid-template-columns: 1fr !important;
    }
    .feat-grid .card[style*="grid-column"] {
        grid-column: 1 !important;
    }
}

/* Layered feature photo. Reserve space for the entire moving foreground. */
.part-scene {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 400px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--sand);
}
.part-scene img {
    position: absolute;
    display: block;
    max-width: none;
    pointer-events: none;
}
.part-left, .part-right {
    top: 0;
    width: calc(55% + 28px);
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.part-left {
    left: -14px;
    object-position: left center;
    animation: partRevealLeft 6s ease-in-out infinite alternate;
}
.part-right {
    right: -14px;
    object-position: right center;
    animation: partRevealRight 6s ease-in-out infinite alternate;
}
@keyframes partRevealLeft {
    from { transform: translateX(-14px); }
    to { transform: translateX(14px); }
}
@keyframes partRevealRight {
    from { transform: translateX(-14px); }
    to { transform: translateX(14px); }
}
.part-middle {
    top: 0;
    left: 50%;
    width: auto;
    height: 100%;
    z-index: 2;
    transform: translateX(-50%);
    animation: partDriftHorizontal 6s ease-in-out infinite alternate;
}
.part-scene .part-middle-mobile { display: none; }
@keyframes partDriftHorizontal {
    from { transform: translateX(calc(-50% - 28px)); }
    to { transform: translateX(calc(-50% + 28px)); }
}
@media (max-width: 800px) {
    /* The mobile PNG is almost square: a fixed 400px frame crops its top.
       Its natural aspect ratio plus 44px reserves the full vertical travel. */
    .part-scene {
        height: auto;
        padding-block: 22px;
    }
    .part-left, .part-right {
        left: 0;
        right: auto;
        width: 100%;
        height: calc(55% + 24px);
    }
    .part-left {
        top: -12px;
        object-position: center bottom;
        animation-name: partRevealTop;
    }
    .part-right {
        top: auto;
        bottom: -12px;
        object-position: center top;
        animation-name: partRevealBottom;
    }
    .part-scene .part-middle { display: none; }
    .part-scene .part-middle-mobile {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        z-index: 2;
        animation: partDriftVertical 6s ease-in-out infinite alternate;
    }
}
@keyframes partDriftVertical {
    from { transform: translateY(-22px); }
    to { transform: translateY(22px); }
}
@keyframes partRevealTop {
    from { transform: translateY(-10px); }
    to { transform: translateY(10px); }
}
@keyframes partRevealBottom {
    from { transform: translateY(-10px); }
    to { transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
    .part-scene img { animation: none; }
}
