/**
 * MIR Flights & Hotels OTA Platform
 * Main Stylesheet
 * Version: 1.0.0
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1b5e;
    --secondary: #ff6f00;
    --secondary-light: #ffa040;
    --accent: #00bcd4;
    --accent-light: #4dd0e1;
    --success: #00c853;
    --danger: #ff1744;
    --warning: #ffc107;
    --info: #2196f3;
    --dark: #0a0a2a;
    --dark-card: #12123a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a2a 0%, #1a237e 40%, #0d47a1 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 35, 126, 0.4) 0%, rgba(10, 10, 42, 0.8) 100%);
    --gradient-accent: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(0, 188, 212, 0.15);
    --shadow-neon: 0 0 15px rgba(0, 188, 212, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
    --navbar-height: 70px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--accent);
    color: var(--dark);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ========================================
   CURSOR TRAIL EFFECT
   ======================================== */
.cursor-trail {
    display: none;
}

@media (min-width: 992px) {
    .cursor-trail {
        display: block;
        position: fixed;
        pointer-events: none;
        z-index: 99999;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 188, 212, 0.4), transparent);
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
    }
}

/* ========================================
   NAVBAR
   ======================================== */
.mir-navbar {
    background: rgba(10, 10, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: var(--navbar-height);
    padding: 0;
    transition: var(--transition);
    z-index: 1050;
}

.mir-navbar.scrolled {
    background: rgba(10, 10, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mir-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.mir-navbar .nav-link:hover,
.mir-navbar .nav-link.active {
    color: var(--accent-light) !important;
}

.mir-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
    color: white;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
.mir-offcanvas {
    background: linear-gradient(180deg, var(--dark) 0%, var(--primary-dark) 100%);
    border-right: 1px solid var(--glass-border);
    width: 280px !important;
}

.mir-offcanvas .nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
}

.mir-offcanvas .nav-link:hover {
    background: var(--glass-bg);
    color: var(--accent-light);
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom, 8px);
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 4px 8px;
    transition: var(--transition);
}

.mob-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.mob-nav-item.active,
.mob-nav-item:hover {
    color: var(--accent);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 111, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(26, 35, 126, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) translateX(100px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

/* ========================================
   GLASSMORPHISM CARDS
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* 3D Hover Card */
.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(5deg) rotateX(2deg);
}

/* ========================================
   SEARCH PANELS
   ======================================== */
.search-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.search-tabs .nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: transparent;
}

.search-tabs .nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.search-tabs .nav-link.active {
    background: var(--gradient-accent) !important;
    color: white !important;
}

.trip-type-selector .btn {
    color: var(--text-secondary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.trip-type-selector .btn.active,
.trip-type-selector .btn:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.search-input-group {
    position: relative;
}

.search-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.search-input-group .form-control,
.search-input-group .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input-group .form-control:focus,
.search-input-group .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
    color: var(--text-primary);
}

.search-input-group .form-control::placeholder {
    color: var(--text-muted);
}

.search-input-group .input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(25%);
    color: var(--text-muted);
    pointer-events: none;
}

.btn-search {
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 2.5rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
    color: white;
}

.btn-search:active {
    transform: translateY(0);
}

/* Swap Button */
.swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.swap-btn:hover {
    background: var(--accent);
    color: var(--dark);
    transform: rotate(180deg);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: var(--glass-bg);
}

.autocomplete-item .airport-iata {
    font-weight: 700;
    color: var(--accent);
    min-width: 40px;
}

.autocomplete-item .airport-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   PASSENGER SELECTOR
   ======================================== */
.passenger-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 250px;
}

.passenger-dropdown.show {
    display: block;
}

.passenger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.passenger-row:not(:last-child) {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.passenger-info .type-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.passenger-info .type-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.passenger-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.passenger-controls .btn-counter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1;
}

.passenger-controls .btn-counter:hover:not(:disabled) {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.passenger-controls .btn-counter:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.passenger-controls .count {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

/* ========================================
   FLIGHT CARDS
   ======================================== */
.flight-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.flight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.flight-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.flight-card:hover::before {
    transform: scaleX(1);
}

.flight-card.best-deal {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.15);
}

.flight-card.best-deal::before {
    transform: scaleX(1);
    background: var(--gradient-accent);
}

.best-deal-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flight-airline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.flight-airline img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: contain;
    background: white;
    padding: 2px;
}

.flight-airline .airline-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.flight-airline .flight-number {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0.5rem 0;
}

.flight-point {
    text-align: center;
    flex: 0 0 auto;
}

.flight-point .time {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1;
}

.flight-point .airport {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-top: 4px;
}

.flight-point .city {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.flight-route-line {
    flex: 1;
    position: relative;
    margin: 0 1rem;
    min-width: 80px;
}

.flight-route-line .line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
    border-radius: 2px;
    position: relative;
}

.flight-route-line .plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    background: var(--dark-card);
    padding: 2px 6px;
    font-size: 0.9rem;
}

.flight-route-line .duration {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.flight-route-line .stops {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--secondary-light);
    font-weight: 600;
}

.flight-price {
    text-align: right;
}

.flight-price .amount {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent-light);
}

.flight-price .per-person {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.flight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
}

.flight-meta .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--glass-bg);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.btn-book {
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
    color: white;
}

/* ========================================
   FLIGHT TIMELINE ANIMATION
   ======================================== */
.flight-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-segment {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.timeline-segment .timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--dark-card);
    box-shadow: 0 0 10px var(--accent);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-segment .timeline-line {
    position: absolute;
    left: 7px;
    top: 16px;
    width: 2px;
    height: calc(100% + 24px);
    background: linear-gradient(180deg, var(--accent), var(--primary-light));
}

.timeline-segment:last-child .timeline-line {
    display: none;
}

.timeline-content {
    margin-left: 1.5rem;
    flex: 1;
}

/* Animated Flight Route SVG */
.flight-route-svg {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 2rem 0;
}

.flight-route-svg svg {
    width: 100%;
    height: 100%;
}

.route-path {
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.route-plane {
    fill: var(--secondary);
    animation: flyAlongPath 3s ease forwards;
}

@keyframes flyAlongPath {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 1; }
}

.route-dot {
    fill: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent));
}

.route-label {
    fill: var(--text-primary);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
}

.route-sublabel {
    fill: var(--text-muted);
    font-family: var(--font-main);
    font-size: 10px;
}

/* ========================================
   HOTEL CARDS
   ======================================== */
.hotel-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.hotel-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.hotel-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
;
    transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-card-image img {
    transform: scale(1.05);
}

.hotel-card-image .star-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--warning);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hotel-card-image .save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hotel-card-image .save-btn:hover {
    background: var(--danger);
}

.hotel-card-body {
    padding: 1.25rem;
}

.hotel-card-body .hotel-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-card-body .hotel-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hotel-card-body .hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hotel-card-body .rating-score {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.hotel-card-body .amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hotel-card-body .amenity-tag {
    font-size: 0.7rem;
    background: var(--glass-bg);
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--text-secondary);
}

.hotel-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
}

.hotel-card-footer .price {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent-light);
}

.hotel-card-footer .per-night {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   SKELETON LOADER
   ======================================== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-25 { width: 25%; }

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-md);
}

.skeleton-img {
    height: 180px;
    border-radius: var(--radius-sm);
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 42, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.loading-spinner {
    position: relative;
    display: inline-block;
}

.loading-plane {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--accent);
    animation: planeBounce 1.5s ease-in-out infinite;
}

@keyframes planeBounce {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* ========================================
   FLOATING CHAT BUTTON
   ======================================== */
.floating-chat {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1040;
}

@media (min-width: 992px) {
    .floating-chat {
        bottom: 30px;
    }
}

.chat-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.chat-menu.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.chat-option:hover {
    color: white;
    transform: translateX(-5px);
}

.chat-option.whatsapp { background: #25d366; }
.chat-option.telegram { background: #0088cc; }
.chat-option.messenger { background: #0084ff; }

/* ========================================
   FOOTER
   ======================================== */
.mir-footer {
    background: linear-gradient(180deg, var(--dark) 0%, #050515 100%);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 56px;
}

@media (min-width: 992px) {
    .mir-footer {
        margin-bottom: 0;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title .highlight {
    color: var(--accent);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Destination Cards */
.destination-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.destination-card .overlay h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.destination-card .overlay .price-from {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FORM STYLES
   ======================================== */
.mir-form .form-control,
.mir-form .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.mir-form .form-control:focus,
.mir-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
    color: var(--text-primary);
}

.mir-form .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.mir-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* ========================================
   MISC COMPONENTS
   ======================================== */
.badge-glow {
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    from { box-shadow: 0 0 5px rgba(0, 188, 212, 0.3); }
    to { box-shadow: 0 0 15px rgba(0, 188, 212, 0.6); }
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-border {
    border: 1px solid var(--accent) !important;
    box-shadow: var(--shadow-neon);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 2rem 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .search-panel {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    .flight-point .time {
        font-size: 1.1rem;
    }
    
    .flight-price .amount {
        font-size: 1.2rem;
    }
    
    .mobile-bottom-nav {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Body padding for mobile bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.bg-dark-gradient {
    background: var(--gradient-hero);
}

.glass-bg {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.border-glass {
    border: 1px solid var(--glass-border);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flatpickr-calendar {
    background: var(--dark-card) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-sm) !important;
}

.flatpickr-day {
    color: var(--text-primary) !important;
}

.flatpickr-day.selected {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.flatpickr-day.today {
    border-color: var(--accent) !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--text-primary) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--dark-card) !important;
    color: var(--text-primary) !important;
}

span.flatpickr-weekday {
    color: var(--text-muted) !important;
}

/* ========================================
   LIGHT MODE
   ======================================== */
[data-theme="light"] {
    --dark: #f0f2f5;
    --dark-card: #ffffff;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);
    --gradient-hero: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 40%, #e3f2fd 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 242, 245, 1) 100%);
}

[data-theme="light"] body,
[data-theme="light"] .mir-ota-body {
    background: #f0f2f5;
    color: #1a1a2e;
}

[data-theme="light"] .mir-navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mir-navbar .nav-link {
    color: rgba(0, 0, 0, 0.65) !important;
}

[data-theme="light"] .mir-navbar .nav-link:hover,
[data-theme="light"] .mir-navbar .nav-link.active {
    color: #1a237e !important;
}

[data-theme="light"] .brand-text {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a2e;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-card h4,
[data-theme="light"] .glass-card h5,
[data-theme="light"] .glass-card h6 {
    color: #1a237e;
}

[data-theme="light"] .text-white-50 {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: #fff;
    border-color: #ddd;
    color: #1a1a2e;
}

[data-theme="light"] .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .table {
    color: #1a1a2e;
}

[data-theme="light"] .breadcrumb-item a {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .mir-footer {
    background: #1a1a2e;
    color: #fff;
}

[data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-bottom-nav .mob-nav-item {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .mobile-bottom-nav .mob-nav-item.active {
    color: #1a237e;
}

[data-theme="light"] .btn-outline-light {
    color: #1a237e;
    border-color: #1a237e;
}

[data-theme="light"] .btn-outline-light:hover {
    background: #1a237e;
    color: #fff;
}

[data-theme="light"] .alert {
    color: #1a1a2e;
}

[data-theme="light"] .mir-offcanvas {
    background: #fff !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .mir-offcanvas .nav-link {
    color: rgba(0, 0, 0, 0.7) !important;
}

[data-theme="light"] .btn-close {
    filter: invert(0);
}

[data-theme="light"] .flatpickr-calendar {
    background: #fff !important;
    border: 1px solid #ddd !important;
}

[data-theme="light"] .flatpickr-day {
    color: #1a1a2e !important;
}

[data-theme="light"] .flatpickr-months .flatpickr-month {
    color: #1a1a2e !important;
}

/* Theme toggle button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    padding: 0;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a237e;
}

.theme-toggle:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(180deg);
}

/* Search panel light mode */
[data-theme="light"] .search-panel {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-pills .nav-link {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .nav-pills .nav-link.active {
    color: #fff;
    background: var(--accent);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f2f5;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #c0c0c0;
}

