/**
 * Exploria - Desert Safari Landing Page Styles
 * Version: 2.0.0
 * Author: Exploria Theme
 * 
 * Contains: Design System, Animations, Components, Responsive, Dark Mode, RTL
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #0F4C5C;
    --color-secondary: #2E5D4B;
    
    /* Travel Blue Palette */
    --color-blue-deep: #1E3A8A;
    --color-blue-light: #3B82F6;
    
    /* Sun Palette */
    --color-yellow-warm: #D97706;
    --color-yellow-light: #FCD34D;
    
    /* Accent Colors */
    --accent: var(--color-yellow-warm);
    --accent-light: var(--color-yellow-light);
    
    /* Base Colors */
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --fg: #0F172A;
    --fg-muted: #64748B;
    --card: #FFFFFF;
    --border: #E2E8F0;
    
    /* Typography */
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing (8px grid) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Animation Easings (Apple-style) */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    
    /* Animation Durations */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Dark Mode */
.dark,
[data-theme="dark"] {
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --fg: #F8FAFC;
    --fg-muted: #94A3B8;
    --card: #1E293B;
    --border: #334155;
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: var(--font-display);
}

/* ============================================
   PAGE LOADER
   ============================================ */
#we-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-blue-deep) 100%);
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s var(--ease-out-expo);
}

#we-page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.we-loader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.we-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 15s infinite;
}

.we-particle--1 { left: 10%; top: 20%; animation-delay: 0s; }
.we-particle--2 { left: 30%; top: 80%; animation-delay: 2s; }
.we-particle--3 { left: 50%; top: 40%; animation-delay: 4s; }
.we-particle--4 { left: 70%; top: 60%; animation-delay: 6s; }
.we-particle--5 { left: 90%; top: 30%; animation-delay: 8s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(50px, -100px) scale(1.5); opacity: 0.6; }
    50% { transform: translate(-30px, -200px) scale(1); opacity: 0.3; }
    75% { transform: translate(80px, -150px) scale(2); opacity: 0.5; }
}

.we-loader-inner {
    text-align: center;
    z-index: 1;
    padding: var(--space-10);
}

.we-loader-decoration {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.we-loader-decoration span {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    animation: decoration-pulse 2s infinite;
}

.we-loader-decoration span:nth-child(2) {
    animation-delay: 0.2s;
    width: 60px;
}

.we-loader-decoration span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes decoration-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

.we-loader-title {
    position: relative;
    margin: 0 0 var(--space-4);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
}

.we-loader-title-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    animation: title-reveal 1.5s var(--ease-out-expo) forwards;
}

@keyframes title-reveal {
    0% { opacity: 0; transform: translateY(30px); letter-spacing: 0.3em; }
    100% { opacity: 1; transform: translateY(0); letter-spacing: 0.1em; }
}

.we-loader-title-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, var(--color-yellow-warm), var(--color-yellow-light), var(--color-yellow-warm));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { background-position: 0% 50%; opacity: 0.5; }
    50% { background-position: 100% 50%; opacity: 0.8; }
}

.we-loader-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    animation: tagline-fade 1s var(--ease-out-expo) 0.5s forwards;
    opacity: 0;
}

@keyframes tagline-fade {
    to { opacity: 1; }
}

.we-loader-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-6) 0;
}

.we-dot {
    width: 8px;
    height: 8px;
    background: var(--color-yellow-warm);
    border-radius: 50%;
    animation: dot-bounce 1.4s infinite ease-in-out;
}

.we-dot--1 { animation-delay: 0s; }
.we-dot--2 { animation-delay: 0.2s; }
.we-dot--3 { animation-delay: 0.4s; }

@keyframes dot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.we-loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin: var(--space-4) auto 0;
    overflow: hidden;
}

.we-loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-yellow-warm), var(--color-yellow-light));
    border-radius: var(--radius-full);
    animation: progress-fill 2s var(--ease-out-expo) forwards;
}

@keyframes progress-fill {
    0% { width: 0; }
    100% { width: 100%; }
}

.we-loader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.we-loader-corner--tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.we-loader-corner--tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.we-loader-corner--bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.we-loader-corner--br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* ============================================
   ANIMATION CLASSES
   ============================================ */

/* Base Animation State */
.anim-fade-up,
.anim-fade-in,
.anim-scale-in,
.anim-slide-left,
.anim-slide-right {
    opacity: 0;
    transition: opacity var(--duration-slower) var(--ease-out-expo),
                transform var(--duration-slower) var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.anim-fade-up {
    transform: translateY(40px);
}

.anim-fade-in {
    transform: translateY(0);
}

.anim-scale-in {
    transform: scale(0.9);
}

.anim-slide-left {
    transform: translateX(-60px);
}

.anim-slide-right {
    transform: translateX(60px);
}

/* Animated State */
.anim-fade-up.animated,
.anim-fade-in.animated,
.anim-scale-in.animated,
.anim-slide-left.animated,
.anim-slide-right.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Animation */
.anim-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

.anim-stagger.animated > * {
    opacity: 1;
    transform: translateY(0);
}

.anim-stagger > *:nth-child(1) { transition-delay: calc(var(--delay, 0s) + 0s); }
.anim-stagger > *:nth-child(2) { transition-delay: calc(var(--delay, 0s) + 0.05s); }
.anim-stagger > *:nth-child(3) { transition-delay: calc(var(--delay, 0s) + 0.1s); }
.anim-stagger > *:nth-child(4) { transition-delay: calc(var(--delay, 0s) + 0.15s); }
.anim-stagger > *:nth-child(5) { transition-delay: calc(var(--delay, 0s) + 0.2s); }
.anim-stagger > *:nth-child(6) { transition-delay: calc(var(--delay, 0s) + 0.25s); }
.anim-stagger > *:nth-child(7) { transition-delay: calc(var(--delay, 0s) + 0.3s); }
.anim-stagger > *:nth-child(8) { transition-delay: calc(var(--delay, 0s) + 0.35s); }

/* Section Reveal */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.section-reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-bg {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.safari-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.hero-cinematic .safari-hero-bg {
    animation: hero-zoom 20s ease-out forwards;
}

@keyframes hero-zoom {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 92, 0.85) 0%,
        rgba(46, 93, 75, 0.7) 50%,
        rgba(30, 58, 138, 0.85) 100%
    );
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 2;
}

/* Animated Dunes */
.dunes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: 3;
    pointer-events: none;
}

.dune {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.dune-1 {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.3) 0%, transparent 70%);
    clip-path: polygon(0 100%, 0 60%, 15% 50%, 35% 55%, 55% 45%, 75% 50%, 100% 40%, 100% 100%);
    animation: dune-wave 8s ease-in-out infinite;
}

.dune-2 {
    background: linear-gradient(135deg, rgba(15, 76, 92, 0.4) 0%, transparent 70%);
    clip-path: polygon(0 100%, 0 70%, 20% 60%, 40% 65%, 60% 55%, 80% 60%, 100% 50%, 100% 100%);
    animation: dune-wave 10s ease-in-out infinite reverse;
}

@keyframes dune-wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

/* Hero Title Animation */
.hero-title {
    overflow: hidden;
}

.hero-title-line {
    display: block;
}

/* Urgency Badge */
.urgency-badge {
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: var(--color-yellow-light);
    backdrop-filter: blur(10px);
}

/* Stars */
.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-yellow-warm);
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
}

.hero-image-zoom {
    transition: transform 8s linear;
}

.hero-image-wrapper:hover .hero-image-zoom {
    transform: scale(1.1);
}

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: transform var(--duration-normal) var(--ease-out-expo),
                box-shadow var(--duration-normal) var(--ease-out-expo);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 3D Card Tilt */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.card-3d.tilting {
    transition: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out-expo);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--color-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Magnetic Button Effect */
.btn-magnetic {
    transition: transform var(--duration-fast) var(--ease-out-expo);
}

/* Ripple Effect Container */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-container {
    padding-left: var(--space-8);
}

.timeline-line {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-primary) 10%,
        var(--color-secondary) 90%,
        transparent
    );
}

.timeline-step {
    position: relative;
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border);
}

.timeline-step:last-child {
    border-bottom: none;
}

.timeline-icon {
    position: absolute;
    left: calc(-1 * var(--space-8) + 4px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    z-index: 1;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.timeline-step:hover .timeline-icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out-expo);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    transition: transform var(--duration-slow) var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-5) var(--space-6);
    background: var(--card);
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    text-align: left;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out-expo);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out-expo),
                padding var(--duration-slow) var(--ease-out-expo);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-6) var(--space-5);
}

/* ============================================
   FORMS
   ============================================ */
.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--fg);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.form-input::placeholder {
    color: var(--fg-muted);
}

/* ============================================
   PARALLAX
   ============================================ */
.parallax-layer {
    will-change: transform;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .card-3d {
        transform: none !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-4: 0.875rem;
        --space-6: 1.25rem;
        --space-8: 1.75rem;
    }
    
    .hero-bg {
        min-height: auto;
        padding-top: var(--space-20);
    }
    
    .hero-image-wrapper {
        margin-top: var(--space-8);
    }
    
    .timeline-container {
        padding-left: var(--space-6);
    }
    
    .timeline-icon {
        left: calc(-1 * var(--space-6) + 4px);
        width: 32px;
        height: 32px;
    }
    
    .timeline-icon svg {
        width: 14px;
        height: 14px;
    }
    
    /* Disable heavy animations on mobile */
    .anim-slide-left,
    .anim-slide-right {
        transform: translateY(30px);
    }
    
    .anim-slide-left.animated,
    .anim-slide-right.animated {
        transform: translateY(0);
    }
    
    .card-3d {
        transform: none !important;
    }
    
    .dunes {
        height: 150px;
    }
}

/* ============================================
   DARK MODE SPECIFIC
   ============================================ */
.dark .hero-bg::after {
    background: linear-gradient(to top, var(--bg), transparent);
}

.dark .btn-secondary:hover {
    border-color: var(--color-yellow-warm);
    color: var(--color-yellow-warm);
}

.dark .timeline-icon {
    background: var(--bg-alt);
}

.dark .faq-question:hover {
    background: var(--bg);
}

/* ============================================
   RTL SUPPORT
   ============================================ */
[dir="rtl"] .timeline-container {
    padding-left: 0;
    padding-right: var(--space-8);
}

[dir="rtl"] .timeline-line {
    left: auto;
    right: 16px;
}

[dir="rtl"] .timeline-icon {
    left: auto;
    right: calc(-1 * var(--space-8) + 4px);
}

[dir="rtl"] .anim-slide-left {
    transform: translateX(60px);
}

[dir="rtl"] .anim-slide-right {
    transform: translateX(-60px);
}

[dir="rtl"] .anim-slide-left.animated,
[dir="rtl"] .anim-slide-right.animated {
    transform: translateX(0);
}

@media (max-width: 768px) {
    [dir="rtl"] .anim-slide-left,
    [dir="rtl"] .anim-slide-right {
        transform: translateY(30px);
    }
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .anim-fade-up,
    .anim-fade-in,
    .anim-scale-in,
    .anim-slide-left,
    .anim-slide-right,
    .anim-stagger > *,
    .section-reveal {
        opacity: 1;
        transform: none;
    }
    
    #we-page-loader {
        display: none;
    }
    
    .safari-hero-bg {
        transform: none;
        animation: none;
    }
    
    .dune-1,
    .dune-2 {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .card-3d {
        transform: none !important;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
.anim-fade-up,
.anim-fade-in,
.anim-scale-in,
.anim-slide-left,
.anim-slide-right,
.parallax-layer,
.card-3d,
.gallery-item img,
.hero-image-zoom {
    will-change: transform, opacity;
}

/* GPU Acceleration */
.btn-primary,
.btn-secondary,
.card,
.faq-icon,
.timeline-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-yellow-warm));
    z-index: 99998;
    transition: width 50ms linear;
}

/* ============================================
   SMOOTH ANCHOR SCROLL
   ============================================ */
html {
    scroll-padding-top: 100px;
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background: var(--color-primary);
    color: #fff;
}

/* ============================================
   FOCUS STYLES
   ============================================ */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-yellow-warm);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    #we-page-loader,
    .dunes,
    .scroll-progress {
        display: none !important;
    }
    
    .anim-fade-up,
    .anim-fade-in,
    .anim-scale-in,
    .anim-slide-left,
    .anim-slide-right {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-bg {
        min-height: auto;
        background: none;
    }
    
    .hero-bg::before,
    .hero-bg::after {
        display: none;
    }
}
