/**
 * Exploria Safari Adventure Page Styles
 * Ultra Cinematic Premium Travel Experience
 * 
 * @package Exploria
 * @version 2.0.0
 */

/* ================================================================
   Exploria DESIGN TOKENS
   ================================================================ */
:root {
    /* Primary Colors */
    --color-primary: #0F4C5C;
    --color-secondary: #2E5D4B;
    
    /* Blue Palette */
    --color-blue-deep: #1E3A8A;
    --color-blue-light: #3B82F6;
    
    /* Sun Palette */
    --color-yellow-warm: #D97706;
    --color-yellow-light: #FCD34D;
    
    /* Neutrals */
    --color-surface: #FFFFFF;
    --color-offset: #F8FAFC;
    --color-border: #E2E8F0;
    --color-muted: #64748B;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Manrope', sans-serif;
    
    /* Text Sizes */
    --text-h1: clamp(2.5rem, 5vw, 4rem);
    --text-h2: clamp(2rem, 4vw, 3rem);
    --text-h3: clamp(1.5rem, 3vw, 2rem);
    --text-body: 1rem;
    --text-small: 0.875rem;
    
    /* Spacing (8px Grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    
    /* Animation */
    --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-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Transitions */
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    --transition-slower: 0.8s var(--ease-out-expo);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(15, 76, 92, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* Dark Mode Tokens */
[data-theme="dark"],
.dark-mode {
    --color-surface: #0F172A;
    --color-offset: #1E293B;
    --color-border: #334155;
    --color-muted: #94A3B8;
}

/* ================================================================
   BASE STYLES
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-surface);
    background-color: var(--color-surface);
    overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

.section-label {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    position: relative;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 2px;
    background: var(--color-yellow-warm);
}

.text-muted {
    color: var(--color-muted);
}

.text-yellow-light { color: var(--color-yellow-light); }
.text-white { color: #FFFFFF; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.container-wide {
    max-width: 1400px;
}

.container-narrow {
    max-width: 800px;
}

.container-medium {
    max-width: 1000px;
}

.section-md {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-10) 0;
    min-height: 80vh;
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }

.flex { display: flex; }
.grid { display: grid; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-2); }
.gap-12 { gap: var(--space-6); }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.py-20 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.p-8 { padding: var(--space-4); }
.px-4 { padding-left: var(--space-2); padding-right: var(--space-2); }
.mt-4 { margin-top: var(--space-2); }
.mt-6 { margin-top: var(--space-3); }
.mt-8 { margin-top: var(--space-4); }
.mt-10 { margin-top: var(--space-5); }
.mt-auto { margin-top: auto; }
.mb-2 { margin-bottom: var(--space-1); }
.mb-4 { margin-bottom: var(--space-2); }
.mb-6 { margin-bottom: var(--space-3); }
.mb-8 { margin-bottom: var(--space-4); }
.mb-10 { margin-bottom: var(--space-5); }
.mb-12 { margin-bottom: var(--space-6); }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-6 > * + * { margin-top: var(--space-3); }
.space-y-8 > * + * { margin-top: var(--space-4); }
.space-y-3 > * + * { margin-top: var(--space-1); }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-widest { letter-spacing: 0.15em; }
.uppercase { text-transform: uppercase; }

/* ================================================================
   BACKGROUND COLORS
   ================================================================ */
.bg-surface { background-color: var(--color-surface); }
.bg-offset { background-color: var(--color-offset); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-blue { background-color: var(--color-blue-deep); }
.bg-blue-deep { background-color: var(--color-blue-deep); }
.bg-yellow-warm { background-color: var(--color-yellow-warm); }

/* ================================================================
   PAGE LOADER - CINEMATIC
   ================================================================ */
#we-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-blue-deep) 100%);
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

#we-page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#we-page-loader.hidden {
    display: none;
}

.we-loader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.we-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-yellow-warm);
    border-radius: 50%;
    opacity: 0;
    animation: loaderParticle 3s infinite;
}

.we-particle--1 { left: 10%; animation-delay: 0s; }
.we-particle--2 { left: 30%; animation-delay: 0.5s; }
.we-particle--3 { left: 50%; animation-delay: 1s; }
.we-particle--4 { left: 70%; animation-delay: 1.5s; }
.we-particle--5 { left: 90%; animation-delay: 2s; }

@keyframes loaderParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.we-loader-inner {
    text-align: center;
    z-index: 2;
}

.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.2);
    border-radius: 1px;
    animation: loaderDecorPulse 1.5s infinite;
}

.we-loader-decoration--top span:nth-child(1) { animation-delay: 0s; }
.we-loader-decoration--top span:nth-child(2) { animation-delay: 0.2s; }
.we-loader-decoration--top span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderDecorPulse {
    0%, 100% { transform: scaleX(0.5); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
}

.we-loader-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    position: relative;
    margin-bottom: var(--space-2);
}

.we-loader-title-text {
    position: relative;
    z-index: 2;
}

.we-loader-title-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(20px);
    opacity: 0.5;
    color: var(--color-yellow-warm);
}

.we-loader-tagline {
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
}

.we-loader-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.we-dot {
    width: 8px;
    height: 8px;
    background: var(--color-yellow-warm);
    border-radius: 50%;
    animation: loaderDot 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 loaderDot {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.we-loader-decoration--bottom {
    margin-top: var(--space-4);
    margin-bottom: 0;
}

.we-loader-decoration--bottom span {
    animation-direction: reverse;
}

.we-loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 0 auto;
    overflow: hidden;
}

.we-loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-yellow-light), var(--color-yellow-warm));
    border-radius: 1px;
    animation: loaderProgress 2s ease-out forwards;
}

@keyframes loaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.we-loader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: cornerFade 2s ease-out forwards;
}

@keyframes cornerFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.we-loader-corner--tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.we-loader-corner--tr { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.we-loader-corner--bl { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.we-loader-corner--br { bottom: 40px; right: 40px; border-left: none; border-top: none; }

/* ================================================================
   TRAVEL STARS BACKGROUND
   ================================================================ */
.travel-stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ================================================================
   HERO SECTION - CINEMATIC
   ================================================================ */
.safari-hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 10s linear;
}

.hero-bg-wrapper .hero-bg-image {
    animation: heroBgZoom 20s ease-out forwards;
}

@keyframes heroBgZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 92, 0.85) 0%,
        rgba(30, 58, 138, 0.7) 50%,
        rgba(15, 76, 92, 0.8) 100%
    );
}

.hero-bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-bg-zoom {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: heroBgPulse 8s ease-in-out infinite;
}

@keyframes heroBgPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.1; background: rgba(217, 119, 6, 0.05); }
}

/* Travel Particles Canvas */
.travel-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Parallax Clouds */
.parallax-clouds {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
}

.cloud--1 {
    width: 400px;
    height: 80px;
    top: 15%;
    left: -100px;
    animation: cloudDrift1 25s linear infinite;
}

.cloud--2 {
    width: 300px;
    height: 60px;
    top: 35%;
    left: -80px;
    animation: cloudDrift2 35s linear infinite;
    animation-delay: -10s;
}

.cloud--3 {
    width: 500px;
    height: 100px;
    top: 60%;
    left: -120px;
    animation: cloudDrift1 30s linear infinite;
    animation-delay: -5s;
}

.cloud--4 {
    width: 250px;
    height: 50px;
    top: 80%;
    left: -60px;
    animation: cloudDrift2 40s linear infinite;
    animation-delay: -15s;
}

@keyframes cloudDrift1 {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(calc(100vw + 500px)) translateY(-20px); }
}

@keyframes cloudDrift2 {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(calc(100vw + 400px)) translateY(10px); }
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.hero-label-line {
    width: 40px;
    height: 2px;
    background: var(--color-yellow-warm);
}

.hero-title {
    margin-bottom: var(--space-4);
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-word {
    display: inline-block;
}

.hero-desc {
    opacity: 0;
}

.hero-cta {
    opacity: 0;
}

/* Hero Stats Panel */
.hero-stats {
    opacity: 0;
}

.stat-item {
    opacity: 0;
}

.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 0;
}

.scroll-text {
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: var(--space-2);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-yellow-warm);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Hero Gradient Transition */
.hero-gradient-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-surface), transparent);
    z-index: 5;
    pointer-events: none;
}

/* ================================================================
   AIRPLANE ROUTE SECTION
   ================================================================ */
.airplane-route-wrapper {
    position: relative;
    height: 200px;
    background: var(--color-surface);
    overflow: hidden;
}

.map-route {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.airplane-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 3s var(--ease-out-expo);
}

.airplane-path.animated {
    stroke-dashoffset: 0;
}

.airplane-icon {
    transition: transform 3s var(--ease-out-expo);
}

.airplane-icon.animated {
    transform: translate(1100px, -70px);
}

.route-marker {
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0);
}

.route-marker.visible {
    opacity: 1;
    transform: scale(1);
}

/* ================================================================
   STORY BAND SECTION
   ================================================================ */
.story-band {
    position: relative;
}

.story-band-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(217, 119, 6, 0.1),
        transparent
    );
    animation: storyBandGradient 8s ease-in-out infinite;
}

@keyframes storyBandGradient {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.texture-overlay {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
}

.story-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.story-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: storyParticleFloat 6s ease-in-out infinite;
}

.story-particle--1 { left: 10%; top: 20%; animation-delay: 0s; }
.story-particle--2 { left: 50%; top: 60%; animation-delay: -2s; }
.story-particle--3 { left: 80%; top: 30%; animation-delay: -4s; }

@keyframes storyParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

/* ================================================================
   DESTINATIONS SECTION
   ================================================================ */
.section-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

.destination-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.destination-card:hover {
    box-shadow: var(--shadow-xl);
}

.destination-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.destination-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.destination-card:hover .destination-card-image img {
    transform: scale(1.08);
}

.destination-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 76, 92, 0.8), transparent 60%);
    transition: opacity var(--transition-base);
}

.destination-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.destination-card:hover .destination-card-shine {
    transform: translateX(100%);
}

.destination-card-content {
    padding: var(--space-4);
}

.destination-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-small);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.destination-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
    color: inherit;
}

.destination-desc {
    font-size: var(--text-small);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.destination-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.destination-link:hover {
    gap: 8px;
}

/* ================================================================
   PACKAGES SECTION
   ================================================================ */
.section-bg-effect {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 76, 92, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: gradientPulse 10s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.bg-noise-texture {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
}

.package-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.package-card:hover {
    box-shadow: var(--shadow-xl);
}

.package-image {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.package-image-inner {
    position: absolute;
    inset: 0;
}

.package-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.package-card:hover .package-image-inner img {
    transform: scale(1.05);
}

.package-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2));
}

.package-badge {
    position: absolute;
    top: var(--space-3);
    left: 0;
    z-index: 2;
}

.package-content {
    background: var(--color-surface);
}

.card-meta {
    font-size: var(--text-small);
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    font-size: 1.5rem;
    color: inherit;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.line-through {
    text-decoration: line-through;
}

/* ================================================================
   WILDLIFE MOSAIC SECTION
   ================================================================ */
.wildlife-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .wildlife-mosaic {
        grid-template-columns: 1fr;
    }
}

.mosaic-main {
    grid-row: span 2;
    height: 480px;
}

@media (max-width: 768px) {
    .mosaic-main {
        grid-row: span 1;
        height: 320px;
    }
}

.mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mosaic-stack > * {
    flex: 1;
    min-height: 232px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay {
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 0.6;
}

.gallery-content {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-content {
    transform: translateY(-5px);
}

.gallery-title {
    transition: color var(--transition-fast);
}

.gallery-item:hover .gallery-title {
    color: var(--color-yellow-light);
}

.gallery-caption {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-icon {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: scale(1);
}

.wildlife-grid-extra {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

@media (max-width: 768px) {
    .wildlife-grid-extra {
        grid-template-columns: 1fr;
    }
}

.wildlife-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.wildlife-card .gallery-image-wrapper img {
    transition: transform var(--transition-slow);
}

.wildlife-card:hover .gallery-image-wrapper img {
    transform: scale(1.08);
}

.wildlife-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.wildlife-card-content {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    right: var(--space-3);
    z-index: 2;
}

/* ================================================================
   EXPERIENCES SECTION
   ================================================================ */
.experiences-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.exp-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(15, 76, 92, 0.1);
    animation: expCircleRotate 30s linear infinite;
}

.exp-circle--1 {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -300px;
}

.exp-circle--2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-direction: reverse;
}

@keyframes expCircleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .experiences-grid {
        grid-template-columns: 1fr;
    }
}

.experience-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.experience-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    border-radius: var(--radius-lg);
    background: rgba(15, 76, 92, 0.05);
    transition: transform var(--transition-base), background var(--transition-base);
}

.experience-card:hover .experience-icon {
    transform: scale(1.1) rotate(5deg);
}

.experience-icon--yellow-warm {
    background: rgba(217, 119, 6, 0.1);
    color: var(--color-yellow-warm);
}

.experience-icon--primary {
    background: rgba(15, 76, 92, 0.1);
    color: var(--color-primary);
}

.experience-icon--secondary {
    background: rgba(46, 93, 75, 0.1);
    color: var(--color-secondary);
}

.experience-icon--blue-deep {
    background: rgba(30, 58, 138, 0.1);
    color: var(--color-blue-deep);
}

.experience-time {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-yellow-warm);
    background: rgba(217, 119, 6, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
}

.experience-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
}

.experience-desc {
    font-size: var(--text-small);
    line-height: 1.6;
}

/* ================================================================
   TIMELINE SECTION
   ================================================================ */
.timeline-section {
    position: relative;
}

.timeline-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.timeline-line-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.timeline-scroll-wrapper {
    overflow-x: auto;
    padding: var(--space-4) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.timeline-scroll-container {
    display: flex;
    gap: var(--space-4);
    padding: 0 var(--space-4);
    min-width: max-content;
}

.timeline-item {
    position: relative;
    text-align: center;
    min-width: 160px;
    opacity: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: var(--color-border);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--text-small);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin-top: var(--space-4);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

/* ================================================================
   3D GLOBE SECTION
   ================================================================ */
#globe {
    position: relative;
}

.globe-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.globe-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.travel-globe {
    width: 400px;
    height: 400px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .travel-globe {
        width: 280px;
        height: 280px;
    }
}

/* CSS Fallback Globe */
.globe-css-fallback {
    position: absolute;
    width: 300px;
    height: 300px;
    display: none;
}

.globe-css-fallback.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(15, 76, 92, 0.5));
    animation: globeRotate 20s linear infinite;
    position: relative;
    overflow: hidden;
}

.globe-sphere::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    background-size: 30px 30px;
    animation: globeGridRotate 10s linear infinite;
}

.globe-atmosphere {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 40%, rgba(217, 119, 6, 0.1) 60%, transparent 80%);
    animation: atmospherePulse 4s ease-in-out infinite;
}

@keyframes globeRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes globeGridRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes atmospherePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.globe-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

.globe-route {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.globe-route.animated {
    stroke-dashoffset: 0;
}

.globe-content {
    position: relative;
    z-index: 10;
    padding: var(--space-10) 0;
}

.globe-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.globe-stat {
    text-align: center;
    opacity: 0;
}

.globe-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-yellow-warm);
    font-variant-numeric: tabular-nums;
}

.globe-stat-label {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================================================================
   TESTIMONIALS SECTION
   ================================================================ */
.testimonials-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.testimonials-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
}

.testimonials-particles {
    position: absolute;
    inset: 0;
}

.t-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: tParticleFloat 8s ease-in-out infinite;
}

.t-particle--1 { left: 10%; top: 20%; animation-delay: 0s; }
.t-particle--2 { left: 60%; top: 70%; animation-delay: -3s; }
.t-particle--3 { left: 85%; top: 30%; animation-delay: -6s; }

@keyframes tParticleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.1; }
    50% { transform: translate(20px, -30px); opacity: 0.3; }
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s var(--ease-out-expo);
}

.testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-quote p {
    font-style: italic;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.slider-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-btn:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-1);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: var(--color-yellow-warm);
    transform: scale(1.2);
}

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-blue-deep) 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(217, 119, 6, 0.2), transparent 50%);
    animation: ctaGradientShift 10s ease-in-out infinite alternate;
}

@keyframes ctaGradientShift {
    0% { transform: translateX(-20%); }
    100% { transform: translateX(20%); }
}

.cta-particles {
    position: absolute;
    inset: 0;
}

.cta-particles-canvas {
    width: 100%;
    height: 100%;
}

.cta-overlay-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ================================================================
   BOOKING SECTION
   ================================================================ */
.booking-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.booking-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 76, 92, 0.05), rgba(217, 119, 6, 0.05));
}

.booking-shape--1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.booking-shape--2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.booking-info,
.booking-summary {
    opacity: 0;
}

/* Form Styles */
.form-group {
    position: relative;
}

.form-group label {
    color: inherit;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-body);
    background: var(--color-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.3);
}

.btn-lg {
    padding: var(--space-3) var(--space-5);
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-accent {
    background: var(--color-yellow-warm);
    color: #fff;
    border-color: var(--color-yellow-warm);
}

.btn-accent:hover {
    background: var(--color-yellow-light);
    border-color: var(--color-yellow-light);
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    border-color: currentColor;
}

.btn-text {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
}

.btn-text:hover {
    color: var(--color-secondary);
}

/* Magnetic Button */
.btn-magnetic {
    transition: transform var(--transition-fast);
}

/* Ripple Effect */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    pointer-events: none;
}

.btn-ripple.active {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* ================================================================
   CARD 3D TILT
   ================================================================ */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* ================================================================
   FLOATING ELEMENTS
   ================================================================ */
.floating-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    background: var(--color-primary);
}

.floating-element--1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
}

.floating-element--2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    background: var(--color-yellow-warm);
}

.floating-element--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    background: var(--color-blue-light);
}

.floating-element--4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 30%;
}

/* ================================================================
   ULTRA ANIMATION SYSTEM (25 Classes)
   ================================================================ */

/* Base Animation State */
[class*="anim-"] {
    opacity: 0;
    will-change: transform, opacity;
}

[class*="anim-"].animated {
    opacity: 1;
    transform: none !important;
    filter: none !important;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    [class*="anim-"] {
        opacity: 1;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .cloud,
    .floating-element,
    .story-particle,
    .t-particle,
    .we-particle {
        animation: none !important;
    }
}

/* 1. Fade Up */
.anim-fade-up {
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 2. Fade Down */
.anim-fade-down {
    transform: translateY(-40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 3. Fade In */
.anim-fade-in {
    transition: opacity 1s var(--ease-out-expo);
}

/* 4. Fade Out */
.anim-fade-out {
    opacity: 1;
    transition: opacity 0.8s var(--ease-out-expo);
}

.anim-fade-out.animated {
    opacity: 0;
}

/* 5. Slide Left */
.anim-slide-left {
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 6. Slide Right */
.anim-slide-right {
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* RTL Support for Slides */
[dir="rtl"] .anim-slide-left {
    transform: translateX(-60px);
}

[dir="rtl"] .anim-slide-right {
    transform: translateX(60px);
}

/* 7. Slide Up */
.anim-slide-up {
    transform: translateY(80px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 8. Slide Down */
.anim-slide-down {
    transform: translateY(-80px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 9. Scale In */
.anim-scale-in {
    transform: scale(0.8);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 10. Scale Out */
.anim-scale-out {
    transform: scale(1.2);
    opacity: 1;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.anim-scale-out.animated {
    transform: scale(1);
    opacity: 1;
}

/* 11. Zoom In */
.anim-zoom-in {
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 12. Zoom Out */
.anim-zoom-out {
    transform: scale(1.1);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 13. Rotate In */
.anim-rotate-in {
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 14. Rotate Out */
.anim-rotate-out {
    transform: rotate(10deg);
    opacity: 1;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.anim-rotate-out.animated {
    transform: rotate(0deg);
    opacity: 1;
}

/* 15. Blur In */
.anim-blur-in {
    filter: blur(20px);
    transform: scale(1.05);
    transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 16. Blur Out */
.anim-blur-out {
    filter: blur(0);
    opacity: 1;
    transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}

.anim-blur-out.animated {
    filter: blur(20px);
    opacity: 0;
}

/* 17. Flip X */
.anim-flip-x {
    transform: perspective(1000px) rotateX(90deg);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 18. Flip Y */
.anim-flip-y {
    transform: perspective(1000px) rotateY(90deg);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* 19. Reveal Mask */
.anim-reveal-mask {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s var(--ease-out-expo);
}

.anim-reveal-mask.animated {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

[dir="rtl"] .anim-reveal-mask {
    clip-path: inset(0 0 0 100%);
}

[dir="rtl"] .anim-reveal-mask.animated {
    clip-path: inset(0 0 0 0);
}

/* 20. Stagger (Normal) */
.anim-stagger {
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

/* 21. Stagger Fast */
.anim-stagger-fast {
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

/* 22. Stagger Slow */
.anim-stagger-slow {
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

/* 23. Float */
.anim-float {
    opacity: 1;
    animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

/* 24. Glow */
.anim-glow {
    opacity: 1;
    animation: glowAnim 3s ease-in-out infinite;
}

@keyframes glowAnim {
    0%, 100% { box-shadow: 0 0 20px rgba(217, 119, 6, 0.2); }
    50% { box-shadow: 0 0 40px rgba(217, 119, 6, 0.4); }
}

/* 25. Bounce Soft */
.anim-bounce-soft {
    opacity: 1;
    animation: bounceSoft 2s ease-in-out infinite;
}

@keyframes bounceSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================================================================
   RESPONSIVE PERFORMANCE
   ================================================================ */

/* Tablet: Reduce animation distance */
@media (max-width: 1024px) {
    .anim-fade-up,
    .anim-fade-down {
        transform: translateY(30px);
    }
    
    .anim-slide-left {
        transform: translateX(40px);
    }
    
    .anim-slide-right {
        transform: translateX(-40px);
    }
    
    [dir="rtl"] .anim-slide-left {
        transform: translateX(-40px);
    }
    
    [dir="rtl"] .anim-slide-right {
        transform: translateX(40px);
    }
}

/* Mobile: Disable heavy 3D tilt, reduce motion intensity */
@media (max-width: 768px) {
    .card-3d {
        transform: none !important;
    }
    
    .anim-fade-up,
    .anim-fade-down {
        transform: translateY(20px);
    }
    
    .anim-slide-left,
    .anim-slide-right {
        transform: translateX(30px);
    }
    
    [dir="rtl"] .anim-slide-left,
    [dir="rtl"] .anim-slide-right {
        transform: translateX(-30px);
    }
    
    .anim-slide-up,
    .anim-slide-down {
        transform: translateY(40px);
    }
    
    .anim-stagger-slow {
        transform: translateY(30px);
    }
    
    .hero-bg-image {
        animation: none;
        transform: scale(1);
    }
    
    .cloud {
        opacity: 0.3;
    }
    
    .floating-element {
        display: none;
    }
}

/* ================================================================
   DARK MODE SUPPORT
   ================================================================ */
[data-theme="dark"] .bg-surface,
.dark-mode .bg-surface {
    background-color: var(--color-surface);
}

[data-theme="dark"] .bg-offset,
.dark-mode .bg-offset {
    background-color: var(--color-offset);
}

[data-theme="dark"] .destination-card,
.dark-mode .destination-card,
[data-theme="dark"] .package-card,
.dark-mode .package-card,
[data-theme="dark"] .experience-card,
.dark-mode .experience-card,
[data-theme="dark"] .timeline-content,
.dark-mode .timeline-content {
    background: var(--color-offset);
    border-color: var(--color-border);
}

[data-theme="dark"] .section-label,
.dark-mode .section-label {
    color: var(--color-yellow-light);
}

[data-theme="dark"] .hero-gradient-transition,
.dark-mode .hero-gradient-transition {
    background: linear-gradient(to top, var(--color-surface), transparent);
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@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;
    }
    
    .parallax-clouds,
    .floating-elements,
    .travel-stars,
    .travel-particles,
    .section-particles {
        display: none;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .floating-elements,
    .parallax-clouds,
    .travel-stars,
    .travel-particles,
    .section-particles,
    #we-page-loader,
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .anim-fade-up,
    .anim-fade-down,
    .anim-slide-left,
    .anim-slide-right,
    .anim-scale-in,
    .anim-zoom-in {
        opacity: 1;
        transform: none;
    }
}
