@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

:root {
    --gold: #c5a059;
    --gold-light: #e2c99a;
    --obsidian: #0f1113;
    --obsidian-light: #1c1f22;
    --ivory: #ffffff;
    --text-muted: #d1d4d9;
    --glass: rgba(15, 17, 19, 0.65);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.light-mode {
    --obsidian: #ffffff;
    --obsidian-light: #f4f6f9;
    --ivory: #1a1a1a;
    --text-muted: #555e68;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* Force light mode visibility */
.light-mode h1, 
.light-mode h2, 
.light-mode h3, 
.light-mode h4, 
.light-mode .luxury-font,
.light-mode p, 
.light-mode span, 
.light-mode li, 
.light-mode a,
.light-mode .nav-link,
.light-mode .nav-item,
.light-mode .footer-luxury p,
.light-mode .footer-luxury a,
.light-mode .footer-luxury li {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

/* Maintain visibility for room cards which have dark overlays */
.light-mode .room-card-overlay h3,
.light-mode .room-card-overlay p,
.light-mode .room-card-overlay span {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

/* Hero Section Visibility - Keep white over dark images */
.hero-luxury h1, .hero-luxury h3, .hero-luxury p {
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.light-mode .hero-luxury h1, 
.light-mode .hero-luxury h3, 
.light-mode .hero-luxury p {
    color: #ffffff !important; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
}

/* Exceptions for Branding Gold */
.light-mode .text-gold,
.light-mode h3.luxury-font,
.light-mode .hero-luxury h3,
.light-mode .footer-luxury h3 {
    color: var(--gold) !important;
}

/* Header Overrides */
.light-mode .luxury-header {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.light-mode .luxury-header .nav-link {
    color: #1a1a1a !important;
}

.light-mode .luxury-header .nav-link:hover {
    color: var(--gold) !important;
}

/* Glass Card Overhaul for Light Mode */
.light-mode .glass-card {
    background: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: none;
}

.light-mode .glass-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

/* Inputs in Light Mode */
.light-mode .glass-input {
    background: #f8f9fa !important;
    color: #1a1a1a !important;
    border: 1px solid #ddd !important;
}

.light-mode .glass-input:focus {
    background: #ffffff !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.light-mode .hero-booking-card label {
    color: #333 !important;
    font-weight: 700;
}

/* Footer Overrides */
.light-mode footer, 
.light-mode .footer-luxury {
    background-color: #f8f9fa !important;
    border-top: 1px solid #eee;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--obsidian);
    color: var(--ivory);
    margin: 0;
    overflow-x: hidden;
}

label {
    color: var(--gold);
}

h1, h2, h3, .luxury-font {
    font-family: 'Playfair Display', serif;
    color: var(--ivory);
}

/* Premium Glassmorphism (Dark Mode Defaults) */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--gold);
    transform: translateY(-10px);
}

.glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--ivory);
    outline: none;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

.booking-input {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    max-width: 100%;
}

/* Booking Page Grids */
.booking-grid {
    grid-template-columns: 1.6fr 1fr;
}

.form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.booking-card-padding {
    padding: 50px;
}

/* Global Layout Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.booking-item-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.rooms-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: flex-end;
}

.hero-booking-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr 0.8fr auto;
    gap: 20px;
    align-items: flex-end;
}

/* Luxury Buttons */
.btn-luxury {
    background: var(--gold);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.light-mode .btn-luxury {
    color: #fff;
}

.btn-luxury:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

.btn-luxury-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* Hero Section */
.hero-luxury {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-secondary {
    height: 45vh !important;
    min-height: 300px !important;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(15, 17, 19, 0.2) 0%, var(--obsidian) 100%);
    z-index: -1;
    opacity: 0.8;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: -2px;
}

.light-mode .hero-content h1 {
    text-shadow: none;
    color: var(--ivory);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--ivory);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.light-mode .hero-content p {
    color: var(--ivory);
    text-shadow: none;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 1s ease forwards;
}

.hero-booking-card {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.story-section {
    padding: 100px 20px;
}

/* Responsive Optimizations */
@media (max-width: 992px) {
    .hero-luxury { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 120px; 
        padding-bottom: 60px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content { margin-top: 40px; }
    .services-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .services-image { order: -1; }
    .services-badge { position: relative !important; bottom: 0 !important; left: 0 !important; margin-top: 20px; max-width: 100% !important; }
    
    .grid-2-col, .contact-grid {
        gap: 40px !important;
    }
    
    .grid-3-col {
        grid-template-columns: 1fr 1fr !important;
    }
}

.booking-item-grid {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1rem; }
    
    .hero-secondary {
        height: 30vh !important;
        min-height: 250px !important;
    }
    
    section { padding: 60px 20px !important; }
    
    .hero-booking-form {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .booking-field, .booking-field-small, .filter-field {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .rooms-filter-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .filter-actions {
        flex-direction: column;
    }

    .booking-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .booking-card-padding {
        padding: 20px !important;
    }

    .booking-input {
        padding: 14px 15px !important;
        border-radius: 16px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
    }

    .btn-luxury {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .rooms-header {
        text-align: center;
        justify-content: center !important;
    }
    
    .rooms-header h2 { font-size: 2.2rem !important; }

    .grid-2-col, .grid-3-col, .contact-grid, .rooms-filter-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .booking-item-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center;
    }
    
    .booking-item-grid > div:first-child {
        width: 100% !important;
        height: 200px !important;
        border-radius: 20px !important;
    }
    
    .booking-item-grid .flex-details {
        justify-content: center !important;
        flex-direction: column;
        gap: 10px !important;
    }
    
    .booking-item-grid > div:last-child {
        text-align: center !important;
    }
    
    .booking-item-grid > div:last-child > div {
        justify-content: center !important;
    }

    /* Timeline Mobile Overrides */
    .timeline-line {
        left: 20px !important;
        transform: none !important;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 50px !important;
        position: relative;
    }
    
    .timeline-content {
        width: 100% !important;
        text-align: left !important;
    }
    
    .timeline-spacer {
        display: none !important;
    }
    
    .timeline-dot {
        position: absolute !important;
        left: 10px !important;
        top: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
}
