/* Apple-like Unified Design System */
/* Complete Design System for Kinani Travel */

/* ========================================
   CSS Variables & Design Tokens
 ======================================== */
:root {
    /* Colors */
    --bg-primary: #FBFBFD;
    --bg-secondary: #F5F5F7;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #6E6E73;
    --text-inverse: #FFFFFF;
    --color-black: #1D1D1F;

    /* Gold Brand Color - Refined for Premium Feel */
    --color-gold: #c5a028;
    /* Slightly deeper gold */
    --color-gold-dark: #a6851e;
    --color-gold-light: #f3d778;

    /* Grays */
    --gray-100: #F5F5F7;
    --gray-200: #E8E8ED;
    --gray-300: #D2D2D7;
    --gray-400: #AEAEB2;
    --gray-500: #86868B;
    --gray-600: #6E6E73;
    --gray-700: #1D1D1F;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Transitions - World-Class Smoothness */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --nav-height: 80px;
    --container-max: 1300px;
    --container-padding: 32px;
}

/* Parallax Utilities - Optimized for Performance */
.parallax-bg {
    will-change: transform;
    /* Removed transition for better performance during scroll */
}

.parallax-element {
    will-change: transform;
}

[data-speed] {
    will-change: transform;
}

.reveal-element {
    will-change: transform, opacity;
}

/* Force hardware acceleration for complex elements */
.glass-card,
.tour-card,
.hero-video {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scroll Reveal Animations */
.reveal-element {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-reveal-left {
    transform: translateX(-30px);
}

.reveal-fade-in-scale {
    transform: scale(0.95);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Staggered Delay Utilities */
.revealed[style*="transition-delay"] {
    transition-delay: inherit;
}

/* Dark Mode Overrides - Deep Midnight */
[data-theme="dark"] {
    --bg-primary: #020205;
    /* Deep Midnight */
    --bg-secondary: #08080C;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --text-tertiary: #86868B;
    --text-inverse: #020205;
    --color-black: #FFFFFF;

    --gray-100: #121216;
    --gray-200: #1C1C21;
    --gray-300: #2C2C31;
    --gray-400: #48484E;
    --gray-500: #86868B;
    --gray-600: #A1A1A6;
    --gray-700: #F5F5F7;

    /* Optimized Dark Glass - Ultra Premium */
    --glass-bg: rgba(10, 10, 15, 0.75);
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Performance Optimization: Reduce blur on mobile and low-power devices */
@media (max-width: 768px) {
    :root {
        --glass-blur: blur(8px);
    }

    [data-theme="dark"] {
        --glass-blur: blur(10px);
        --glass-bg: rgba(10, 10, 15, 0.85);
    }
}

@media (max-width: 768px) {
    :root {
        --glass-blur: blur(8px);
    }

    [data-theme="dark"] {
        --glass-blur: blur(16px) saturate(150%);
    }
}

html,
body {
    /* Fixed dark background - doesn't change with theme to avoid white flash */
    background-color: #0a0a0f;
    min-height: 100vh;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding-top: var(--nav-height);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 80px;
        /* Space for mobile bottom nav */
    }
}

/* Theme Smooth Transition */
.theme-transitioning,
.theme-transitioning * {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease !important;
}

/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.reveal-element.revealed {
    opacity: 1;
    pointer-events: auto;
}

.reveal-fade-up {
    transform: translateY(30px);
}

.reveal-fade-up.revealed {
    transform: translateY(0);
}

.reveal-fade-in-scale {
    transform: scale(0.95);
}

.reveal-fade-in-scale.revealed {
    transform: scale(1);
}

/* Background Pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(50, 100, 255, 0.02), transparent 25%);
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.03em;
    /* Tighter for professional look */
    color: var(--text-primary);
    font-weight: 700;
    /* Bolder headers */
    line-height: 1.1;
}

.headline-hero {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .headline-hero {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
}

.headline-large {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

.headline-medium {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
}

.headline-small {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

/* ========================================
   Layout - Container
======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary {
    background: var(--gray-700);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background: #333;
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--gray-700);
    background: var(--gray-700);
    color: var(--text-inverse);
}

.btn-dark {
    background: var(--gray-700);
    color: var(--text-inverse);
}

.btn-dark:hover {
    background: #333;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(-1 * var(--nav-height));
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-inverse);
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--color-gold);
}

.hero-content h1 {
    color: var(--text-inverse);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-inverse);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Cards & Glass Effects
======================================== */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .glass-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ========================================
   Features Section
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: var(--text-inverse);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Gallery Section
======================================== */
.gallery-section {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--text-inverse);
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ========================================
   Tours Grid & Cards
======================================== */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tour-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tour-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-card:hover .tour-image-container img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.tour-info {
    padding: 24px;
}

.tour-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tour-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tour-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-meta {
    display: flex;
    gap: 20px;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.tour-meta-item i {
    color: var(--color-gold);
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-200);
}

.tour-price .label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.tour-price .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-700) 0%, #2d2d2d 100%);
    text-align: center;
    color: var(--text-inverse);
}

.cta-section h2 {
    color: var(--text-inverse);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 21px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ========================================
   Footer (Premium Glassmorphism)
======================================== */
.footer {
    background: var(--bg-secondary);
    position: relative;
    padding: 100px 0 40px;
    margin-top: 80px;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

[data-theme="dark"] .footer {
    background: #050508;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03), transparent 40%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand .logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.footer-brand .logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: transform var(--transition-fast);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

/* Newsletter Section */
.footer-newsletter h4 {
    margin-bottom: 16px;
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.newsletter-input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    backdrop-filter: var(--glass-blur);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.trust-item i {
    color: var(--color-gold);
    font-size: 16px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-medium);
}

.social-links a:hover {
    background: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 100px;
        /* More space for bottom nav */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 1;
    }
}

/* ========================================
   Page Hero (Inner Pages)
======================================== */
.page-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 21px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Wishlist Button
======================================== */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: white;
}

.wishlist-btn.active {
    color: #FF3B30;
}

.wishlist-btn.active i {
    font-weight: 900;
}

/* ========================================
   Toast Notification
======================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   Scroll Animations
======================================== */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 40px;
}

.mb-5 {
    margin-bottom: 40px;
}

/* ========================================
   Scrollbar Styles
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dark Mode Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1c1c21;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #48484e;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #5c5c62;
}

/* ========================================
   Enhanced Light/Dark Mode Improvements
======================================== */

/* Light Mode - Clean & Crisp */
[data-theme="light"] .tour-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tour-footer {
    background: rgba(245, 245, 247, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dark Mode - Deep & Premium */
[data-theme="dark"] .tour-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .benefit-card {
    background: rgba(28, 28, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tour-footer {
    background: rgba(18, 18, 22, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .card-badge {
    background: rgba(28, 28, 33, 0.95);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dark Mode Sections */
[data-theme="dark"] .stats-section,
[data-theme="dark"] section:nth-child(even) {
    background: rgba(12, 12, 16, 0.95);
}

/* Dark Mode Inputs */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(28, 28, 33, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Dark Mode Buttons */
[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
}

/* ========================================
   Error States
======================================== */
.error {
    text-align: center;
    padding: 40px;
    color: #FF3B30;
    font-size: 16px;
}

/* ========================================
   HYPER-GLASS CHATBOT REDESIGN
   ======================================== */
.chatbot-launcher-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: floatChatbot 4s ease-in-out infinite;
}

@keyframes floatChatbot {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.chatbot-launcher-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(197, 160, 40, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot-launcher-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(197, 160, 40, 0.6);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.6;
    z-index: -1;
    animation: launcherPulse 2s infinite;
}

@keyframes launcherPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.chatbot-container.hyper-glass {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 150px);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.chatbot-container.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-avatar {
    position: relative;
    width: 45px;
    height: 45px;
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #34c759;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.chatbot-header .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.chatbot-header .status {
    font-size: 12px;
    color: var(--text-secondary);
}

.chatbot-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.chatbot-close-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: messageSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-bottom-left-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-message {
    align-self: flex-end;
    background: var(--color-gold);
    color: white;
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 15px rgba(197, 160, 40, 0.3);
}

.message-time {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.6;
    text-align: right;
}

.chatbot-input-area {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 5px 5px 5px 20px;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.1);
}

.chatbot-input-area input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 0;
}

.chatbot-input-area input:focus {
    outline: none;
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
    background: var(--color-gold-dark);
}

[data-theme="dark"] .bot-message {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .input-wrapper {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .chatbot-container.hyper-glass {
        width: calc(100% - 24px);
        right: 12px;
        left: 12px;
        bottom: 85px;
        height: calc(100vh - 120px);
        max-height: none;
        border-radius: 20px;
    }

    .chatbot-launcher-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-launcher-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .chatbot-header {
        padding: 18px;
    }

    .bot-avatar {
        width: 40px;
        height: 40px;
    }

    .chatbot-header .title {
        font-size: 14px;
    }

    .chatbot-messages {
        padding: 15px;
        gap: 12px;
    }

    .message {
        max-width: 85%;
        font-size: 13px;
        padding: 10px 15px;
    }

    .chatbot-input-area {
        padding: 15px;
    }

    .input-wrapper {
        padding: 3px 3px 3px 15px;
    }

    .chatbot-send-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 320px) {
    .chatbot-launcher-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chatbot-launcher-wrapper {
        bottom: 15px;
        right: 15px;
    }
}

/* ========================================
   Static Footer (Theme Independent)
======================================== */
.footer {
    background-color: #111111 !important;
    color: #f5f5f7 !important;
    border-top: 1px solid #333 !important;
    padding: 80px 0 40px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer .logo-text {
    color: #ffffff !important;
}

.footer h4 {
    color: #ffffff !important;
}

.footer p {
    color: #a1a1a6 !important;
}

.footer-links li a {
    color: #a1a1a6 !important;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-gold) !important;
}

.footer-social a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.footer-social a:hover {
    background: var(--color-gold) !important;
    color: #000000 !important;
}

.footer-bottom {
    border-top: 1px solid #333 !important;
}

.footer .payment-icons i {
    color: #a1a1a6 !important;
}

.footer .payment-icons i.fa-cc-visa {
    color: #fff !important;
}

.footer .payment-icons i.fa-cc-mastercard {
    color: #fff !important;
}

.footer .payment-icons i.fa-google-pay {
    color: #fff !important;
}

/* Scarcity Badge */
.scarcity-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff453a;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 69, 58, 0.3);
    animation: pulseScale 2s infinite ease-in-out;
}

@keyframes pulseScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}