/* ═══════════════════════════════════════════════════════════
   KHAT TOURISM LLC — Ultra-Premium Design System
   Inspired by Aman Resorts, Four Seasons, Rolls-Royce
   ═══════════════════════════════════════════════════════════ */

:root {
    /* ── Core Palette ── */
    --gold: #c9a96e;               /* Warm Antique Gold */
    --gold-light: #dfc495;         /* Soft Satin Gold */
    --gold-hover: #b8923f;         /* Deep Burnished Gold */
    --gold-glow: rgba(201, 169, 110, 0.15);
    
    --dark-bg: #0a0e17;            /* Deep Midnight Navy */
    --dark-bg-2: #0f1320;          /* Slightly Lighter Midnight */
    --card-bg: rgba(15, 20, 38, 0.55);  /* Midnight Glass */
    --card-bg-solid: #111627;      /* Solid Card Background */
    --border-color: rgba(201, 169, 110, 0.1);
    --border-hover: rgba(201, 169, 110, 0.3);
    
    --text-primary: #f0ece4;       /* Warm Ivory White */
    --text-muted: #7a8299;         /* Muted Steel Blue */
    --text-secondary: #9ca3b8;     /* Soft Slate */
    
    --accent-blue: rgba(56, 97, 251, 0.08);
    --accent-warm: rgba(201, 169, 110, 0.04);
    
    --font-outfit: 'Outfit', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    
    /* ── Transitions ── */
    --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 110, 0.4);
}

/* ── Ambient Background ── */
@keyframes meshGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: var(--dark-bg);
    background-image: 
        radial-gradient(ellipse at 15% 15%, rgba(201, 169, 110, 0.03) 0px, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(56, 97, 251, 0.04) 0px, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(15, 20, 38, 0.8) 0px, transparent 60%),
        radial-gradient(ellipse at 80% 90%, rgba(201, 169, 110, 0.02) 0px, transparent 40%);
    background-size: 200% 200%;
    animation: meshGradient 25s ease-in-out infinite;
    color: var(--text-primary);
    font-family: var(--font-montserrat);
    overflow-x: hidden;
    letter-spacing: 0.02em;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: var(--font-outfit);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ── Gold Typography & Utilities ── */
.text-gold {
    background: linear-gradient(135deg, #b8923f 0%, #dfc495 30%, #f5e6c8 50%, #dfc495 70%, #b8923f 100%);
    background-size: 200% auto;
    color: var(--gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineGold 6s ease-in-out infinite;
}

@keyframes shineGold {
    0%   { background-position: 0% center; }
    50%  { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.text-normal-gold {
    color: var(--gold) !important;
}

.text-emerald {
    color: var(--dark-bg) !important;
}

.bg-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
    color: var(--dark-bg) !important;
}

.bg-dark-bg {
    background-color: var(--dark-bg) !important;
}

.text-secondary {
    color: var(--text-muted) !important;
}

/* ── Elegant Luxury Divider ── */
.gold-divider {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(201, 169, 110, 0.6) 30%, 
        var(--gold) 50%, 
        rgba(201, 169, 110, 0.6) 70%, 
        transparent 100%);
    border-radius: 4px;
    position: relative;
}
.gold-divider::after {
    content: '◆';
    position: absolute;
    top: -8px;
    left: calc(50% - 6px);
    font-size: 8px;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(201, 169, 110, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS — Premium with Depth
   ═══════════════════════════════════════════════════════════ */

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-hover) 100%);
    background-size: 200% 100%;
    color: var(--dark-bg) !important;
    font-family: var(--font-outfit);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.6s var(--ease-luxury);
    border: none;
    box-shadow: 
        0 4px 15px rgba(201, 169, 110, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-gold:hover {
    background-position: 100% 0;
    color: var(--dark-bg) !important;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(201, 169, 110, 0.3),
        0 0 20px rgba(201, 169, 110, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: all 0.8s ease;
}
.btn-gold:hover::after {
    left: 125%;
}

/* Outline Premium Button */
.btn-outline-gold {
    border: 1px solid rgba(201, 169, 110, 0.4);
    color: var(--gold-light) !important;
    font-family: var(--font-outfit);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: transparent;
    transition: all 0.6s var(--ease-luxury);
    position: relative;
    overflow: hidden;
}
.btn-outline-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--dark-bg) !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — Frosted Glass Premium
   ═══════════════════════════════════════════════════════════ */

.glass-nav {
    background: rgba(10, 14, 23, 0.82) !important;
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border-bottom: 1px solid rgba(201, 169, 110, 0.06);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(240, 236, 228, 0.65);
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
}
.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold-light);
}
.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transition: width 0.4s var(--ease-luxury);
}
.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* ═══════════════════════════════════════════════════════════
   GLASS CARDS — Deep Luxury with Luminous Edge
   ═══════════════════════════════════════════════════════════ */

.glass-card {
    background: linear-gradient(145deg, 
        rgba(17, 22, 39, 0.7) 0%, 
        rgba(10, 14, 23, 0.85) 100%);
    backdrop-filter: blur(25px) saturate(1.1);
    -webkit-backdrop-filter: blur(25px) saturate(1.1);
    border: 1px solid rgba(201, 169, 110, 0.07);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.6s var(--ease-luxury);
    overflow: hidden;
    position: relative;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(201, 169, 110, 0.15) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 110, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 169, 110, 0.06);
}
.glass-card:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Cinematic Full-Bleed
   ═══════════════════════════════════════════════════════════ */

.hero-container {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1451337516015-6b6e9a44a8a3?auto=format&fit=crop&w=1920&q=75') no-repeat center center;
    background-size: cover;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.85;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(10, 14, 23, 0.3) 0%, 
        rgba(10, 14, 23, 0.55) 50%,
        rgba(10, 14, 23, 0.85) 75%,
        var(--dark-bg) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding-bottom: 120px;
}
.hero-content h1 {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
}
@media (max-width: 768px) {
    .hero-container {
        height: 100vh;
        min-height: 600px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content {
        padding-bottom: 80px;
    }
}

/* ── Quick Booking Widget ── */
.quick-booking-widget {
    margin-top: -90px;
    position: relative;
    z-index: 10;
}
.quick-booking-widget .form-select,
.quick-booking-widget .form-control {
    background: rgba(10, 14, 23, 0.9) !important;
    border: 1px solid rgba(201, 169, 110, 0.12);
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.quick-booking-widget .form-select:focus,
.quick-booking-widget .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(201, 169, 110, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY CARDS — Elegant Minimal
   ═══════════════════════════════════════════════════════════ */

.category-card {
    position: relative;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(17, 22, 39, 0.5) 0%, rgba(10, 14, 23, 0.7) 100%);
    transition: all 0.5s var(--ease-bounce);
}
.category-card .icon-circle {
    transition: all 0.5s var(--ease-bounce);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.2);
}
.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(201, 169, 110, 0.08);
}
.category-card:hover .icon-circle {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 0 25px rgba(201, 169, 110, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   TOUR CARDS — Premium Image Cards
   ═══════════════════════════════════════════════════════════ */

.tour-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 270px;
}
.tour-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-luxury);
    filter: brightness(0.95);
}
.glass-card:hover .tour-card-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
.tour-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 14, 23, 0.88);
    border: 1px solid rgba(201, 169, 110, 0.35);
    color: var(--gold-light);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Social Proof Badges on Cards */
.tour-social-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 5px;
}
.tour-social-badge.badge-bestseller {
    background: linear-gradient(135deg, #c9a96e 0%, #dfc495 100%);
    color: #0a0e17;
    box-shadow: 0 3px 15px rgba(201, 169, 110, 0.4);
}
.tour-social-badge.badge-popular {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}
.tour-social-badge.badge-toprated {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

/* Premium Highlights List */
.tour-highlights-list ul li {
    font-size: 0.82rem !important;
    padding: 2px 0;
}
.tour-highlights-list .fa-circle-check {
    color: var(--gold) !important;
}

/* Premium Highlights Tags for Cards */
.tour-highlights-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tour-highlight-tag {
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.12);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.tour-highlight-tag i {
    color: var(--gold-light);
    font-size: 0.65rem;
}
.glass-card:hover .tour-highlight-tag {
    border-color: rgba(201, 169, 110, 0.25);
    background: rgba(201, 169, 110, 0.08);
}

/* Premium Price Typography */
.price-from-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}
.price-value {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: var(--gold) !important;
    font-family: var(--font-outfit) !important;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
    letter-spacing: -0.01em;
}


/* ═══════════════════════════════════════════════════════════
   STATISTICS — Refined Counters
   ═══════════════════════════════════════════════════════════ */

.stat-card {
    background: rgba(17, 22, 39, 0.4);
    border: 1px solid rgba(201, 169, 110, 0.05);
    border-radius: 20px;
    padding: 40px 20px;
    transition: all 0.5s ease;
}
.stat-card:hover {
    background: rgba(201, 169, 110, 0.03);
    border-color: rgba(201, 169, 110, 0.15);
    transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US — Trust Building Section
   ═══════════════════════════════════════════════════════════ */

.trust-card {
    background: linear-gradient(145deg,
        rgba(17, 22, 39, 0.6) 0%,
        rgba(10, 14, 23, 0.8) 100%);
    border: 1px solid rgba(201, 169, 110, 0.07);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.5s var(--ease-luxury);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.trust-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.trust-card:hover {
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(201,169,110,0.05);
}
.trust-card:hover::before {
    opacity: 1;
}
.trust-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(201,169,110,0.12) 0%, rgba(201,169,110,0.04) 100%);
    border: 1px solid rgba(201,169,110,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s var(--ease-bounce);
    font-size: 1.6rem;
    color: var(--gold);
}
.trust-card:hover .trust-icon-wrap {
    transform: scale(1.12) rotate(6deg);
    background: linear-gradient(135deg, rgba(201,169,110,0.2) 0%, rgba(201,169,110,0.08) 100%);
    box-shadow: 0 0 25px rgba(201,169,110,0.2);
}
.trust-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.trust-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER — Premium Full-Width Section
   ═══════════════════════════════════════════════════════════ */

.cta-banner-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg,
        rgba(10, 14, 23, 1) 0%,
        rgba(15, 20, 38, 1) 40%,
        rgba(10, 14, 23, 1) 100%);
    border-top: 1px solid rgba(201, 169, 110, 0.08);
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}
.cta-banner-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(201, 169, 110, 0.07) 0%,
        transparent 65%);
    pointer-events: none;
}
.cta-banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(201,169,110,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(201,169,110,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(201,169,110,0.15) 0%, transparent 100%);
    pointer-events: none;
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
}

/* ── Contact Info Badge ── */
.contact-badge {
    background: rgba(201, 169, 110, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}
.contact-badge:hover {
    border-color: rgba(201, 169, 110, 0.25);
    background: rgba(201, 169, 110, 0.06);
}

/* ═══════════════════════════════════════════════════════════
   TOUR DETAIL PAGE
   ═══════════════════════════════════════════════════════════ */

.tour-header-img {
    height: 60vh;
    min-height: 420px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
.tour-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(10, 14, 23, 0.95) 0%, 
        rgba(10, 14, 23, 0.3) 60%,
        transparent 100%);
}

.sticky-booking-sidebar {
    position: sticky;
    top: 100px;
    z-index: 100;
}

/* ── Reviews ── */
.review-item {
    background: rgba(17, 22, 39, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}
.review-item:hover {
    border-color: rgba(201, 169, 110, 0.12);
    background: rgba(17, 22, 39, 0.6);
}

/* ═══════════════════════════════════════════════════════════
   FORMS — Refined Inputs
   ═══════════════════════════════════════════════════════════ */

.form-control, .form-select {
    background: rgba(15, 19, 32, 0.8) !important;
    border: 1px solid rgba(201, 169, 110, 0.08) !important;
    color: var(--text-primary) !important;
    padding: 12px 20px;
    font-size: 0.92rem;
    border-radius: 12px;
    transition: all 0.3s ease !important;
}
.form-control:focus, .form-select:focus {
    background: rgba(15, 19, 32, 0.95) !important;
    border-color: rgba(201, 169, 110, 0.35) !important;
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.12) !important;
}
label.form-label {
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--gold);
}

/* Custom Alert Styles */
.alert.glass-card {
    border-left: 3px solid var(--gold) !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — Refined & Minimal
   ═══════════════════════════════════════════════════════════ */

.bg-footer {
    background: linear-gradient(to bottom, 
        rgba(8, 11, 18, 1) 0%, 
        rgba(5, 7, 12, 1) 100%) !important;
    border-top: 1px solid rgba(201, 169, 110, 0.04) !important;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(201, 169, 110, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.1);
    color: var(--text-muted);
    border-radius: 50%;
    transition: all 0.4s var(--ease-luxury);
    font-size: 0.85rem;
}
.social-icon:hover {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   FLOATING WHATSAPP — Premium Badge
   ═══════════════════════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.3),
        0 0 0 3px rgba(37, 211, 102, 0.1);
    z-index: 999;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-bounce);
    text-decoration: none;
    border: none;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    color: #fff;
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.45),
        0 0 0 6px rgba(37, 211, 102, 0.12);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — Refined & Subtle
   ═══════════════════════════════════════════════════════════ */

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.floating-element {
    animation: float 5s ease-in-out infinite;
}

/* ── Gold Dust Particles ── */
.sand-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.particle {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: rgba(201, 169, 110, 0.5);
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.6);
    border-radius: 50%;
    animation: floatParticle 14s infinite linear;
}

/* Staggered particles */
.particle:nth-child(1)  { left: 8%;  width: 2px; height: 2px; animation-duration: 16s; animation-delay: 0s; }
.particle:nth-child(2)  { left: 22%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3)  { left: 38%; width: 2px; height: 2px; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(4)  { left: 52%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: 4s; }
.particle:nth-child(5)  { left: 68%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: 1.5s; }
.particle:nth-child(6)  { left: 82%; width: 2px; height: 2px; animation-duration: 17s; animation-delay: 3s; }
.particle:nth-child(7)  { left: 12%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: 5s; }
.particle:nth-child(8)  { left: 32%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: 2.5s; }
.particle:nth-child(9)  { left: 48%; width: 3px; height: 3px; animation-duration: 21s; animation-delay: 6s; }
.particle:nth-child(10) { left: 62%; width: 2px; height: 2px; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(11) { left: 78%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 3.5s; }
.particle:nth-child(12) { left: 92%; width: 2px; height: 2px; animation-duration: 20s; animation-delay: 4.5s; }

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: 0.7;
    }
    92% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-105vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   HOVER GLOW EFFECT — Subtle Premium Glow
   ═══════════════════════════════════════════════════════════ */

.hover-glow {
    position: relative;
}
.hover-glow::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(201, 169, 110, 0.1) 0%, 
        transparent 50%, 
        rgba(201, 169, 110, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}
.hover-glow:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   PWA INSTALL OVERLAY & MODAL (PREMIUM VIEW)
   ═══════════════════════════════════════════════════════════ */

.pwa-install-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: pwaFadeIn 0.4s ease-out;
}

.pwa-install-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, #0e121a 0%, #080a0f 100%);
    border-radius: 32px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(201, 169, 110, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    padding: 40px 24px;
    animation: pwaScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

/* Subtle amber outer glow for the modal */
.pwa-install-modal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pwa-modal-content {
    position: relative;
    z-index: 1;
}

.pwa-close-x-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pwa-close-x-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pwa-app-logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pwa-app-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border: 2px solid #c9a96e;
    border-radius: 20px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.15);
}

.pwa-modal-title {
    font-size: 1.75rem;
    font-family: var(--font-outfit);
    letter-spacing: 0.05em;
    color: #ffffff !important;
}

.pwa-badge {
    display: inline-block;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--gold-light);
    font-family: var(--font-outfit);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pwa-modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0aec0 !important;
    font-family: var(--font-outfit);
}

/* Custom outline dark button for "Later" */
.btn-outline-dark-custom {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: var(--font-outfit);
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.4s ease;
}

.btn-outline-dark-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
}

@keyframes pwaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pwaScaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   UTILITY — Letter Spacing & Extras
   ═══════════════════════════════════════════════════════════ */

.letter-spacing-2 {
    letter-spacing: 0.12em;
}

.fw-extrabold {
    font-weight: 800 !important;
}

/* Border overrides for consistency */
.border-secondary {
    border-color: rgba(201, 169, 110, 0.06) !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION — Premium Gold & Midnight Navy
   ═══════════════════════════════════════════════════════════ */

.pagination {
    gap: 8px; /* Elegant separation of page items */
}

.pagination .page-item {
    border: none;
    background: transparent;
}

.pagination .page-link {
    background: rgba(17, 22, 39, 0.55) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.15) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-outfit);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px !important; /* Premium rounded style instead of square */
    transition: all 0.4s var(--ease-luxury) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.pagination .page-link:hover {
    background: rgba(201, 169, 110, 0.08) !important;
    border-color: rgba(201, 169, 110, 0.4) !important;
    color: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.1);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
    border-color: var(--gold) !important;
    color: var(--dark-bg) !important;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
}

.pagination .page-item.disabled .page-link {
    background: rgba(17, 22, 39, 0.3) !important;
    border-color: rgba(201, 169, 110, 0.05) !important;
    color: var(--text-muted) !important;
    opacity: 0.5;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE REFINEMENTS
   ═══════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow globally on mobile devices */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* Responsive Image and Embed fixes inside Rich Text Description */
.leading-loose img,
.leading-loose iframe,
.leading-loose table {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 991px) {
    .quick-booking-widget {
        margin-top: -60px;
    }
    
    /* Make tour detail header image a bit shorter and responsive on mobile */
    .tour-header-img {
        height: auto !important;
        min-height: 320px !important;
    }
    
    .tour-header-img h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Sticky Mobile Booking Bar */
    .mobile-sticky-booking-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.92);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        border-top: 1px solid rgba(201, 169, 110, 0.18);
        z-index: 990;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
        padding: 12px 0;
        transition: transform 0.3s ease;
    }
    
    /* Adjust float WhatsApp button and add body spacing so sticky bar does not overlap content */
    .whatsapp-float {
        bottom: 85px !important;
    }
    
    body {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 24px 12px;
    }
    .stat-card h2 {
        font-size: 2rem !important;
    }
    .contact-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    /* Prevent narrow row forms from overflowing on mobile */
    .row.g-2 .col-4 .form-control {
        padding: 8px 6px !important;
        font-size: 0.82rem !important;
        text-align: center;
    }
}
