/* ===== ROOT VARIABLES ===== */
:root {
    --bg-primary: #0A0E1A;
    --bg-secondary: #111627;
    --bg-card: rgba(17, 22, 39, 0.7);
    --gold: #D4AF37;
    --gold-light: #F2CA50;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --text-primary: #F4F4F4;
    --text-secondary: rgba(244, 244, 244, 0.65);
    --text-muted: rgba(244, 244, 244, 0.4);
    --glass-bg: rgba(17, 22, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.preloader-ring {
    position: absolute; border: 2px solid transparent; border-radius: 50%;
    animation: preloaderSpin 1.5s linear infinite;
}
.preloader-ring:nth-child(1) { width: 80px; height: 80px; border-top-color: var(--gold); }
.preloader-ring:nth-child(2) { width: 60px; height: 60px; border-right-color: var(--gold-light); animation-duration: 1.2s; animation-direction: reverse; }
.preloader-ring:nth-child(3) { width: 40px; height: 40px; border-bottom-color: var(--gold); animation-duration: 0.9s; }
.preloader-text { font-family: var(--font-heading); font-size: 11px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
@keyframes preloaderSpin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: min(92%, 1280px); z-index: 1000;
    background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border); border-radius: 60px;
    padding: 12px 28px; transition: var(--transition);
}
.navbar.scrolled { background: rgba(10, 14, 26, 0.92); border-color: rgba(212, 175, 55, 0.15); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 20px; color: var(--gold); }
.logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--text-primary); }
.nav-links { display: flex; gap: 8px; }
.nav-link {
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-secondary); padding: 8px 16px; border-radius: 30px;
    transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.nav-cta {
    font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--bg-primary); background: var(--gold); padding: 10px 24px;
    border-radius: 30px; transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: scale(1.05); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }
.mobile-menu { display: none; }

/* ===== HERO ===== */
.hero-section {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 120px 40px 80px;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,14,26,0.6) 0%, rgba(10,14,26,0.85) 50%, var(--bg-primary) 100%);
}
.character-canvas {
    position: fixed; top: 0; right: 0; width: 45vw; height: 100vh;
    z-index: 2; pointer-events: none; opacity: 0.9;
}
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); background: var(--gold-dim);
    padding: 10px 22px; border-radius: 30px; border: 1px solid rgba(212,175,55,0.2);
    margin-bottom: 28px;
}
.badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero-title { font-family: var(--font-heading); margin-bottom: 24px; }
.title-line { display: block; font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; }
.title-accent { color: var(--gold); font-style: italic; }
.text-accent { color: var(--gold); }
.hero-subtitle { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 14px 30px; border-radius: 50px; transition: var(--transition);
}
.btn-primary {
    background: var(--gold); color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,0.4); }
.btn-secondary { border: 1.5px solid var(--gold); color: var(--gold); }
.btn-secondary:hover { background: var(--gold-dim); }
.btn-room {
    width: 100%; justify-content: center; background: transparent;
    border: 1.5px solid rgba(212,175,55,0.3); color: var(--gold);
    margin-top: 16px;
}
.btn-room:hover { background: var(--gold); color: var(--bg-primary); }
.btn-submit { width: 100%; justify-content: center; }

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex; gap: 32px; align-items: center;
    background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 24px 32px;
}
.stat { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--gold); }
.stat-suffix { font-family: var(--font-heading); font-size: 24px; color: var(--gold); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 3;
}
.scroll-indicator span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.scroll-mouse {
    width: 24px; height: 38px; border: 2px solid var(--text-muted); border-radius: 12px;
    display: flex; justify-content: center; padding-top: 8px;
}
.scroll-wheel { width: 3px; height: 8px; background: var(--gold); border-radius: 3px; animation: scrollAnim 2s infinite; }
@keyframes scrollAnim { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ===== SECTIONS ===== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.rooms-section, .amenities-section, .gallery-section, .testimonials-section, .contact-section {
    padding: 100px 0; position: relative;
}
.amenities-section { background: var(--bg-secondary); }
.testimonials-section { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
}
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ===== ROOM CARDS ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.room-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    overflow: hidden; transition: var(--transition);
}
.room-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.room-image-wrap { position: relative; height: 240px; overflow: hidden; }
.room-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-image { transform: scale(1.08); }
.room-badge {
    position: absolute; top: 16px; left: 16px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    background: var(--gold); color: var(--bg-primary); padding: 6px 14px; border-radius: 20px;
}
.room-badge-value { background: #4ECDC4; }
.room-badge-budget { background: #A78BFA; }
.room-overlay {
    position: absolute; inset: 0; background: rgba(10,14,26,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.room-card:hover .room-overlay { opacity: 1; }
.room-view {
    font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: white; border: 1.5px solid white; padding: 10px 24px; border-radius: 30px;
}
.room-info { padding: 24px; }
.room-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.room-name { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.room-price { text-align: right; }
.price-amount { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--gold); }
.price-period { font-size: 13px; color: var(--text-muted); }
.room-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.room-amenities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.room-amenity { font-size: 12px; background: var(--gold-dim); color: var(--text-primary); padding: 5px 12px; border-radius: 20px; }

/* ===== AMENITIES ===== */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.amenity-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center; transition: var(--transition);
}
.amenity-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.amenity-icon { font-size: 36px; margin-bottom: 16px; }
.amenity-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.amenity-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FEATURES / GALLERY ===== */
.features-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 36px 28px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.2); }
.feature-large { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(212,175,55,0.08), var(--glass-bg)); }
.feature-number { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--gold-dim); margin-bottom: 12px; line-height: 1; }
.feature-title { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-glow {
    position: absolute; top: -50%; right: -20%; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
    pointer-events: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(212,175,55,0.2); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 4px; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; color: var(--bg-primary); font-size: 18px;
}
.author-name { display: block; font-weight: 600; font-size: 15px; }
.author-role { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: 0.5px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-input {
    width: 100%; padding: 14px 18px; font-size: 15px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); color: var(--text-primary);
    transition: var(--transition); outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-md);
    padding: 20px;
}
.info-icon { font-size: 24px; flex-shrink: 0; }
.info-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.info-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.info-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--glass-border); }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--glass-border); background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.footer-heading { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--glass-border); font-size: 13px; color: var(--text-muted); }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== FORM SUCCESS ===== */
.form-success {
    text-align: center; padding: 40px;
    background: var(--glass-bg); border-radius: var(--radius-lg);
    border: 1px solid rgba(212,175,55,0.3);
}
.form-success h3 { font-family: var(--font-heading); font-size: 24px; color: var(--gold); margin-bottom: 12px; }
.form-success p { color: var(--text-secondary); }

/* ===== WHATSAPP BUTTONS ===== */
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
.btn-whatsapp svg { flex-shrink: 0; }
.whatsapp-note { text-align: center; font-size: 13px; color: var(--text-muted); margin: 16px 0 12px; letter-spacing: 1px; text-transform: uppercase; }
.whatsapp-buttons { display: flex; gap: 12px; }
.btn-wa-direct {
    flex: 1; justify-content: center; padding: 12px 16px;
    background: rgba(37,211,102,0.1); border: 1.5px solid rgba(37,211,102,0.3);
    color: #25D366; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    border-radius: 50px; transition: var(--transition); display: flex; align-items: center; gap: 8px;
}
.btn-wa-direct:hover { background: #25D366; color: #fff; }

/* ===== MAP OVERLAY ===== */
.info-map { position: relative; }
.map-link-overlay {
    display: block; text-align: center; padding: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    color: var(--gold); background: var(--glass-bg);
    border: 1px solid var(--glass-border); border-radius: 0 0 12px 12px;
    margin-top: -4px; transition: var(--transition);
}
.map-link-overlay:hover { background: var(--gold-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu.open {
        display: flex; position: fixed; inset: 0; z-index: 999;
        background: rgba(10,14,26,0.97); backdrop-filter: blur(20px);
        align-items: center; justify-content: center;
    }
    .mobile-links { text-align: center; }
    .mobile-link { display: block; font-family: var(--font-heading); font-size: 28px; padding: 16px; color: var(--text-primary); transition: var(--transition); }
    .mobile-link:hover { color: var(--gold); }
    .hero-section { padding: 120px 20px 80px; }
    .hero-content { max-width: 100%; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 60px; height: 1px; }
    .character-canvas { width: 100vw; opacity: 0.3; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .features-showcase { grid-template-columns: 1fr; }
    .feature-large { grid-column: auto; }
}
@media (max-width: 600px) {
    .navbar { top: 10px; padding: 10px 20px; border-radius: 40px; }
    .rooms-grid { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
}
