/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* --- LUXURY PALETTE --- */
    --bg-cream: #f4f1ea;
    --bg-white: #ffffff;
    --bg-dark: #0f1319;   /* Deep Navy/Black */
    --bg-darker: #050608;
    
    --text-dark: #2c2c2c;
    --text-grey: #666666;
    --text-white: #ffffff;
    
    --gold: #d4af37;      /* Primary Luxury Accent */
    --gold-hover: #b59020;
    
    /* --- GAMING PALETTE --- */
    --neon-blue: #00f2ff;
    --neon-purple: #bc13fe;
    
    /* --- FONTS --- */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-tech: 'Syncopate', sans-serif;
    --font-game: 'Orbitron', sans-serif;
    
    /* --- LAYOUT --- */
    --container-width: 1400px;
    --section-padding: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* GSAP handles smoothing */
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, video {
    max-width: 100%;
    display: block;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

ul { list-style: none; }

/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
}

/* Colors */
.text-gold { color: var(--gold); }
.text-white { color: var(--text-white); }
.text-dark { color: var(--text-dark); }
.text-grey { color: var(--text-grey); }
.text-neon { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0,242,255,0.5); }
.text-center { text-align: center; }

/* Backgrounds */
.bg-dark { background-color: var(--bg-dark); }
.bg-cream { background-color: var(--bg-cream); }
.bg-white { background-color: var(--bg-white); }

/* Spacing */
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.pt-5 { padding-top: 3rem; }

/* Layout Containers */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: var(--section-padding) 5vw;
}

/* Headings */
.heading-lg {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.heading-xl {
    font-size: 8rem;
    line-height: 0.9;
    color: var(--bg-dark);
}

.section-tag {
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    color: var(--gold);
}

.split-text-reveal {
    font-size: 2.5rem;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   3. PRELOADER & FIXED BACKGROUND
   ========================================================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--gold);
}

.loader-logo {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 30px;
}

.loader-line {
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.5s;
}

.loader-text {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 20px;
    opacity: 0.7;
}

.fixed-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/white-diamond-dark.png');
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   4. CUSTOM CURSOR
   ========================================================================== */
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    mix-blend-mode: difference;
    color: white;
    transition: background-color 0.3s, padding 0.3s;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%; height: 1px;
    background: var(--gold);
    transition: 0.3s var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.book-btn {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 30px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.book-btn:hover {
    background: white;
    color: var(--bg-dark);
}

.hamburger { display: none; font-size: 24px; cursor: pointer; color: white; }

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-dark); z-index: 1000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-overlay .m-link {
    font-family: var(--font-serif);
    font-size: 2.5rem; color: white; margin: 10px 0;
}
.mobile-nav-overlay .book-btn { margin-top: 30px; }

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-img-container {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-media {
    width: 100%; height: 100%; object-fit: cover;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.hero-content {
    z-index: 2;
    transform: translateY(30px);
}

.pre-title {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 20px;
}

.main-title {
    font-size: 7vw;
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 1;
    margin-bottom: 30px;
}

.hero-divider {
    width: 1px; height: 60px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 30px;
}

.subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    opacity: 0.9;
}

.scroll-indicator {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 20px; height: 32px;
    border: 1px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px; left: 50%;
    width: 2px; height: 6px;
    background: white;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* ==========================================================================
   7. SUITES (EXPANDABLE - FLIP)
   ========================================================================== */
.header-flex {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 60px; padding-bottom: 30px; border-bottom: 1px solid rgba(0,0,0,0.1);
}
.desc-text { color: var(--text-grey); font-family: var(--font-serif); font-size: 1.1rem; }

.suites-grid-expandable {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.suite-item {
    position: relative;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.suite-preview { position: relative; height: 500px; }
.suite-preview img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.suite-item:hover .suite-preview img { transform: scale(1.05); }

.suite-info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}
.suite-info h3 { font-family: var(--font-serif); font-size: 2rem; }
.view-btn {
    border: 1px solid white; background: transparent; color: white;
    padding: 10px 20px; margin-top: 10px; cursor: pointer; text-transform: uppercase; font-size: 10px; letter-spacing: 1px;
}

/* Expanded State */
.suite-item.expanded {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 9999; overflow-y: auto; cursor: default; border-radius: 0;
}
.suite-item.expanded .suite-preview { display: none; }
.suite-full-content {
    display: none; height: 100%; background: var(--bg-cream); color: var(--text-dark);
}
.suite-item.expanded .suite-full-content { display: block; }

.full-inner { display: flex; height: 100%; }
.full-text {
    width: 40%; padding: 80px; overflow-y: auto; position: relative;
    display: flex; flex-direction: column; justify-content: center;
}
.full-media {
    width: 60%; height: 100%; display: grid; grid-template-rows: 1fr 1fr;
}
.full-media img { width: 100%; height: 100%; object-fit: cover; }

.full-text h2 { font-size: 3rem; color: var(--gold); }
.full-text ul li { margin-bottom: 10px; font-size: 1.1rem; color: #555; }
.full-text i { color: var(--gold); margin-right: 15px; }

.close-btn {
    position: absolute; top: 30px; right: 30px; font-size: 14px; text-transform: uppercase;
    background: none; border: 1px solid #ccc; padding: 10px 20px; cursor: pointer; transition: 0.3s;
}
.close-btn:hover { background: var(--bg-dark); color: white; }

/* ==========================================================================
   8. VISUAL STORY (DRAGGABLE)
   ========================================================================== */
.overflow-hidden { overflow: hidden; }
.drag-container {
    width: 100%; height: 80vh; overflow: hidden; position: relative; cursor: grab; background: #111;
}
.drag-container:active { cursor: grabbing; }
.drag-wall {
    display: grid; grid-template-columns: repeat(4, 400px); grid-template-rows: repeat(3, 300px);
    gap: 20px; width: max-content; padding: 100px;
}
.d-item {
    width: 100%; height: 100%; border-radius: 4px; overflow: hidden; position: relative;
}
.d-item img {
    width: 100%; height: 100%; object-fit: cover; transition: 0.3s; filter: brightness(0.8);
}
.d-item:hover img { transform: scale(1.05); filter: brightness(1); }

/* ==========================================================================
   9. NEW: WEDDING BENTO GRID
   ========================================================================== */
.wedding-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 400px 300px;
    gap: 30px;
    margin-top: 50px;
}

.w-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.w-card img, .w-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.w-card:hover img, .w-card:hover video {
    transform: scale(1.05);
}

.w-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.w-card:hover .w-overlay {
    opacity: 1;
}

.w-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.w-text p {
    color: var(--gold);
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg-dark);
    font-size: 20px;
}

/* Specific Grid Placements */
.video-card {
    grid-row: span 2; /* Takes up full left height */
}

.wide-card {
    grid-column: span 2; /* Takes up full bottom width if layout changes */
}

/* ==========================================================================
   10. DINING GRID
   ========================================================================== */
.dining-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px;
}
.dining-item { text-align: center; cursor: pointer; }
.d-img { height: 350px; overflow: hidden; margin-bottom: 20px; }
.d-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: 0.5s; }
.dining-item:hover .d-img img { filter: grayscale(0%); transform: scale(1.1); }

/* ==========================================================================
   11. ADVENTURE PARK (HORIZONTAL)
   ========================================================================== */
.pin-section {
    height: 100vh; overflow: hidden; background: var(--bg-white); display: flex; align-items: center;
}
.pin-wrap {
    height: 100vh; display: flex; align-items: center; padding-left: 10vw; width: max-content;
}
.pin-text { min-width: 35vw; padding-right: 50px; }
.horizontal-gallery { display: flex; gap: 80px; padding-right: 10vw; }
.h-item { width: 400px; flex-shrink: 0; text-align: left; }
.h-item img { height: 500px; object-fit: cover; margin-bottom: 20px; }
.h-item h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--bg-dark); }

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.faq-wrapper { max-width: 800px; margin: 50px auto 0; }
details { border-bottom: 1px solid #ddd; padding: 25px 0; }
details summary { font-family: var(--font-serif); font-size: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; }
details p { margin-top: 15px; color: #666; }

/* ==========================================================================
   13. ADVANCED FOOTER
   ========================================================================== */
.footer {
    position: relative; padding: 0 0 30px 0; overflow: hidden;
    background: linear-gradient(to bottom, #0f1319, #050608);
}
.newsletter-strip {
    background: rgba(212, 175, 55, 0.1); padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px);
}
.nl-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.nl-form { display: flex; gap: 10px; flex: 1; max-width: 500px; }
.nl-form input {
    background: transparent; border: 1px solid rgba(255,255,255,0.3); padding: 15px 20px;
    color: white; width: 100%; font-family: var(--font-sans);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0;
}
.social-buttons { display: flex; flex-direction: column; gap: 15px; }
.s-btn {
    display: flex; align-items: center; gap: 15px; padding: 10px 15px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: white; font-size: 0.9rem; transition: 0.3s; border-radius: 4px;
}
.s-btn:hover { transform: translateX(10px); background: rgba(255,255,255,0.1); }
.s-btn.fb:hover { border-color: #1877F2; color: #1877F2; }
.s-btn.wa:hover { border-color: #25D366; color: #25D366; }
.s-btn.yt:hover { border-color: #FF0000; color: #FF0000; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 0.85rem; color: #666; }
.eightexms { color: var(--gold); font-weight: 700; cursor: help; }

/* ==========================================================================
   14. GAMING & KIDS PARK STYLES (NEON/GLITCH)
   ========================================================================== */
/* Glitch Text */
.glitch-text { position: relative; color: white; }
.glitch-text::before, .glitch-text::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-text::before {
    left: 2px; text-shadow: -1px 0 red; clip: rect(24px, 550px, 90px, 0); animation: glitch 3s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px; text-shadow: -1px 0 blue; clip: rect(85px, 550px, 140px, 0); animation: glitch 2s infinite linear alternate-reverse;
}
@keyframes glitch {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(40px, 9999px, 60px, 0); }
    60% { clip: rect(20px, 9999px, 10px, 0); }
    100% { clip: rect(60px, 9999px, 80px, 0); }
}

/* Game Arena List */
.game-list { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; }
.game-row {
    display: flex; justify-content: space-between; align-items: center; padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1); cursor: none; transition: 0.3s;
}
.game-row:hover { padding-left: 20px; background: rgba(255,255,255,0.02); }
.game-num { font-family: var(--font-game); color: #555; font-size: 1.2rem; }
.game-title { font-family: var(--font-game); font-size: 3rem; color: white; text-transform: uppercase; margin: 0; }
.game-cat { color: var(--neon-blue); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* Floating Preview */
.game-preview-follow {
    position: fixed; top: 0; left: 0; width: 400px; height: 250px;
    pointer-events: none; z-index: 999; opacity: 0; transform: scale(0);
    border-radius: 10px; overflow: hidden; box-shadow: 0 0 30px rgba(0,242,255,0.3);
}
.game-preview-follow img { width: 100%; height: 100%; object-fit: cover; }

/* Kids Section */
.kids-features li { margin-bottom: 20px; font-size: 1.2rem; }
.kids-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.k-img { border-radius: 20px; transform: rotate(-5deg); transition: 0.5s; }
.k-img.k2 { transform: rotate(5deg) translateY(30px); }
.k-img:hover { transform: rotate(0) scale(1.05); z-index: 2; }

/* Video Showcase */
.video-showcase { position: relative; height: 60vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-showcase video { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.6); }
.stroke-text { -webkit-text-stroke: 2px #fff; color: transparent; }
.back-link { color: var(--neon-blue); text-decoration: underline; text-transform: uppercase; letter-spacing: 2px; }

/* ==========================================================================
   15. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
    /* Nav */
    .navbar { padding: 15px 20px; background: rgba(15,19,25,0.95); }
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: block; }

    /* Type */
    .main-title { font-size: 13vw; }
    .heading-lg { font-size: 2.5rem; }
    .heading-xl { font-size: 4rem; }
    
    /* Layouts */
    .suites-grid-expandable, .news-slider-wrapper, .footer-grid, .dining-grid {
        grid-template-columns: 1fr;
    }
    .row-flex, .full-inner, .nl-content { flex-direction: column; }
    .col-half, .full-text, .full-media, .nl-form { width: 100%; height: auto; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

    /* Wedding Bento Grid Mobile */
    .wedding-bento-grid {
        display: flex; flex-direction: column; height: auto;
    }
    .w-card { height: 300px; }
    .video-card { height: 400px; }

    /* Gaming */
    .game-title { font-size: 1.5rem; }
    .game-preview-follow { display: none; }
    .game-row { cursor: default; }
    .kids-grid { grid-template-columns: 1fr; }

    /* Draggable */
    .drag-container { height: 50vh; overflow-x: scroll; cursor: default; }
    .drag-wall { display: flex; width: max-content; padding: 20px; gap: 10px; }
    .d-item { width: 250px; height: 180px; flex-shrink: 0; }

    /* Horizontal Scroll */
    .pin-wrap { padding-left: 20px; }
    .horizontal-gallery { gap: 20px; }
    .h-item { width: 85vw; }
    .h-item img { height: 400px; }
    .pin-text { padding-right: 0; min-width: auto; margin-bottom: 30px; }

    .section-padding { padding: 80px 5vw; }
    .cursor-dot, .cursor-outline { display: none; }
}