:root {
    --ndo-orange: #ff9c3a;
    --ndo-green: #103f36;
    --ndo-charcoal: #3e4143;
    --milenia-soft: #f4f1ea;
    --cursor-gold: #c5a47e;
}

html { scroll-padding-top: 100px; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    color: var(--ndo-charcoal);
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, .font-serif { font-family: 'Playfair Display', serif; }
.font-signature { font-family: 'Mrs Saint Delafield', cursive; }

/* Custom Cursor (Desktop Only) */
#cursor-dot, #cursor-ring { display: none; }

@media (min-width: 1024px) {
    #cursor-dot {
        display: block; width: 4px; height: 4px; background-color: var(--cursor-gold);
        border-radius: 50%; position: fixed; pointer-events: none; z-index: 10000;
        transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, opacity 0.3s;
    }
    #cursor-ring {
        display: block; width: 22px; height: 22px; border: 1px solid var(--cursor-gold);
        border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999;
        transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, border-width 0.3s, background 0.3s;
    }
}

body.cursor-hover #cursor-ring {
    width: 38px; height: 38px; background: rgba(197, 164, 126, 0.15); border-width: 0.5px;
}

/* Header */
header {
    background: white; padding-top: 15px; padding-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    header { background: transparent; padding-top: 32px; padding-bottom: 32px; box-shadow: none; }
    header.scrolled { background: white; padding-top: 15px; padding-bottom: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
}

.header-logo-wrap {
    opacity: 1; transform: translateY(0); pointer-events: auto;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .header-logo-wrap { opacity: 0; transform: translateY(15px); pointer-events: none; }
    header.scrolled .header-logo-wrap { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

.header-item { color: var(--ndo-charcoal); transition: color 0.3s ease; }

@media (min-width: 1024px) {
    .header-item { color: white; }
    header.scrolled .header-item { color: var(--ndo-charcoal); }
}

.menu-trigger {
    font-size: 11px; letter-spacing: 3px; font-weight: 600;
    text-transform: uppercase; display: flex; align-items: center; gap: 12px; cursor: pointer;
}

/* Logo Curtain (Desktop) */
.logo-container {
    background-color: white; padding: 40px 10px 45px 10px; position: fixed; top: 0; left: 48px;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    align-items: center; justify-content: center; z-index: 60;
    border-radius: 0 0 4px 4px;
    animation: curtainDrop 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform: translateY(-100%);
}
@keyframes curtainDrop { to { transform: translateY(0); } }
.logo-container.scrolled-logo { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.logo-img {
    height: 110px; width: auto; image-rendering: -webkit-optimize-contrast;
    opacity: 0; transform: scale(0.95);
    animation: logoReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.8s;
}
@keyframes logoReveal { to { opacity: 1; transform: scale(1); } }

/* Weather */
.weather-icon { font-size: 24px; color: var(--ndo-orange) !important; line-height: 1; }
.weather-temp { font-family: 'Playfair Display', serif; font-size: 28px; line-height: 1; display: flex; align-items: baseline; }

/* CTA */
.btn-book-now {
    background-color: var(--ndo-orange); color: white; padding: 18px 45px;
    font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; transition: all 0.3s;
}
.btn-book-now:hover { background-color: var(--ndo-charcoal); }

/* Side Drawer */
#side-menu-overlay {
    position: fixed; inset: 0; background: rgba(62, 65, 67, 0.4); z-index: 100;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
#side-menu-overlay.active { opacity: 1; visibility: visible; }
#side-drawer {
    position: fixed; top: 0; left: -350px; width: 320px; height: 100vh;
    background: white; z-index: 101; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; padding: 40px 0;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}
#side-drawer.active { left: 0; }
.side-logo-container { padding: 20px 40px 40px 40px; margin-bottom: 20px; text-align: center; }
.side-logo-img { height: 110px; width: auto; margin: 0 auto; display: block; }
.side-nav { flex-grow: 1; overflow-y: auto; padding: 0 40px; }
.side-nav-item {
    display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
    font-family: 'Playfair Display', serif; font-size: 14px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--ndo-charcoal); transition: all 0.3s; cursor: pointer;
}
.side-nav-item:hover { color: var(--ndo-orange); padding-left: 5px; }

/* Hero */
.hero-slider { height: 80vh; min-height: 500px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero-slider { height: 100vh; } }
.hero-item {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1;
}
.hero-item.active { opacity: 1; z-index: 2; animation: kenburns 15s ease-in-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(62, 65, 67, 0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%); z-index: 3; }
.hero-content { position: relative; z-index: 10; text-align: center; color: white; }
.hero-title, .hero-subtitle { opacity: 0; transform: translateY(30px); }
.active-content .hero-title { animation: fadeInUp 1s forwards 0.5s; }
.active-content .hero-subtitle { animation: fadeIn 1s forwards 0.2s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* Slider Nav */
.slider-nav-vertical {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 20;
    flex-direction: column; align-items: center; gap: 10px;
}
@media (min-width: 768px) { .slider-nav-vertical { right: 50px; gap: 15px; } }
.slider-cap-line { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.4); margin: 5px 0; }
@media (min-width: 768px) { .slider-cap-line { width: 2px; height: 60px; margin: 10px 0; } }
.dot-wrap { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (min-width: 768px) { .dot-wrap { width: 28px; height: 28px; } }
.dot { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transition: all 0.4s ease; z-index: 2; }
@media (min-width: 768px) { .dot { width: 8px; height: 8px; } }
.dot-wrap.active .dot { background: #fff; }
.dot-wrap.active::after {
    content: ''; position: absolute; width: 20px; height: 20px; border: 1.5px solid #fff;
    border-radius: 50%; animation: ringScale 0.4s ease-out forwards;
}
@media (min-width: 768px) { .dot-wrap.active::after { width: 24px; height: 24px; } }
@keyframes ringScale { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.scroll-accent { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--ndo-orange), transparent); }
@media (min-width: 768px) { .scroll-accent { height: 60px; } }

/* Facility Cards */
.facility-card {
    border: 1px solid #eee; padding: 40px; text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); background: white;
}
.facility-card:hover { border-color: var(--ndo-orange); transform: translateY(-5px); }
.facility-icon { font-size: 32px; color: var(--ndo-orange); margin-bottom: 25px; display: block; }

/* Rooms */
.room-thumb-item { cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.3; }
.room-thumb-item.active { opacity: 1; }
.room-thumb-img { width: 80px; height: 55px; object-fit: cover; transition: all 0.5s; }
.room-thumb-title {
    font-size: 10px; letter-spacing: 1px; font-weight: 700; line-height: 1.2;
    text-transform: uppercase; color: var(--ndo-charcoal);
}

/* Gallery */
.gallery-container { width: 100%; overflow: hidden; background: white; }
.gallery-track { display: flex; width: fit-content; animation: galleryMarquee 40s linear infinite; }
.gallery-container:hover .gallery-track { animation-play-state: paused; }
@keyframes galleryMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gallery-item { width: 350px; height: 350px; position: relative; flex-shrink: 0; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0;
    transition: opacity 0.5s ease; display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-icon {
    width: 60px; height: 60px; color: white; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    background: rgba(0,0,0,0.2); transition: all 0.3s;
}

/* Reviews */
.review-card {
    background: white; padding: 40px; border: 1px solid #f0f0f0;
    transition: all 0.4s ease; height: 100%;
}
.review-card:hover { border-color: var(--ndo-orange); box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.google-logo { width: 28px; height: auto; filter: grayscale(100%); }
#reviews-track { display: flex; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.review-slide { flex-shrink: 0; }

/* Footer */
.footer-link { transition: all 0.3s ease; color: #9ca3af; cursor: pointer; }
.footer-link:hover { color: var(--ndo-orange); padding-left: 5px; }
.social-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; transition: all 0.3s ease; color: white;
}
.social-btn:hover { background: var(--ndo-orange); border-color: var(--ndo-orange); transform: translateY(-3px); }

/* Lightbox */
#lightbox {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.95); align-items: center; justify-content: center; padding: 40px;
}
#lightbox.active { display: flex; }
#lightbox-img { max-width: 100%; max-height: 90vh; object-fit: contain; box-shadow: 0 0 50px rgba(0,0,0,0.5); transition: opacity 0.3s ease; }
.lightbox-close { position: absolute; top: 40px; right: 40px; color: white; font-size: 30px; cursor: pointer; z-index: 10001; }
.lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 24px;
    cursor: pointer; z-index: 10001; background: rgba(0,0,0,0.4); border-radius: 50%;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.lightbox-nav-btn:hover { background: var(--ndo-orange); }
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
@media (min-width: 1024px) { #lightbox-prev { left: 40px; } #lightbox-next { right: 40px; } }

/* Scroll to Top */
#scroll-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--ndo-orange); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 90;
    cursor: pointer; box-shadow: 0 4px 15px rgba(255, 156, 58, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0; visibility: hidden; transform: translateY(20px);
}
#scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-to-top:hover { background: var(--ndo-charcoal); transform: translateY(-5px); }

/* FAQ */
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    width: 100%; text-align: left; padding: 20px 0; display: flex;
    justify-content: space-between; align-items: center; cursor: pointer;
    font-family: 'Playfair Display', serif; font-size: 16px; color: var(--ndo-charcoal);
    background: none; border: none; transition: color 0.3s;
}
.faq-question:hover { color: var(--ndo-orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0; }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.3s ease; color: var(--ndo-orange); }
