/* ============================================
   JAALLE HOTELS - Premium Brand Experience
   "Everything you need, in your pocket"
   Powered by Jaalle — East Africa's Premier Marketplace
   ============================================ */

:root {
    /* Jaalle Yellow/Gold Palette */
    --gold-50: #FFFBEB;
    --gold-100: #FEF3C7;
    --gold-200: #FDE68A;
    --gold-300: #FCD34D;
    --gold-400: #FBBF24;
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gold-700: #B45309;
    --gold-800: #92400E;
    
    /* Jaalle Brand Primary */
    --jaalle-yellow: #D4AF37;
    --jaalle-gold: #C9A84C;
    --jaalle-amber: #E5C85C;
    
    /* Dark Section (Header + Search) - Jaalle Black */
    --dark-bg: #0A2E23;
    --dark-bg-elevated: #141414;
    --dark-bg-card: #1A1A1A;
    --dark-text: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.7);
    --dark-text-muted: rgba(255, 255, 255, 0.45);
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-border-hover: rgba(212, 175, 55, 0.3);
    
    /* Light Section (Content) */
    --light-bg: #ffffff;
    --light-bg-secondary: #f8f9fa;
    --light-bg-tertiary: #f0f2f5;
    --light-text: #0A2E23;
    --light-text-secondary: #4B5563;
    --light-text-muted: #9CA3AF;
    --light-border: #E5E7EB;
    
    /* Accent Colors - Jaalle Yellow */
    --accent-gold: #D4AF37;
    --accent-gold-light: #FDE68A;
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-success: #10B981;
    
    /* Jaalle Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-xl: 0 30px 70px rgba(0,0,0,0.2);
    --shadow-yellow: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-yellow-lg: 0 8px 32px rgba(212, 175, 55, 0.35);
    
    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

/* ============================================
   PWA UPDATE NOTIFICATION - Jaalle Styled
============================================ */
.pwa-update-notification {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #D4AF37 0%, #C9A84C 100%);
    color: #0A2E23;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-yellow);
    z-index: 10000;
    transition: bottom 0.4s var(--ease-smooth);
    font-size: 0.875rem;
    font-weight: 600;
}

.pwa-update-notification.visible {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

.pwa-update-notification button {
    background: rgba(0, 0, 0, 0.15);
    color: inherit;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.pwa-update-notification button:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* PWA Standalone Mode Adjustments */
body.pwa-standalone .nav {
    padding-top: max(var(--spacing-md), env(safe-area-inset-top));
}

body.pwa-standalone .mobile-nav-menu {
    padding-bottom: max(var(--spacing-xl), env(safe-area-inset-bottom));
}

/* Light Theme Variables */
[data-theme="light"] {
    --dark-bg: #ffffff;
    --dark-bg-elevated: #f8f9fa;
    --dark-bg-card: #ffffff;
    --dark-text: #1a1a1a;
    --dark-text-secondary: #5c5c5c;
    --dark-text-muted: #8c8c8c;
    --dark-border: rgba(0, 0, 0, 0.08);
    --dark-border-hover: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .dark-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] .nav-logo-icon svg path:first-child {
    fill: var(--accent-gold);
}

[data-theme="light"] .search-form-container {
    background: rgba(248, 250, 255, 0.97);
    border: 1px solid rgba(200, 215, 235, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .experience-link svg {
    transform: rotate(180deg);
}

/* ============================================
   BASE & RESET
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-gold);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   DARK HERO SECTION WITH VIDEO
============================================ */
.dark-hero {
    background: var(--dark-bg);
    color: var(--dark-text);
    position: relative;
    overflow: visible;
    /* Fix: Remove any height constraints */
    min-height: auto;
    height: auto;
    display: block;
    z-index: 100;
}

/* Cinematic Vignette Effect */
.dark-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

/* Subtle Film Grain */
.dark-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Video Background Container */
.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    /* Fallback gradient with gold accent */
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 115, 85, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #08080A 0%, #0D0D10 50%, #08080A 100%);
}

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

/* Dark blur overlay for readability */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.7) 30%,
        rgba(10, 10, 10, 0.8) 70%,
        rgba(10, 10, 10, 0.9) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

/* Ensure all hero content is above video */
.dark-hero .nav,
.dark-hero .hero-search,
.dark-hero .mobile-menu-overlay {
    position: relative;
    z-index: 10;
}

.dark-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 162, 39, 0.03) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   NAVIGATION - Mobile First
============================================ */
.nav {
    position: relative;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--dark-border);
}

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-text);
    z-index: 10;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
}

.nav-logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text {
    font-family: 'Playfair Display', var(--font-display), serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-subtitle {
    font-family: 'Outfit', var(--font-body), sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-top: 2px;
}

/* Desktop Menu - Hidden on Mobile */
.nav-menu {
    display: none;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: var(--spacing-sm) 0;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-text);
}

/* Nav Right - Hidden on Mobile */
.nav-right {
    display: none;
    align-items: center;
    gap: var(--spacing-md);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg-elevated);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--dark-text-secondary);
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--dark-bg-elevated);
    border: 1px solid var(--dark-border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    color: var(--dark-text-secondary);
}

.lang-selector:hover {
    border-color: var(--dark-border-hover);
    color: var(--dark-text);
}

.lang-selector svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.lang-selector select {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 0;
}

.lang-selector option {
    background: var(--dark-bg);
    color: var(--dark-text);
}

.btn-nav {
    background: var(--accent-gold);
    color: var(--dark-bg);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--accent-gold-light);
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-text);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE MENU OVERLAY
============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--spacing-md);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--dark-border);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-xl) 0;
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-md) 0;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--dark-text-secondary);
    border-bottom: 1px solid var(--dark-border);
    transition: color 0.3s;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--dark-text);
}

.mobile-menu-footer {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-border);
}

.mobile-lang-select {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.mobile-lang-btn {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--dark-bg-elevated);
    border: 1px solid var(--dark-border);
    color: var(--dark-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.mobile-lang-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark-bg);
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    color: var(--dark-text-secondary);
}

.theme-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--dark-bg-elevated);
    border-radius: 14px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s;
}

.theme-switch-track {
    position: absolute;
    inset: 2px;
    background: var(--dark-border);
    border-radius: 12px;
}

.theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border-radius: 50%;
    transition: transform 0.3s;
}

[data-theme="light"] .theme-switch-thumb {
    transform: translateX(24px);
}

.btn-nav-mobile {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--accent-gold);
    color: var(--dark-bg);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
}

/* ============================================
   HOOYGA 6D CINEMATIC EFFECTS
============================================ */
.cinematic-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Animated Light Rays */
.light-rays {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translateX(-50%);
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(201, 169, 98, 0.02) 10deg,
        transparent 20deg,
        transparent 40deg,
        rgba(201, 169, 98, 0.015) 50deg,
        transparent 60deg,
        transparent 80deg,
        rgba(201, 169, 98, 0.02) 90deg,
        transparent 100deg,
        transparent 120deg,
        rgba(201, 169, 98, 0.015) 130deg,
        transparent 140deg,
        transparent 160deg,
        rgba(201, 169, 98, 0.02) 170deg,
        transparent 180deg,
        transparent 200deg,
        rgba(201, 169, 98, 0.015) 210deg,
        transparent 220deg,
        transparent 240deg,
        rgba(201, 169, 98, 0.02) 250deg,
        transparent 260deg,
        transparent 280deg,
        rgba(201, 169, 98, 0.015) 290deg,
        transparent 300deg,
        transparent 320deg,
        rgba(201, 169, 98, 0.02) 330deg,
        transparent 340deg,
        transparent 360deg
    );
    animation: rotateRays 120s linear infinite;
}

@keyframes rotateRays {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-400);
    border-radius: 50%;
    left: var(--x);
    opacity: 0;
    animation: particleFloat 12s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 6px var(--gold-400), 0 0 12px var(--gold-500);
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.2); }
}

/* ============================================
   6D FLOATING LOGO
============================================ */
.logo-6d-hero {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    perspective: 1000px;
}

.logo-glow-ring {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(201, 169, 98, 0.15),
        rgba(232, 213, 163, 0.25),
        rgba(201, 169, 98, 0.15),
        transparent,
        rgba(139, 115, 85, 0.15),
        rgba(201, 169, 98, 0.2),
        rgba(139, 115, 85, 0.15),
        transparent
    );
    animation: glowRotate 8s linear infinite;
    opacity: 0.9;
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-glow-ring::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--dark-bg);
}

.logo-6d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-8px) rotateX(3deg) rotateY(4deg); }
    50% { transform: translateY(-4px) rotateX(0deg) rotateY(-3deg); }
    75% { transform: translateY(-10px) rotateX(-3deg) rotateY(2deg); }
}

.logo-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-layer-back {
    transform: translateZ(-25px) scale(1.1);
    opacity: 0.2;
    filter: blur(15px);
}

.logo-layer-mid {
    transform: translateZ(-12px) scale(1.05);
    opacity: 0.35;
    filter: blur(6px);
}

.logo-layer-main {
    transform: translateZ(0);
}

.logo-layer-front {
    transform: translateZ(12px);
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.logo-svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 40px rgba(201, 169, 98, 0.5))
            drop-shadow(0 0 20px rgba(201, 169, 98, 0.4))
            drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.logo-layer-back .logo-svg,
.logo-layer-mid .logo-svg {
    filter: none;
}

.logo-reflection {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: linear-gradient(180deg, 
        rgba(201, 169, 98, 0.2) 0%, 
        transparent 100%);
    filter: blur(15px);
    opacity: 0.7;
    animation: reflectionPulse 4s ease-in-out infinite;
}

@keyframes reflectionPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scaleX(1.15); }
}

/* ============================================
   BRAND TEXT & TAGLINE
============================================ */
.brand-text-container {
    text-align: center;
    margin-bottom: 10px;
    animation: textReveal 1.2s ease-out 0.3s both;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.brand-title {
    font-family: 'Playfair Display', var(--font-display), serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(
        135deg,
        var(--gold-100) 0%,
        var(--gold-200) 20%,
        var(--gold-400) 40%,
        var(--gold-200) 60%,
        var(--gold-100) 80%,
        var(--gold-300) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
    text-shadow: 0 0 60px rgba(201, 169, 98, 0.4);
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-subtitle {
    font-family: 'Outfit', var(--font-body), sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold-400);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.brand-subtitle .line-left,
.brand-subtitle .line-right {
    display: inline-block;
    width: 40px;
    height: 1px;
}

.brand-subtitle .line-left {
    background: linear-gradient(90deg, transparent, var(--gold-500));
}

.brand-subtitle .line-right {
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.tagline-container {
    text-align: center;
    margin-bottom: 20px;
    animation: textReveal 1.2s ease-out 0.6s both;
}

.tagline-somali {
    font-family: 'Playfair Display', var(--font-display), serif;
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-shadow: 0 0 60px rgba(201, 169, 98, 0.5), 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.tagline-english {
    font-family: 'Outfit', var(--font-body), sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-400);
    opacity: 1;
}

/* ============================================
   HERO SEARCH SECTION - Mobile First
============================================ */
.hero-search {
    padding: 20px 0 40px;
    position: relative;
    z-index: 500;
    min-height: auto;
    height: auto;
    display: block;
    margin-top: 0;
}

.hero-search-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 501;
}

.hero-headline {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-subtitle {
    color: var(--dark-text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto;
}

/* Search Tabs - Horizontal Scroll on Mobile */
.search-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 calc(var(--spacing-md) * -1);
    padding: 0 var(--spacing-md);
}

.search-tabs::-webkit-scrollbar {
    display: none;
}

.search-tab {
    flex-shrink: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--dark-text-muted);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.search-tab svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.search-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.4s var(--ease-smooth);
}

.search-tab:hover {
    color: var(--dark-text-secondary);
}

.search-tab.active {
    color: var(--dark-text);
}

.search-tab.active svg {
    opacity: 1;
}

.search-tab.active::after {
    width: 100%;
}

/* Search Form - Stacked on Mobile */
.search-form-container {
    position: relative;
    z-index: 100;
    background: rgba(248, 250, 255, 0.97);
    border: 1px solid rgba(200, 215, 235, 0.5);
    padding: var(--spacing-lg);
    margin-top: -1px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: visible !important;
}

/* Dark theme - keep the light form for contrast */
[data-theme="dark"] .search-form-container {
    background: rgba(248, 250, 255, 0.97);
    border: 1px solid rgba(200, 215, 235, 0.5);
}

/* Form labels and inputs need dark text on light background */
.search-form-container .form-label {
    color: #64748b;
}

.search-form-container .form-input,
.search-form-container .form-select {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.search-form-container .form-input:focus,
.search-form-container .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-form-container .guests-count {
    color: #1e293b;
}

.search-form-container .guests-control {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.search-form-container .guests-btn {
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 4px;
}

.search-form-container .guests-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ============================================
   MODERN DATE PICKER STYLES
   ============================================ */

.date-picker-group {
    position: relative;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

.date-display {
    padding-left: 42px !important;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.date-display::placeholder {
    color: #94a3b8;
}

/* Calendar Popup - Booking.com Style Compact Design */
.calendar-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 9999999;
    display: none;
    overflow: visible;
    width: 600px;
    max-width: 95vw;
    isolation: isolate;
}

/* Calendar backdrop overlay */
.calendar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999998;
    display: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.calendar-backdrop.active {
    display: block;
}

.calendar-popup.active {
    display: block;
    animation: calendarSlideIn 0.2s ease-out;
}

@keyframes calendarSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-nav {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: #333;
}

.calendar-nav:hover {
    background: #f3f4f6;
}

.calendar-nav svg {
    width: 16px;
    height: 16px;
    color: #333;
}

.calendar-months-header {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex: 1;
}

.calendar-month-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 120px;
    text-align: center;
}

.calendar-body {
    display: flex;
    padding: 12px 16px 8px;
    gap: 24px;
}

.calendar-month {
    flex: 1;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    padding: 4px 0;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 400;
    color: #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.1s;
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #f3f4f6;
}

.calendar-day.today {
    color: #0071eb;
    font-weight: 700;
}

.calendar-day.selected {
    background: #0071eb;
    color: #fff;
    font-weight: 500;
}

.calendar-day.in-range {
    background: rgba(0, 113, 235, 0.1);
    border-radius: 0;
}

.calendar-day.range-start {
    background: #0071eb;
    color: #fff;
    border-radius: 50% 0 0 50%;
}

.calendar-day.range-end {
    background: #0071eb;
    color: #fff;
    border-radius: 0 50% 50% 0;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.calendar-quick-select {
    display: flex;
    gap: 8px;
}

.calendar-quick-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #333;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s;
}

.calendar-quick-btn:hover,
.calendar-quick-btn.active {
    border-color: #0071eb;
    color: #0071eb;
}

.calendar-btn-clear,
.calendar-btn-today {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #333;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.calendar-btn-clear:hover,
.calendar-btn-today:hover {
    background: #f3f4f6;
}

.calendar-btn-apply {
    padding: 8px 20px;
    border: none;
    background: #0071eb;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.calendar-btn-apply:hover {
    background: #005cc8;
}

/* Dark Theme Calendar - keep light for visibility on hero */
[data-theme="dark"] .calendar-popup {
    background: #1a1a2e;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .calendar-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .calendar-nav {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .calendar-nav:hover {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .calendar-nav svg {
    color: #e2e8f0;
}

[data-theme="dark"] .calendar-month-title {
    color: #f1f5f9;
}

[data-theme="dark"] .calendar-weekday {
    color: #94a3b8;
}

[data-theme="dark"] .calendar-day {
    color: #e2e8f0;
}

[data-theme="dark"] .calendar-day:hover:not(.disabled):not(.empty) {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .calendar-day.disabled {
    color: #475569;
}

[data-theme="dark"] .calendar-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .calendar-btn-clear,
[data-theme="dark"] .calendar-btn-today {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

[data-theme="dark"] .calendar-btn-clear:hover,
[data-theme="dark"] .calendar-btn-today:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Calendar - Full Screen Bottom Sheet */
@media (max-width: 768px) {
    .calendar-popup {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        border-radius: 24px 24px 0 0 !important;
        max-height: 80vh !important;
        overflow-y: auto;
        background: #0a0a0a !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5) !important;
        z-index: 100000 !important;
    }
    
    .calendar-popup.active {
        animation: mobileCalendarSlideUp 0.3s ease-out;
    }
    
    @keyframes mobileCalendarSlideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .calendar-body {
        flex-direction: column;
        gap: 24px;
    }
    
    .calendar-months-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .calendar-day {
        min-width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
    }

    /* 6D Logo Responsive */
    .logo-6d-hero {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .logo-svg {
        width: 90px;
        height: 90px;
    }

    .brand-title {
        font-size: 3rem;
        letter-spacing: 0.05em;
    }

    .brand-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.4em;
    }

    .brand-subtitle .line-left,
    .brand-subtitle .line-right {
        width: 25px;
    }

    .tagline-somali {
        font-size: 2rem;
    }

    .tagline-english {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    .hero-search {
        padding: 30px 0 40px;
    }
}

@media (max-width: 480px) {
    .logo-6d-hero {
        width: 100px;
        height: 100px;
    }

    .logo-svg {
        width: 70px;
        height: 70px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        gap: 10px;
    }

    .tagline-somali {
        font-size: 1.5rem;
    }

    .tagline-english {
        font-size: 0.75rem;
    }

    .cinematic-effects {
        display: none;
    }
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-text-muted);
}

.form-input {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    padding: var(--spacing-md);
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
    border-radius: var(--radius-sm);
    min-height: 48px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-input::placeholder {
    color: var(--dark-text-muted);
}

/* Date Input Styling */
.form-input[type="date"] {
    position: relative;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    padding: 4px;
}

[data-theme="light"] .form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
}

/* Select Styling */
.form-select {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    padding: var(--spacing-md);
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: all 0.3s;
    border-radius: var(--radius-sm);
    min-height: 48px;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-select option {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 10px;
}

/* Guests Control */
.guests-control {
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    min-height: 48px;
}

.guests-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--dark-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guests-btn:hover {
    color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.1);
}

.guests-btn:active {
    transform: scale(0.95);
}

.guests-count {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* Search Button */
.btn-search {
    background: var(--accent-gold);
    color: var(--dark-bg);
    border: none;
    padding: var(--spacing-md);
    min-height: 52px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border-radius: var(--radius-sm);
    width: 100%;
}

.btn-search:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search svg {
    width: 18px;
    height: 18px;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-border);
}

.quick-stat {
    text-align: center;
}

.quick-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-gold);
    margin-bottom: 2px;
}

.quick-stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-text-muted);
}

/* ============================================
   LIGHT CONTENT SECTION
============================================ */
.light-content {
    background: var(--light-bg);
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

/* Section Styling */
.section {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.section-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.section-badge-line {
    width: 20px;
    height: 2px;
    background: var(--accent-gold);
}

.section-badge-text {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--light-text);
    line-height: 1.3;
}

/* ============================================
   PROPERTIES GRID - Mobile First
============================================ */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.property-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-smooth);
    cursor: pointer;
    border: 1px solid var(--light-border);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.property-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.property-card:hover .property-card-image img {
    transform: scale(1.05);
}

.property-card-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--accent-gold);
    color: white;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.property-card-badge.badge-new {
    background: var(--accent-success);
}

.property-card-favorite {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.property-card-favorite:hover {
    background: white;
    transform: scale(1.1);
}

.property-card-favorite svg {
    width: 18px;
    height: 18px;
    color: var(--light-text-muted);
    transition: all 0.3s;
}

.property-card-favorite:hover svg,
.property-card-favorite.active svg {
    color: #e74c3c;
    fill: #e74c3c;
}

.property-card-content {
    padding: var(--spacing-md);
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.property-card-location svg {
    width: 14px;
    height: 14px;
}

.property-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--light-text);
}

.property-card-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.rating-score {
    background: var(--accent-blue);
    color: white;
    padding: 3px 7px;
    border-radius: 6px 6px 6px 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--light-text-secondary);
}

.rating-text strong {
    color: var(--light-text);
}

.property-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-border);
}

.property-card-amenities {
    display: flex;
    gap: var(--spacing-sm);
}

.amenity-icon {
    width: 18px;
    height: 18px;
    color: var(--light-text-muted);
}

.property-card-price {
    text-align: right;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
}

.price-label {
    font-size: 0.7rem;
    color: var(--light-text-muted);
}

/* View All Button */
.section-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-border);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--radius-sm);
}

.btn-outline:hover {
    background: var(--light-text);
    color: var(--light-bg);
    border-color: var(--light-text);
}

/* ============================================
   EXPERIENCES SECTION
============================================ */
.experiences-section {
    background: var(--light-bg-secondary);
}

.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.experience-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.4s var(--ease-smooth);
}

.experience-card:hover::before {
    width: 60px;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.experience-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-lg);
    color: var(--accent-gold);
}

.experience-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--light-text);
}

.experience-text {
    font-size: 0.9rem;
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.experience-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: gap 0.3s;
}

.experience-link:hover {
    gap: var(--spacing-md);
}

.experience-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   WHY CHOOSE US - FEATURES
============================================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    background: var(--light-bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--light-text);
}

.feature-text {
    font-size: 0.8rem;
    color: var(--light-text-secondary);
    line-height: 1.5;
}

/* ============================================
   NEWSLETTER - Blue Accent
============================================ */
.newsletter-section {
    background: var(--accent-blue);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.newsletter-inner {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
}

.newsletter-text {
    opacity: 0.85;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-input {
    padding: var(--spacing-md);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    border-radius: var(--radius-md);
    min-height: 48px;
}

.newsletter-input::placeholder {
    color: var(--light-text-muted);
}

.newsletter-btn {
    background: var(--dark-bg);
    color: white;
    border: none;
    padding: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: var(--radius-md);
    min-height: 48px;
}

.newsletter-btn:hover {
    background: #1a1a1a;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-decoration: none;
    color: var(--dark-text);
}

.footer-logo svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-gold);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
}

.footer-description {
    color: var(--dark-text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-muted);
    transition: all 0.3s;
    border-radius: var(--radius-sm);
}

.footer-social-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-text-muted);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--dark-text);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-copyright {
    color: var(--dark-text-muted);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--dark-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--dark-text-secondary);
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TABLET BREAKPOINT (768px+)
============================================ */
@media (min-width: 768px) {
    .nav-inner {
        padding: 0 var(--spacing-xl);
    }
    
    .nav-logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .nav-logo-text {
        font-size: 1.3rem;
    }
    
    .hero-search-inner {
        padding: 0 var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 400px;
    }
    
    .search-tabs {
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    
    .search-tab {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 0.75rem;
    }
    
    .search-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .btn-search {
        grid-column: span 2;
    }
    
    .quick-stats {
        gap: var(--spacing-3xl);
    }
    
    .quick-stat-value {
        font-size: 2rem;
    }
    
    .quick-stat-label {
        font-size: 0.7rem;
    }
    
    .section {
        padding: var(--spacing-3xl) var(--spacing-xl);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experiences-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
        max-width: 500px;
        margin: 0 auto;
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    
    .newsletter-input {
        flex: 1;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }
    
    .newsletter-btn {
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        padding: var(--spacing-md) var(--spacing-xl);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
============================================ */
@media (min-width: 1024px) {
    .nav {
        padding: var(--spacing-lg) 0;
    }
    
    .nav-inner {
        padding: 0 40px;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-right {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-search {
        padding: 60px 0 80px;
    }
    
    .hero-search-inner {
        padding: 0 40px;
    }
    
    .hero-headline {
        margin-bottom: 50px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .search-tab {
        padding: 18px 40px;
        font-size: 0.8rem;
    }
    
    .search-tab svg {
        width: 18px;
        height: 18px;
    }
    
    .search-form-container {
        padding: 30px;
    }
    
    .search-form {
        grid-template-columns: 1fr 1fr 1fr 160px auto;
        align-items: end;
    }
    
    .btn-search {
        grid-column: auto;
        width: auto;
        padding: 0 32px;
        height: 54px;
    }
    
    .section {
        padding: 100px 40px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-badge-line {
        width: 24px;
    }
    
    .section-badge-text {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }
    
    .section-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .property-card:hover {
        transform: translateY(-8px);
    }
    
    .experience-card {
        padding: 40px 30px;
    }
    
    .experience-card:hover {
        transform: translateY(-6px);
    }
    
    .experience-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 24px;
    }
    
    .experience-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        gap: 40px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }
    
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .feature-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .newsletter-section {
        padding: 80px 40px;
    }
    
    .newsletter-inner {
        max-width: 700px;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .footer {
        padding: 80px 40px 40px;
    }
    
    .footer-main {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 60px;
    }
    
    .footer-brand {
        max-width: 280px;
    }
}

/* ============================================
   LARGE DESKTOP (1200px+)
============================================ */
@media (min-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
============================================ */
@media (hover: none) and (pointer: coarse) {
    .property-card:hover {
        transform: none;
    }
    
    .experience-card:hover {
        transform: none;
    }
    
    .btn-search:hover {
        transform: none;
    }
    
    .property-card-favorite:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .guests-btn {
        width: 56px;
        height: 56px;
    }
    
    .mobile-nav-link {
        padding: var(--spacing-lg) 0;
    }
}

/* ============================================
   SAFE AREA (iPhone X+)
============================================ */
@supports (padding: max(0px)) {
    .nav-inner {
        padding-left: max(var(--spacing-md), env(safe-area-inset-left));
        padding-right: max(var(--spacing-md), env(safe-area-inset-right));
    }
    
    .hero-search-inner {
        padding-left: max(var(--spacing-md), env(safe-area-inset-left));
        padding-right: max(var(--spacing-md), env(safe-area-inset-right));
    }
    
    .section {
        padding-left: max(var(--spacing-md), env(safe-area-inset-left));
        padding-right: max(var(--spacing-md), env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
    }
    
    .mobile-menu-content {
        padding-bottom: max(var(--spacing-md), env(safe-area-inset-bottom));
    }
}

/* ============================================
   REDUCED MOTION
============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   DARK MODE PREFERENCE
============================================ */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Already dark by default */
    }
}

/* ============================================
   BOOKING SIDEBAR STYLES
============================================ */
.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.booking-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #0a0a0a;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

[data-theme="light"] .booking-sidebar {
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.booking-sidebar.active {
    right: 0;
}

[dir="rtl"] .booking-sidebar {
    right: auto;
    left: -100%;
}

[dir="rtl"] .booking-sidebar.active {
    left: 0;
}

.booking-sidebar-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #a68521);
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.booking-hotel-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.booking-hotel-info p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0 0 0.75rem 0;
}

.booking-price-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.booking-price-badge #bookingMinPrice {
    font-weight: 700;
    font-size: 1.25rem;
}

.booking-sidebar-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.booking-sidebar-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

.booking-sidebar-close svg {
    width: 20px;
    height: 20px;
}

.booking-form {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #0a0a0a;
}

[data-theme="light"] .booking-form {
    background: #ffffff;
}

.booking-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-section h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

[data-theme="light"] .booking-section h3 {
    color: #1a1a1a;
    border-bottom-color: #ddd;
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-field label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    font-weight: 500;
}

[data-theme="light"] .booking-field label {
    color: #666;
}

.booking-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

[data-theme="light"] .booking-input {
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #1a1a1a;
}

.booking-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.booking-input::placeholder {
    color: var(--text-muted);
}

.booking-textarea {
    resize: vertical;
    min-height: 80px;
}

select.booking-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px;
    padding-right: 2.5rem;
}

[dir="rtl"] select.booking-input {
    background-position: left 0.75rem center;
    padding-right: 1rem;
    padding-left: 2.5rem;
}

/* Phone Input with Country Code */
.booking-field-phone {
    flex: 1.5;
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-country-select {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 120px;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
    padding-right: 2rem;
}

.phone-number-input {
    flex: 1;
    min-width: 120px;
    letter-spacing: 1px;
}

.phone-digit-counter {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: #888;
    padding: 0.25rem 0.5rem;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

.phone-digit-counter.valid {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.phone-digit-counter.invalid {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .phone-digit-counter {
    background: rgba(0,0,0,0.05);
}

/* Mobile responsive for phone input */
@media (max-width: 480px) {
    .phone-input-group {
        flex-wrap: wrap;
    }
    
    .phone-country-select {
        flex: 0 0 100%;
        max-width: none;
        margin-bottom: 0.5rem;
    }
    
    .phone-number-input {
        flex: 1;
    }
    
    .phone-digit-counter {
        flex: 0 0 auto;
    }
}

/* ID Document Upload Styles */
.id-upload-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.id-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.15), rgba(201, 169, 98, 0.05));
    color: var(--accent-gold);
    border: 1px dashed var(--accent-gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.id-upload-btn:hover {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.25), rgba(201, 169, 98, 0.15));
    border-style: solid;
}

.id-upload-btn svg {
    stroke: var(--accent-gold);
}

.id-file-name {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.id-file-name.has-file {
    color: #4CAF50;
    font-style: normal;
    font-weight: 500;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* ID Upload success state with checkmark */
.id-upload-success {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 10px;
    width: 100%;
    margin-top: 8px;
}

.id-upload-success.visible {
    display: flex;
}

.id-upload-success svg {
    width: 24px;
    height: 24px;
    stroke: #4CAF50;
    flex-shrink: 0;
}

.id-upload-success-text {
    flex: 1;
}

.id-upload-success-text .filename {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4CAF50;
    display: block;
    margin-bottom: 2px;
}

.id-upload-success-text .status {
    font-size: 0.75rem;
    color: rgba(76, 175, 80, 0.8);
}

/* ID Preview thumbnail */
.id-preview-thumbnail {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(76, 175, 80, 0.4);
    flex-shrink: 0;
}

.id-upload-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.id-upload-remove:hover {
    background: rgba(239, 68, 68, 0.3);
}

.id-upload-remove svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

[data-theme="light"] .id-upload-btn {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), rgba(201, 169, 98, 0.04));
}

[data-theme="light"] .id-file-name {
    color: #666;
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .id-file-name.has-file {
    color: #2e7d32;
    background: rgba(76, 175, 80, 0.1);
}

.booking-submit-btn {
    margin-top: auto;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--accent-gold), #a68521);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.booking-submit-btn:active {
    transform: translateY(0);
}

.booking-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.booking-submit-btn svg {
    width: 18px;
    height: 18px;
}

/* Book Now Button on Cards */
.btn-book-now {
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--accent-gold), #a68521);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn-book-now:active {
    transform: translateY(0);
}

/* Property Card Description */
.property-card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Amenity Tags */
.amenity-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ============================================
   TOAST NOTIFICATIONS
============================================ */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    min-width: 320px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-notification.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.toast-notification span {
    flex: 1;
    line-height: 1.4;
}

.toast-success {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border-left: 5px solid #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.toast-success svg {
    stroke: #34d399;
}

.toast-error {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border-left: 5px solid #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.toast-error svg {
    stroke: #f87171;
}

.toast-info {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    border-left: 5px solid var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.toast-info svg {
    stroke: var(--accent-gold);
}

/* ============================================
   BOOKING SIDEBAR RESPONSIVE
============================================ */
@media (max-width: 480px) {
    .booking-sidebar {
        max-width: 100%;
    }
    
    .booking-sidebar-header {
        padding: 1.25rem;
    }
    
    .booking-hotel-info h2 {
        font-size: 1.25rem;
    }
    
    .booking-form {
        padding: 1.25rem;
    }
    
    .booking-row {
        grid-template-columns: 1fr;
    }
    
    .booking-input {
        padding: 0.75rem;
        font-size: 1rem; /* Prevent zoom on iOS */
    }
}

/* Safe area for iPhone notch */
@supports (padding: max(0px)) {
    .booking-sidebar {
        padding-top: max(0px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* ============================================
   SEARCH LOADING & NO RESULTS
============================================ */
.search-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-loading p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    gap: 1rem;
}

.no-results svg {
    width: 64px;
    height: 64px;
    stroke: var(--text-muted);
    opacity: 0.5;
}

.no-results h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.no-results p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   SEARCH RESULTS SECTION (Horizontal Cards + Map)
   ============================================ */

.search-results-section {
    background: var(--light-bg-secondary);
    padding: 2rem 0;
}

.search-results-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    align-items: flex-start;
}

.search-results-list {
    flex: 1;
    max-width: 55%;
    padding: 1.5rem;
    overflow: visible;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-border);
}

.results-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
}

.hotels-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Horizontal Hotel Card */
.hotel-result-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.hotel-result-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hotel-result-image {
    width: 200px;
    min-height: 160px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hotel-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-result-card:hover .hotel-result-image img {
    transform: scale(1.05);
}

.hotel-result-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hotel-result-content {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hotel-result-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.hotel-result-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--light-text-secondary);
    margin-bottom: 0.5rem;
}

.hotel-result-location svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-blue);
}

.hotel-result-location a {
    color: var(--accent-blue);
    text-decoration: none;
}

.hotel-result-location a:hover {
    text-decoration: underline;
}

.hotel-result-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.hotel-result-rating .rating-badge {
    background: linear-gradient(135deg, var(--accent-gold), #8b6914);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px 6px 6px 0;
}

.hotel-result-rating .rating-text {
    font-size: 0.85rem;
    color: var(--light-text-secondary);
}

.hotel-result-rating .rating-text strong {
    color: var(--light-text);
}

.hotel-result-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hotel-result-amenity {
    font-size: 0.75rem;
    color: var(--light-text-secondary);
    background: var(--light-bg-tertiary);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Price Column */
.hotel-result-price {
    width: 160px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    background: var(--light-bg-secondary);
    border-left: 1px solid var(--light-border);
}

.hotel-result-price .price-nights {
    font-size: 0.75rem;
    color: var(--light-text-muted);
    margin-bottom: 0.25rem;
}

.hotel-result-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.hotel-result-price .price-label {
    font-size: 0.75rem;
    color: var(--light-text-secondary);
    margin-bottom: 0.75rem;
}

.hotel-result-price .btn-book {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #8b6914);
    color: var(--text-dark);
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(197, 163, 52, 0.3);
}

.hotel-result-price .btn-book:hover {
    background: linear-gradient(135deg, #d4b445, #6b5010);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 163, 52, 0.4);
}

/* Map Section */
.search-results-map {
    flex: 0 0 45%;
    position: sticky;
    top: 0;
    height: 100vh;
    background: #e5e5e5;
}

.search-map {
    width: 100%;
    height: 100%;
}

/* Leaflet custom price markers */
.price-marker {
    background: white;
    border: 2px solid var(--accent-blue);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--light-text);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.price-marker:hover,
.price-marker.active {
    background: var(--accent-blue);
    color: white;
    transform: scale(1.1);
}

/* Close button for search results */
.close-results-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid var(--light-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.close-results-btn:hover {
    background: var(--light-bg-tertiary);
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .search-results-container {
        flex-direction: column-reverse;
    }
    
    .search-results-list {
        max-width: 100%;
        max-height: none;
    }
    
    .search-results-map {
        flex: none;
        height: 300px;
        position: relative;
    }
    
    .hotel-result-card {
        flex-direction: column;
    }
    
    .hotel-result-image {
        width: 100%;
        height: 180px;
    }
    
    .hotel-result-price {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-left: none;
        border-top: 1px solid var(--light-border);
    }
    
    .hotel-result-price .btn-book {
        width: auto;
    }
}

@media (max-width: 640px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sort-select {
        width: 100%;
    }
}

/* ============================================
   PWA & MOBILE-FIRST RESPONSIVE ENHANCEMENTS
   Device-specific optimizations for iOS, Android, Tablet, Desktop
============================================ */

/* Video Background Mobile Optimizations */
@media (max-width: 768px) {
    .hero-video-container {
        /* On mobile, use poster image for performance */
        background: var(--dark-bg) url('images/hero-poster-mobile.jpg') center/cover no-repeat;
    }
    
    .hero-video {
        /* Hide video on slow connections / mobile to save bandwidth */
        display: none;
    }
    
    .hero-video-overlay {
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
}

/* Show video only on fast connections */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .hero-video {
        display: block;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-video-container {
        background: var(--dark-bg) url('images/hero-poster.jpg') center/cover no-repeat;
    }
}

/* Safe Areas for iPhone Notch & Dynamic Island */
@supports (padding: max(0px)) {
    .dark-hero {
        padding-top: max(0px, env(safe-area-inset-top));
    }
    
    .nav {
        padding-left: max(var(--spacing-md), env(safe-area-inset-left));
        padding-right: max(var(--spacing-md), env(safe-area-inset-right));
    }
    
    .mobile-nav-menu {
        padding-bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
    }
}

/* ============================================
   MOBILE PORTRAIT (< 480px) - Phones
   Priority: Search Form Front & Center
============================================ */
@media (max-width: 480px) {
    /* Compact Navigation */
    .nav {
        padding: var(--spacing-sm) 0;
    }
    
    .nav-logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .nav-logo-text {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .nav-right {
        gap: var(--spacing-xs);
    }
    
    .lang-select {
        padding: 6px 8px;
        font-size: 0.7rem;
        min-width: auto;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .btn-nav {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    /* Hero - Minimal Text, Search Priority */
    .hero-search {
        padding: var(--spacing-lg) 0 var(--spacing-xl);
    }
    
    .hero-headline {
        margin-bottom: var(--spacing-md);
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        opacity: 0.7;
        display: none; /* Hide on very small screens */
    }
    
    /* Search Tabs - Compact */
    .search-tabs {
        gap: 0;
        margin-bottom: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 var(--spacing-sm);
    }
    
    .search-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .search-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.65rem;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }
    
    .search-tab svg {
        width: 16px;
        height: 16px;
    }
    
    .search-tab span {
        display: none; /* Icons only on very small screens */
    }
    
    /* Search Form - PRIORITY VISIBILITY */
    .search-form-container {
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
        margin: 0 var(--spacing-sm);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .search-form {
        gap: var(--spacing-sm);
    }
    
    .form-group {
        gap: 4px;
    }
    
    .form-label {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }
    
    .form-input,
    .form-select {
        padding: 12px;
        font-size: 16px; /* Prevents iOS zoom */
        min-height: 44px;
        border-radius: var(--radius-md);
    }
    
    /* Guests Control - Compact */
    .guests-control {
        height: 44px;
    }
    
    .guests-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .guests-count {
        font-size: 1rem;
        min-width: 36px;
    }
    
    /* Search Button - Full Width, Prominent */
    .btn-search {
        padding: 14px;
        font-size: 0.9rem;
        border-radius: var(--radius-md);
        margin-top: var(--spacing-sm);
    }
    
    .btn-search svg {
        width: 18px;
        height: 18px;
    }
    
    /* Quick Stats - Minimal */
    .quick-stats {
        padding: var(--spacing-lg) var(--spacing-md);
        gap: var(--spacing-lg);
    }
    
    .quick-stat-value {
        font-size: 1.25rem;
    }
    
    .quick-stat-label {
        font-size: 0.55rem;
    }
    
    /* Hide non-essential elements on mobile */
    .hero-subtitle,
    .experience-section,
    .features-section {
        display: none;
    }
}

/* ============================================
   MOBILE LANDSCAPE & SMALL TABLETS (481px - 767px)
============================================ */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        display: block;
    }
    
    .search-tab span {
        display: inline; /* Show text on larger phones */
    }
    
    .search-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .btn-search {
        grid-column: span 2;
    }
    
    .quick-stats {
        gap: var(--spacing-2xl);
    }
}

/* ============================================
   TABLETS (768px - 1023px)
============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-inner {
        padding: 0 var(--spacing-lg);
    }
    
    .hero-search-inner {
        padding: 0 var(--spacing-lg);
    }
    
    .search-form-container {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .search-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .btn-search {
        grid-column: span 2;
    }
    
    /* Show navigation menu on tablets */
    .nav-menu {
        display: flex;
        gap: var(--spacing-md);
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .hamburger {
        display: none;
    }
}

/* ============================================
   DESKTOPS (1024px+)
============================================ */
@media (min-width: 1024px) {
    .search-form-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: var(--spacing-lg) var(--spacing-xl);
    }
    
    .search-form {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: var(--spacing-md);
    }
    
    .form-group {
        flex: 1;
    }
    
    .btn-search {
        flex: none;
        width: auto;
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* ============================================
   LARGE DESKTOPS (1440px+)
============================================ */
@media (min-width: 1440px) {
    .nav-inner,
    .hero-search-inner {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .search-form-container {
        max-width: 1100px;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .form-input,
    .form-select,
    .btn-search,
    .search-tab {
        min-height: 48px;
    }
    
    .guests-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .btn-search:hover,
    .search-tab:hover,
    .nav-link:hover {
        transform: none;
    }
    
    /* Active states for touch feedback */
    .btn-search:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .search-tab:active {
        background: var(--accent-gold);
        color: var(--text-dark);
    }
}

/* ============================================
   iOS SPECIFIC STYLES
============================================ */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific fixes */
    .form-input,
    .form-select {
        font-size: 16px; /* Prevent zoom on focus */
        -webkit-appearance: none;
    }
    
    .form-input[type="date"] {
        min-height: 44px;
    }
    
    /* Smooth scrolling for iOS */
    .search-tabs,
    .search-hotels-list {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix for iOS momentum scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   ANDROID SPECIFIC ENHANCEMENTS
============================================ */
@media screen and (-webkit-min-device-pixel-ratio: 0) 
    and (min-resolution: .001dpcm) {
    /* Android-specific styles */
    .form-select {
        background-position: right 12px center;
    }
}

/* ============================================
   DARK MODE SYSTEM PREFERENCE
============================================ */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
    }
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
    }
}

/* ============================================
   REDUCED MOTION PREFERENCE
============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    .dark-hero,
    .nav,
    .search-form-container,
    .booking-sidebar,
    .mobile-nav-menu {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================
   EVENT HALLS PAGE SPECIFIC STYLES
============================================ */

/* Halls Hero Section */
.halls-hero {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 60px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.halls-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
    line-height: 1.2;
}

.halls-hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Light Mode Hero */
[data-theme="light"] .halls-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] .halls-hero-title {
    color: var(--light-text);
}

[data-theme="light"] .halls-hero-subtitle {
    color: var(--light-text-secondary);
}

/* Halls Search Form */
.halls-search-form {
    background: rgba(255, 255, 255, 0.97);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin: 0 auto;
}

[data-theme="dark"] .halls-search-form {
    background: rgba(255, 255, 255, 0.97);
}

.halls-search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.halls-search-grid .form-group {
    width: 100%;
}

.halls-search-grid label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.halls-search-grid input,
.halls-search-grid select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s;
}

.halls-search-grid input:focus,
.halls-search-grid select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Number Input Buttons */
.number-input {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.number-input input {
    border: none;
    text-align: center;
    flex: 1;
    padding: 14px 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.btn-decrement,
.btn-increment {
    padding: 14px 20px;
    background: #f1f5f9;
    border: none;
    color: #475569;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 50px;
}

.btn-decrement:hover,
.btn-increment:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-decrement:active,
.btn-increment:active {
    background: #cbd5e1;
}

/* Search Button */
.btn-search-halls {
    width: 100%;
    padding: 16px 24px;
    background: var(--accent-gold);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-search-halls:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}

.btn-search-halls:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    padding: 60px 20px;
    background: var(--light-bg);
}

[data-theme="light"] .results-section {
    background: var(--light-bg);
}

[data-theme="dark"] .results-section {
    background: var(--dark-bg-elevated);
}

.halls-sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.results-found {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

[data-theme="dark"] .results-found {
    color: var(--dark-text);
}

.sort-select {
    padding: 12px 40px 12px 16px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

[data-theme="dark"] .sort-select {
    background-color: var(--dark-bg-card);
    color: var(--dark-text);
    border-color: var(--dark-border);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Hall Cards */
.hall-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

[data-theme="dark"] .hall-card {
    background: var(--dark-bg-card);
    border: 1px solid var(--dark-border);
}

.hall-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hall-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hall-card-content {
    padding: 24px;
}

.hall-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 12px;
}

[data-theme="dark"] .hall-card-title {
    color: var(--dark-text);
}

.hall-card-info {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .hall-card-info {
    color: var(--dark-text-secondary);
}

.hall-card-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: 16px;
}

/* Events List Section */
.events-list-section {
    padding: 60px 0;
    background: var(--light-bg-secondary);
}

[data-theme="dark"] .events-list-section {
    background: var(--dark-bg-secondary);
}

.events-list-header {
    text-align: center;
    margin-bottom: 48px;
}

.events-list-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 12px;
}

[data-theme="dark"] .events-list-title {
    color: var(--dark-text);
}

.events-list-subtitle {
    font-size: 1.25rem;
    color: var(--light-text-secondary);
}

[data-theme="dark"] .events-list-subtitle {
    color: var(--dark-text-secondary);
}

.events-list-container {
    display: grid;
    gap: 20px;
}

.event-list-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

[data-theme="dark"] .event-list-item {
    background: var(--dark-bg-card);
    border: 1px solid var(--dark-border);
}

.event-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.event-date-badge {
    text-align: center;
    padding: 16px;
    background: var(--accent-gold);
    color: white;
    border-radius: 8px;
    min-width: 90px;
}

.event-date-month {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 4px 0;
}

.event-date-year {
    font-size: 0.875rem;
}

.event-details {
    flex: 1;
}

.event-hall-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 8px;
}

[data-theme="dark"] .event-hall-name {
    color: var(--dark-text);
}

.event-client-name {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    margin-bottom: 4px;
}

[data-theme="dark"] .event-client-name {
    color: var(--dark-text-secondary);
}

.event-type {
    display: inline-block;
    padding: 4px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 8px;
}

[data-theme="dark"] .event-type {
    background: rgba(25, 118, 210, 0.2);
    color: #90caf9;
}

.event-info-row {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    font-size: 1rem;
    color: var(--light-text-secondary);
}

[data-theme="dark"] .event-info-row {
    color: var(--dark-text-secondary);
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
}

.event-status-badge.confirmed {
    background: #e3f2fd;
    color: #1976d2;
}

.event-status-badge.pending {
    background: #fff3e0;
    color: #f57c00;
}

.event-status-badge.cancelled {
    background: #ffebee;
    color: #d32f2f;
}

.event-status-badge.completed {
    background: #e8f5e9;
    color: #388e3c;
}

[data-theme="dark"] .event-status-badge.confirmed {
    background: rgba(25, 118, 210, 0.2);
    color: #90caf9;
}

[data-theme="dark"] .event-status-badge.pending {
    background: rgba(245, 124, 0, 0.2);
    color: #ffb74d;
}

[data-theme="dark"] .event-status-badge.cancelled {
    background: rgba(211, 47, 47, 0.2);
    color: #ef5350;
}

[data-theme="dark"] .event-status-badge.completed {
    background: rgba(56, 142, 60, 0.2);
    color: #81c784;
}

.events-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text-secondary);
}

[data-theme="dark"] .events-empty-state {
    color: var(--dark-text-secondary);
}

.events-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--light-text);
}

[data-theme="dark"] .events-empty-state h3 {
    color: var(--dark-text);
}

/* Responsive Design for Halls */
@media (min-width: 768px) {
    .halls-hero-title {
        font-size: 3.5rem;
    }
    
    .halls-hero-subtitle {
        font-size: 1.5rem;
    }
    
    .halls-search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-search-halls {
        grid-column: 1 / -1;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .halls-search-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .btn-search-halls {
        grid-column: 1 / -1;
    }
    
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .event-list-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .event-date-badge {
        margin: 0 auto;
    }
    
    .event-info-row {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   BOOKING CALENDAR STYLES
============================================ */

.booking-calendar-section {
    padding: 60px 20px;
    background: #1a1f2e;
    min-height: 100vh;
}

.booking-calendar-container {
    background: #242b3d;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Calendar Header */
.calendar-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.calendar-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calendar-icon {
    font-size: 2rem;
}

.calendar-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.calendar-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hall-filter-select {
    padding: 10px 36px 10px 16px;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.btn-timeline-view,
.btn-today {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-timeline-view {
    background: #1a1f2e;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-timeline-view:hover {
    background: #2a3040;
}

.btn-today {
    background: var(--accent-gold);
    color: #000000;
}

.btn-today:hover {
    background: var(--accent-gold-light);
}

/* Legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #1a1f2e;
    border-radius: 12px;
    margin-bottom: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.confirmed {
    background: #3b82f6;
}

.legend-dot.pending {
    background: #f59e0b;
}

.legend-dot.checked-in {
    background: #10b981;
}

.legend-dot.checked-out {
    background: #6b7280;
}

.legend-dot.cancelled {
    background: #ef4444;
}

.legend-dot.available {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Month Navigation */
.calendar-month-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.month-nav-btn {
    width: 40px;
    height: 40px;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.month-nav-btn:hover {
    background: #2a3040;
    border-color: rgba(255, 255, 255, 0.2);
}

.current-month {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    min-width: 220px;
    text-align: center;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.calendar-day-header {
    background: #1a1f2e;
    padding: 16px 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.calendar-day {
    background: #2a3144;
    min-height: 120px;
    padding: 12px;
    position: relative;
    transition: all 0.2s;
}

.calendar-day:hover {
    background: #303749;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    background: #2d3548;
    border: 2px solid var(--accent-gold);
}

.day-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.day-bookings {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-block {
    background: #3b82f6;
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.booking-block.pending {
    background: #f59e0b;
}

.booking-block.checked-in {
    background: #10b981;
}

.booking-block.checked-out {
    background: #6b7280;
}

.booking-block.cancelled {
    background: #ef4444;
}

.booking-count-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f59e0b;
    color: #000000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Light mode overrides */
[data-theme="light"] .booking-calendar-section {
    background: #f8f9fa;
}

[data-theme="light"] .booking-calendar-container {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .calendar-title {
    color: #1a1a1a;
}

[data-theme="light"] .calendar-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hall-filter-select,
[data-theme="light"] .btn-timeline-view {
    background: #f8f9fa;
    color: #1a1a1a;
    border-color: #e5e7eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] .calendar-legend {
    background: #f8f9fa;
}

[data-theme="light"] .legend-item {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .month-nav-btn {
    background: #f8f9fa;
    color: #1a1a1a;
    border-color: #e5e7eb;
}

[data-theme="light"] .current-month {
    color: #1a1a1a;
}

[data-theme="light"] .calendar-grid {
    background: #e5e7eb;
}

[data-theme="light"] .calendar-day-header {
    background: #f8f9fa;
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .calendar-day {
    background: #ffffff;
}

[data-theme="light"] .calendar-day:hover {
    background: #f8f9fa;
}

[data-theme="light"] .calendar-day.today {
    background: #fffbf0;
}

[data-theme="light"] .day-number {
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-calendar-container {
        padding: 20px;
    }
    
    .calendar-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .calendar-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .hall-filter-select {
        flex: 1;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 8px;
    }
    
    .booking-block {
        font-size: 0.7rem;
        padding: 4px 6px;
    }
}

/* ============================================
   CRITICAL LAYOUT FIX - FORCE CONTENT TO TOP
============================================ */
.dark-hero {
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    background: linear-gradient(180deg, #08080A 0%, #0D0D10 50%, #08080A 100%) !important;
}

.hero-video-container {
    display: none !important;
}

.hero-search {
    padding: 30px 0 50px !important;
    position: relative !important;
    z-index: 100 !important;
}

.hero-search-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.logo-6d-hero {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 20px !important;
}

.brand-title {
    font-size: 3rem !important;
}

.tagline-somali {
    font-size: 2.2rem !important;
}
