/* ============================================================================
   DESIGN SYSTEM - Rebozo Massage Wellness Brand
   ============================================================================
   
   DESIGN PHILOSOPHY:
   Warm, calming, natural spa aesthetic with premium feel. Colors evoke
   earth, fabric, and tranquility. Typography balances elegance (serif)
   with clarity (sans-serif).
   
   COLOR SYSTEM:
   - Palette: Warm beige/sand backgrounds, soft terracotta accents,
     muted olive green secondary accents
   - Contrast: WCAG AA compliant text colors on all backgrounds
   - Usage: Terracotta (#C97D60) for primary actions, olive (#8B9375)
     for secondary elements
   
   TYPOGRAPHY SCALE:
   - H1 (Hero): 3.5rem (56px) / 1.2 line-height / Playfair Display
   - H2: 2.5rem (40px) / 1.3 line-height / Playfair Display
   - Body Large: 1.2rem (19.2px) / 1.7 line-height / Inter
   - Body: 1rem (16px) / 1.6 line-height / Inter
   - Small: 0.9rem (14.4px) / 1.5 line-height / Inter
   
   SPACING SYSTEM (8px base unit):
   - xs: 0.25rem (4px)
   - sm: 0.5rem (8px)
   - md: 1rem (16px)
   - lg: 1.5rem (24px)
   - xl: 2rem (32px)
   - 2xl: 3rem (48px)
   - 3xl: 4rem (64px)
   
   BORDER RADIUS:
   - Small (buttons, inputs): 20px-25px (pill shape)
   - Medium (cards, images): 12px (premium, refined)
   - Large (modals, containers): 16px
   
   SHADOWS:
   - Subtle: 0 2px 8px rgba(0, 0, 0, 0.1)
   - Medium: 0 4px 15px rgba(201, 125, 96, 0.3)
   - Large: 0 10px 40px rgba(0, 0, 0, 0.15)
   
   TRANSITIONS:
   - Default: 0.3s ease
   - Fast: 0.2s ease
   - Slow: 0.5s ease
   ============================================================================ */

:root {
    /* ========== COLORS ========== */
    /* Primary Background - Very light beige/sand tone */
    --color-bg-primary: #FAF7F2;
    --color-bg-primary-light: #FEFCF9;
    --color-bg-primary-dark: #F5F1EB;
    
    /* Primary Accent - Soft terracotta (warm, earthy, spa-like) */
    --color-accent-primary: #C97D60;
    --color-accent-primary-light: #D08A6B;
    --color-accent-primary-dark: #B86D52;
    --color-accent-primary-hover: #B86D52;
    
    /* Secondary Accent - Muted olive green (natural, calming) */
    --color-accent-secondary: #8B9375;
    --color-accent-secondary-light: #9CA285;
    --color-accent-secondary-dark: #7A8565;
    
    /* Neutral Text Colors - Dark brown/gray for accessibility (WCAG AA) */
    --color-text-primary: #2C2416;      /* 14.5:1 contrast on beige */
    --color-text-secondary: #4A4335;    /* 9.2:1 contrast on beige */
    --color-text-muted: #6B6355;        /* 6.5:1 contrast on beige */
    
    /* Neutral Backgrounds */
    --color-bg-neutral: #FFFFFF;
    --color-bg-neutral-light: #F8F8F8;
    
    /* Text on Light Backgrounds */
    --color-text-on-light: #2C2416;
    
    /* Text on Dark Backgrounds (for accents) - WCAG AA compliant */
    --color-text-on-dark: #FFFFFF;
    
    /* ========== GRADIENTS ========== */
    --gradient-hero: linear-gradient(135deg, #FAF7F2 0%, #F0E8DD 50%, #E8DDD0 100%);
    --gradient-accent: linear-gradient(135deg, #C97D60 0%, #B86D52 100%);
    
    /* ========== SPACING ========== */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    
    /* ========== TYPOGRAPHY ========== */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-size-h1: 3.5rem;        /* 56px - Hero titles */
    --font-size-h2: 2.5rem;        /* 40px - Section titles */
    --font-size-body-lg: 1.2rem;   /* 19.2px - Hero subtitle */
    --font-size-body: 1rem;        /* 16px - Body text */
    --font-size-small: 0.9rem;     /* 14.4px - Small text */
    --font-size-xs: 0.875rem;      /* 14px - Extra small */
    --line-height-tight: 1.2;      /* Headings */
    --line-height-normal: 1.6;     /* Body */
    --line-height-relaxed: 1.7;    /* Hero paragraphs */
    
    /* ========== BORDER RADIUS ========== */
    --radius-sm: 8px;       /* Small elements */
    --radius-md: 12px;      /* Cards, images */
    --radius-lg: 16px;      /* Large containers */
    --radius-pill: 25px;    /* Buttons, pills */
    --radius-full: 50px;    /* Full pill buttons */
    
    /* ========== SHADOWS ========== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(201, 125, 96, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 20px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.08);
    
    /* ========== TRANSITIONS ========== */
    --transition-fast: 0.2s ease;
    --transition-default: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ========== BREAKPOINTS ========== */
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

p {
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Compact Language Selector */
.language-selector-compact {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: transparent;
    border: 1px solid rgba(201, 125, 96, 0.2);
    border-radius: var(--radius-pill);
    padding: var(--spacing-sm) 0.75rem;
    cursor: pointer;
    font-weight: 500;
    font-size: var(--font-size-xs);
    color: var(--color-text-primary);
    transition: var(--transition-default);
}

.lang-toggle:hover {
    background: var(--color-bg-primary-dark);
    border-color: var(--color-accent-primary);
}

.lang-toggle:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
    border-color: var(--color-accent-primary);
}

.lang-toggle i.fa-globe {
    font-size: 0.875rem;
    opacity: 0.7;
}

.lang-current {
    min-width: 30px;
    text-align: center;
}

.lang-chevron {
    font-size: 0.625rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.language-selector-compact.active .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + var(--spacing-sm));
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-default);
    z-index: 1000;
}

.language-selector-compact.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: var(--font-size-xs);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.lang-option:hover {
    background: var(--color-bg-primary-dark);
}

.lang-option:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: -2px;
    background: var(--color-bg-primary-dark);
}

.lang-option i {
    width: 16px;
    text-align: center;
}

.lang-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.lang-option.admin-link {
    background: var(--gradient-accent);
    color: var(--color-text-on-dark);
    margin: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.lang-option.admin-link:hover {
    background: linear-gradient(135deg, var(--color-accent-primary-dark), var(--color-accent-primary));
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.lang-option.admin-link:focus {
    outline: 2px solid var(--color-text-on-dark);
    outline-offset: 2px;
}

/* Nav CTA Button */
.btn-nav-cta {
    padding: 0.625rem 1.25rem;
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-xs);
    transition: var(--transition-default);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-nav-cta:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav-cta:focus {
    outline: 3px solid var(--color-accent-primary);
    outline-offset: 3px;
    background: var(--color-accent-primary-hover);
}

/* ============================================================================
   NAVIGATION - Clean and Accessible
   ============================================================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: var(--spacing-md) 0;
    transition: var(--transition-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Between mobile (≤768px) and desktop: keep links on their own row so flex does not clip .nav-menu */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
        row-gap: var(--spacing-sm);
    }

    .nav-menu {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: var(--transition-default);
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: var(--font-size-body);
    transition: var(--transition-default);
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-link:hover {
    color: var(--color-accent-primary);
}

.nav-link:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-primary);
    transition: width var(--transition-default);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
}

.nav-toggle:focus {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    transition: var(--transition-default);
}

/* ============================================================================
   HERO SECTION - Premium Wellness Aesthetic with Background Video
   ============================================================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Fallback background - used if video doesn't load */
    background: var(--gradient-hero);
    color: var(--color-text-on-dark);
}

/* Background Video Styling */
/* To change the video source: Update the video src in loadHeroVideo() in script.js */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Ensure video is always behind content */
    pointer-events: none;
}

/* Overlay for better text readability */
/* Gradient can be adjusted: rgba(0, 0, 0, 0.25) = lighter, rgba(0, 0, 0, 0.55) = darker */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
    /* Additional warm tint overlay for spa aesthetic */
    background: linear-gradient(
        135deg,
        rgba(44, 36, 22, 0.3) 0%,
        rgba(44, 36, 22, 0.4) 50%,
        rgba(44, 36, 22, 0.5) 100%
    );
}

/* Hero Content Container */
.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    flex: 0 1 auto;
    max-width: min(600px, 55em); /* Optimal reading width: 45-75 characters */
    padding: var(--spacing-2xl) 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-text-on-dark);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--font-size-body-lg);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-body);
}

.btn-primary {
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
}

.btn-primary:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus {
    outline: 3px solid var(--color-accent-primary);
    outline-offset: 3px;
    background: var(--color-accent-primary-hover);
}

/* Hero CTA Buttons - Enhanced for Conversion */
.btn-hero-primary {
    padding: var(--spacing-md) var(--spacing-2xl);
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition-default);
    display: inline-block;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    background: var(--color-accent-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 125, 96, 0.4);
}

.btn-hero-primary:focus {
    outline: 3px solid var(--color-accent-primary);
    outline-offset: 3px;
    background: var(--color-accent-primary-hover);
}

.btn-hero-primary:active {
    transform: translateY(-1px);
}

.btn-hero-secondary {
    padding: calc(var(--spacing-md) - 2px) calc(var(--spacing-2xl) - 2px);
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-on-dark);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-body);
    transition: var(--transition-default);
    display: inline-block;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-reassurance {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
    margin-top: var(--spacing-sm);
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-accent-primary);
}

.btn-secondary:hover {
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    border-color: var(--color-accent-primary);
}

.btn-secondary:focus {
    outline: 3px solid var(--color-accent-primary);
    outline-offset: 3px;
    border-color: var(--color-accent-primary);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--spacing-md);
    min-width: 0; /* Prevents flex item overflow */
}

.hero-carousel {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(201, 125, 96, 0.15);
    aspect-ratio: 16 / 9;
    background: var(--color-bg-primary-dark);
}

.hero-carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--color-bg-primary-dark);
}

.hero-carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* Smooth image rendering */
    image-rendering: -webkit-optimize-contrast;
}

.hero-carousel-images img.active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.hero-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-carousel-indicator.active {
    background: var(--color-accent-primary);
    transform: scale(1.3);
}

/* Fallback for single image */
.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 125, 96, 0.15);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.gallery h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Gallery Album Navigation */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.album-btn {
    background: white;
    border: 2px solid #E5E7EB;
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.album-btn:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    transform: translateY(-2px);
}

.album-btn.active {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    box-shadow: 0 5px 15px rgba(201, 125, 96, 0.3);
}

/* Gallery Carousel Layout */
.gallery-carousel-container {
    position: relative;
    margin-top: var(--spacing-xl);
    padding: 0 3rem;
}

.gallery-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.gallery-carousel-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-carousel-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: var(--color-bg-primary-dark);
    transition: var(--transition-default);
}

.gallery-carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.gallery-carousel-arrow:hover {
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    box-shadow: var(--shadow-md);
}

.gallery-carousel-arrow:focus {
    outline: 3px solid var(--color-accent-primary);
    outline-offset: 3px;
}

.gallery-carousel-prev {
    left: 0;
}

.gallery-carousel-next {
    right: 0;
}

.gallery-carousel-arrow i {
    font-size: 1.25rem;
}

/* Legacy styles - kept for backwards compatibility but not used in new layout */
/* Left side: Scrollable text items (Desktop) */
.gallery-items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
}

/* Custom scrollbar for gallery items list */
.gallery-items-list::-webkit-scrollbar {
    width: 6px;
}

.gallery-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-items-list::-webkit-scrollbar-thumb {
    background: var(--color-accent-primary);
    border-radius: 10px;
}

.gallery-items-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-primary-dark);
}

/* Gallery item entry - each scrollable item */
.gallery-item-entry {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    transform: translateX(0);
    border-left: 4px solid transparent;
}

.gallery-item-entry:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(201, 125, 96, 0.15);
}

/* Active gallery item (currently in view) */
.gallery-item-entry.active {
    opacity: 1;
    border-left-color: var(--color-accent-primary);
    background: linear-gradient(to right, rgba(201, 125, 96, 0.05), white);
    transform: translateX(12px);
}

.gallery-item-entry h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    transition: color 0.3s ease;
}

.gallery-item-entry.active h3 {
    color: var(--color-accent-primary);
}

.gallery-item-entry p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

.gallery-item-entry .gallery-item-number {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.gallery-item-entry.active .gallery-item-number {
    color: var(--color-accent-primary);
}

/* Right side: Main image display area (Desktop) */
.gallery-main-image {
    position: sticky;
    top: 100px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f8fafc;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Active image - smooth fade in */
.gallery-main-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Empty state for gallery */
.gallery-empty-state {
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

.gallery-empty-state i {
    font-size: 2.5rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive: Mobile/Tablet - Stacked layout */
@media (max-width: 768px) {
    .gallery-carousel-container {
        padding: 0 2.5rem;
    }
    
    .gallery-carousel-item {
        width: 250px;
        height: 300px;
    }
    
    .gallery-carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .gallery-carousel-arrow i {
        font-size: 1rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.pricing-calculator {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.price-display {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-accent);
    border-radius: 15px;
    color: var(--color-text-on-dark);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Booking Section */
.booking {
    padding: 100px 0;
}

.booking h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
}

.booking-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

.contact-item i {
    color: var(--color-accent-primary);
    font-size: 1.2rem;
}

.calendar-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.calendar {
    margin-bottom: 2rem;
}

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

.calendar-day {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.calendar-day.selected {
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
}

.calendar-day.disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: var(--color-accent-primary);
    background: var(--color-bg-primary-dark);
}

.time-slot.selected {
    background: var(--color-accent-primary);
    color: var(--color-text-on-dark);
    border-color: var(--color-accent-primary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-card i {
    font-size: 3rem;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-accent-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 16px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   RESPONSIVE DESIGN - Mobile First Approach
   ============================================================================ */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .hero .container {
        gap: var(--spacing-xl);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0 1rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        position: fixed;
        left: -100%;
        top: calc(70px + 280px); /* Below nav menu */
        width: 100%;
        justify-content: space-between;
        padding: 1rem 2rem;
        background-color: white;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 997;
    }
    
    .nav-menu.active ~ .nav-actions,
    .nav-actions.show-mobile {
        left: 0;
        display: flex !important;
    }

    .nav-toggle {
        display: flex;
    }
    
    .btn-nav-cta {
        flex: 1;
        text-align: center;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        padding: 70px var(--spacing-md) var(--spacing-2xl);
    }
    
    .hero .container {
        justify-content: center;
        text-align: center;
        padding: 0 var(--spacing-md);
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: var(--line-height-tight);
        margin-bottom: var(--spacing-md);
        letter-spacing: -0.01em;
        text-align: center;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 100%;
        line-height: var(--line-height-normal);
        margin-bottom: var(--spacing-lg);
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        align-items: center;
        margin-top: var(--spacing-lg);
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        align-self: center;
        max-width: 100%;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .btn-hero-primary {
        font-size: 1.05rem;
        padding: var(--spacing-md) var(--spacing-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        padding: 0;
        margin-top: var(--spacing-lg);
    }

    .hero-image img,
    .hero-carousel {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        /* Reduced shadow on mobile for performance */
        box-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.08),
            0 8px 16px rgba(0, 0, 0, 0.1);
        /* Maintain aspect ratio on mobile */
        aspect-ratio: 16 / 9;
    }

    .hero-carousel-images img {
        object-fit: cover;
    }

    .hero-carousel-indicators {
        bottom: 0.5rem;
        padding: 0.25rem 0.75rem;
        gap: 0.25rem;
    }

    .hero-carousel-indicator {
        width: 8px;
        height: 8px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }


    .booking-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .language-selector {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .lang-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .lang-toggle i.fa-globe {
        font-size: 0.75rem;
    }
    
    .lang-current {
        min-width: 25px;
    }
    
    .btn-nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 140px;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 1.875rem;
        line-height: var(--line-height-tight);
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
        line-height: var(--line-height-normal);
        text-align: center;
    }
    
    .hero-video {
        /* Ensure video covers properly on mobile */
        min-width: 100%;
        min-height: 100%;
    }
    
    .btn-hero-primary {
        font-size: 1rem;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .btn-hero-secondary {
        font-size: 0.95rem;
        padding: calc(var(--spacing-md) - 2px) var(--spacing-lg);
    }
    
    .hero-reassurance {
        font-size: 0.875rem;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-menu {
        gap: var(--spacing-md);
    }

    .hero-image {
        padding: 0;
    }

    .hero-image img,
    .hero-carousel {
        border-radius: 8px;
        /* Even lighter shadow on very small screens */
        box-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 4px 8px rgba(0, 0, 0, 0.08);
    }

    .hero-carousel-indicators {
        bottom: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .services h2,
    .gallery h2,
    .pricing h2,
    .booking h2,
    .contact h2 {
        font-size: 2rem;
    }

    .pricing-calculator {
        padding: 2rem 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
