/* Custom CSS variables for standard styling */
:root {
    --bg-primary: #070a13;
    --bg-secondary: #0f1424;
    --bg-panel: rgba(20, 27, 48, 0.65);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 240, 255, 0.3);
    
    --accent-yellow: #ffcc00;
    --accent-yellow-glow: rgba(255, 204, 0, 0.15);
    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.15);
    --accent-blue: #00aaff;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-danger: #ef4444;
    --color-danger-bg: rgba(239, 68, 68, 0.1);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Page Loader styling */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.loader-logo span {
    color: var(--accent-yellow);
}

.shimmer-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.shimmer-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: shimmer-load 1.5s infinite;
}

.loader-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

/* Glow Background Effects */
.hero-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: float-glow 15s infinite alternate;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -150px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-yellow);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #ff9a00 100%);
    color: #070a13;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-yellow-glow);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease-in-out;
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-yellow);
}

.logo-badge {
    background: var(--accent-yellow-glow);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
    border-bottom: 2px solid var(--accent-cyan);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.dispatcher-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-success);
    font-weight: 600;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
    animation: pulse-green 1.5s infinite;
}

.phone-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.phone-link:hover {
    color: var(--accent-yellow);
}

/* App Main Container */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 24px 100px;
    z-index: 2;
    background: linear-gradient(rgba(7, 10, 19, 0.75), rgba(7, 10, 19, 0.95)), url('minibus_highway.jpg') no-repeat center center;
    background-size: cover;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.6;
}

/* Search Widget */
.search-widget-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    padding: 30px;
    transition: var(--transition-smooth);
}

.search-widget-card:hover {
    border-color: var(--border-hover);
}

.search-widget-card .form-title {
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.search-widget-card .form-title i {
    color: var(--accent-yellow);
}

.form-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-field-group label i {
    color: var(--accent-yellow);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 15px;
    align-items: end;
}

.radio-direction-group {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 0.8rem;
}

select, input[type="date"], input[type="number"], input[type="text"], input[type="tel"], input[type="email"], textarea {
    width: 100%;
    background-color: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
}

select:focus, input:focus, textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.swap-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    transition: var(--transition-smooth);
}

.swap-btn:hover {
    background: var(--accent-cyan);
    color: #070a13;
    transform: rotate(180deg);
}

.search-submit-btn {
    align-self: center;
    min-width: 240px;
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Results Section */
.results-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.section-header h2 span {
    color: var(--accent-cyan);
}

.route-directions-indicator {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-directions-indicator i {
    color: var(--accent-yellow);
}

.routes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Route Card Layout */
.route-card {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr 1.2fr;
    gap: 24px;
    padding: 24px;
    align-items: center;
}

.route-time-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-time-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-big {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.city-small {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.road-timeline-svg {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.road-svg {
    width: 100%;
    height: 16px;
}

.duration-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.route-bus-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bus-type {
    font-weight: 600;
    color: var(--text-primary);
}

.bus-capacity {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bus-features {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.bus-features i {
    cursor: help;
}

.route-price-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.price-box {
    text-align: right;
}

.price-val {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-yellow);
}

.price-currency {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 2px;
}

/* Skeleton Loaders (Wabi Sabi shimmering transition) */
.skeleton-card {
    height: 120px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, rgba(255,255,255,0.03) 37%, var(--bg-secondary) 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

@keyframes skeleton-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Seat Selection Drawer */
.seat-selection-section {
    padding: 30px;
    border-left: 3px solid var(--accent-cyan);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.close-drawer-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-drawer-btn:hover {
    color: var(--color-danger);
}

.seat-picker-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.bus-layout-container {
    background-color: rgba(7, 10, 19, 0.4);
    border: 2px solid var(--border-color);
    border-radius: 40px 16px 16px 40px; /* Rounded front resembling a bus cabin */
    padding: 24px;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bus-driver-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.steering-wheel {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.driver-seat-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 12px;
}

.bus-seats-grid {
    display: grid;
    gap: 12px;
    grid-auto-flow: row;
}

/* Microbus grid layout (Mercedes Sprinter 20 seats) */
.grid-sprinter {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

/* Coach layout grid (Neoplan 49 seats) */
.grid-coach {
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

.seat {
    aspect-ratio: 1;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.seat.available:hover {
    background-color: var(--accent-cyan-glow);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.seat.selected {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #070a13;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.seat.occupied {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: transparent;
    color: var(--text-muted);
    cursor: not-allowed;
}

.seat.aisle {
    background-color: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

.seat.aisle span {
    display: none;
}

.seat-legend-checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legend-items {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.seat-block {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.seat-block.available {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seat-block.selected {
    background-color: var(--accent-yellow);
}

.seat-block.occupied {
    background-color: rgba(255, 255, 255, 0.03);
}

.selected-seats-summary {
    padding-top: 14px;
}

.selected-seats-summary p {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-top-dashed {
    border-top: 1px dashed var(--border-color);
}

.text-glow {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
}

.booking-details-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-details-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-details-form label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.checkout-btn {
    margin-top: 8px;
    width: 100%;
}

/* Features grid details */
.features-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-title-wrapper {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Calculator Section (Luggage & Animals) */
.calculator-section {
    padding: 40px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-inputs-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-inputs-area h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.calc-inputs-area h2 i {
    color: var(--accent-cyan);
}

.calc-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-group-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
}

.calc-badge {
    color: var(--accent-yellow);
    background-color: var(--accent-yellow-glow);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: var(--transition-smooth);
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-results-area {
    background-color: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
}

.calc-results-area h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.calc-bill {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.bill-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.bill-line strong {
    color: var(--text-primary);
}

.total-label {
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 1.05rem;
}

.total-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.alert-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.info-alert {
    background-color: rgba(0, 240, 255, 0.05);
    border-left: 3px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.danger-alert {
    background-color: var(--color-danger-bg);
    border-left: 3px solid var(--color-danger);
    color: var(--color-danger);
}

/* Reviews / Testimonials Section */
.reviews-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.review-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.passenger-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.passenger-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.review-route {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stars {
    color: var(--accent-yellow);
    font-size: 0.8rem;
}

.review-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    align-self: flex-end;
}

/* Write a review form */
.write-review-card {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.write-review-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: var(--accent-yellow);
}

/* FAQ Section styling */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(7, 10, 19, 0.2);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust dynamically */
}

/* Ticket Checkout Modal Box (Coupon design) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 7, 13, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.ticket-modal-card {
    max-width: 480px;
    width: 100%;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
}

/* Custom Scrollbar for Modal */
.ticket-modal-card::-webkit-scrollbar {
    width: 6px;
}
.ticket-modal-card::-webkit-scrollbar-track {
    background: transparent;
}
.ticket-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.ticket-modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}
.modal-close-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.ticket-header-success {
    text-align: center;
}

.success-icon {
    font-size: 2.2rem;
    color: var(--color-success);
    margin-bottom: 8px;
}

.ticket-header-success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.ticket-header-success p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Visual Ticket Slip styling */
.ticket-coupon-wrapper {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.ticket-coupon {
    background-color: #121829;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
}

/* Ticket side notches */
.ticket-coupon::before, .ticket-coupon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #070a13; /* matches overlay background */
    top: 67%;
    margin-top: -10px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-coupon::before {
    left: -11px;
}

.ticket-coupon::after {
    right: -11px;
}

.coupon-top {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
}

.coupon-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-text span {
    color: var(--accent-yellow);
}

.operator-badge {
    background-color: var(--accent-yellow-glow);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
}

.coupon-id {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.coupon-main {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon-row {
    display: flex;
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.coupon-col {
    display: flex;
    flex-direction: column;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.coupon-col .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.coupon-col .value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.value.text-large {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.arrow-indicator {
    align-self: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.value.text-highlight {
    color: var(--accent-cyan);
}

.price-highlight {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-yellow);
}

.coupon-footer-dashed {
    border-top: 1px dashed var(--border-color);
    padding: 15px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
}

.qr-code-area {
    width: 60px;
    height: 60px;
    background: white;
    padding: 4px;
    border-radius: 4px;
}

.qr-code-area svg {
    width: 100%;
    height: 100%;
}

.qr-desc p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.qr-desc span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Ticket Modal buttons */
.ticket-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-viber {
    background-color: #7360f2;
    color: white;
    border: none;
    padding: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-viber:hover {
    background-color: #5d4cd6;
    transform: translateY(-1px);
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
    border: none;
    padding: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-telegram:hover {
    background-color: #0077b3;
    transform: translateY(-1px);
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 60px;
}

.footer-logo-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-block p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.social-icons a:hover {
    background-color: var(--accent-cyan);
    color: #070a13;
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-links-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-block h4, .footer-contacts-block h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.footer-links-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-block a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links-block a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-contacts-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contacts-block p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contacts-block p i {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes shimmer-load {
    0% { left: -150%; }
    100% { left: 150%; }
}

@keyframes float-glow {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-scale-up {
    animation: scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-up {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Utility Hidden state class */
.hidden {
    display: none !important;
}

/* Responsive layouts */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .swap-btn {
        grid-column: span 2;
        margin: 0 auto;
    }
    
    .route-card {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .route-price-actions {
        align-items: center;
    }
    
    .seat-picker-body {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .form-row-2col {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .form-row-2col > * {
        min-width: 0;
    }

    #passenger-phone {
        font-size: 1rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .swap-btn {
        grid-column: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .main-header {
        position: absolute;
    }
    
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .header-contacts {
        align-items: center;
    }
}

/* --- LIGHT THEME STYLES --- */
body.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-panel: rgba(255, 255, 255, 0.75);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 240, 255, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-yellow: #d97706;
    --accent-yellow-glow: rgba(217, 119, 6, 0.1);
    --accent-cyan: #0284c7;
    --accent-cyan-glow: rgba(2, 132, 199, 0.1);
}

body.light-theme select,
body.light-theme input,
body.light-theme textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

body.light-theme .ticket-coupon {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .ticket-coupon::before,
body.light-theme .ticket-coupon::after {
    background-color: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .ticket-modal-card {
    background-color: #ffffff;
}

body.light-theme .coupon-col .value {
    color: #0f172a;
}

body.light-theme .coupon-footer-dashed {
    background-color: #f8fafc;
}

/* UI Elements */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background: var(--accent-cyan);
    color: #070a13;
    border-color: var(--accent-cyan);
    transform: scale(1.08);
}

.contacts-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Admin Dashboard Modal & Tables */
.admin-modal-card {
    max-width: 950px;
    width: 100%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.admin-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: rgba(7, 10, 19, 0.3);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box span {
    color: var(--accent-cyan);
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.admin-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: rgba(7, 10, 19, 0.15);
}

.admin-bookings-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.admin-bookings-table th, 
.admin-bookings-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.admin-bookings-table th {
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}

.admin-bookings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-pending {
    background: var(--accent-yellow-glow);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

.badge-approved {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.badge-cancelled {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid var(--color-danger);
}

.admin-btn-approve {
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    margin-right: 6px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.admin-btn-approve:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.admin-btn-cancel {
    background: linear-gradient(135deg, var(--color-danger) 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.admin-btn-cancel:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* --- POPULAR ROUTES SECTION --- */
.popular-routes-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.popular-routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.route-info-card {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.route-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.route-card-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.route-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.route-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
}

.route-card-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.route-badge-detail {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.route-badge-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.25);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.route-card-stops {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
}

.stop-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stop-arrow {
    font-size: 0.65rem;
    color: var(--accent-cyan);
    opacity: 0.6;
}

.route-card-timings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.timing-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.timing-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timing-label i {
    color: var(--accent-cyan);
}

.timing-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.route-card-btn {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
}


/* --- BUS RENTAL SECTION --- */
.rental-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rental-fleet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fleet-card {
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.fleet-image-placeholder {
    width: 60px;
    height: 60px;
    background: var(--accent-cyan-glow);
    color: var(--accent-cyan);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 1px solid var(--border-hover);
}

.fleet-details h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.fleet-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.fleet-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.fleet-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.fleet-specs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fleet-specs-list i {
    color: var(--color-success);
}

/* Rental Order Form layout */
.rental-form-card {
    padding: 40px;
}

.rental-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Light Theme overrides for rental page cards */
body.light-theme .fleet-image-placeholder {
    background-color: var(--bg-primary);
}

@media (max-width: 1024px) {
    .popular-routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rental-fleet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .fleet-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .fleet-specs-list {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .popular-routes-grid {
        grid-template-columns: 1fr;
    }
}

/* --- HEADER LOGO --- */
.header-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Default to dark theme */
.light-logo {
    display: none;
}
.dark-logo {
    display: block;
}

/* Light theme overrides */
body.light-theme .light-logo {
    display: block;
}
body.light-theme .dark-logo {
    display: none;
}

/* --- FLEET REAL IMAGES --- */
.fleet-image-real {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-image-real img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.fleet-image-real img:hover {
    transform: scale(1.05);
}

/* --- GALLERY SECTION --- */
.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    filter: brightness(0.9);
}

.gallery-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-card {
        grid-template-columns: 1fr;
    }
    .fleet-image-real {
        width: 200px;
        margin: 0 auto;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ROUTE SEARCH & DYNAMIC GRID --- */
.route-search-bar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.route-search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.route-search-input-group i {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.route-search-input-group input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    width: 100%;
}

.route-search-input-group input::placeholder {
    color: var(--text-muted);
}


/* Fleet Section */
.fleet-section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.fleet-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .fleet-container {
        grid-template-columns: 1fr;
    }
}

.fleet-main-view {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}



.fleet-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 350px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.15); /* Subtle dark background for letterboxing */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fleet-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents image from being cropped */
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.fleet-main-image img.active {
    opacity: 1;
}

.fleet-hero-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.fleet-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 500px) {
    .fleet-features-grid {
        grid-template-columns: 1fr;
    }
}

.fleet-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.fleet-feature i {
    color: var(--accent-yellow);
}


.fleet-list-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fleet-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fleet-list-item.active {
    border-color: var(--accent-yellow);
}

.fleet-list-item img {
    width: 90px;
    height: 60px;
    object-fit: contain;
    background-color: rgba(0,0,0,0.15); /* Match main image letterboxing */
    border-radius: 6px;
}

.fleet-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.fleet-item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
