/* Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   PREMIUM UI/UX DESIGN UPGRADE
   Luxury car rental aesthetic
   ======================================== */

/* GLOBAL MOBILE OVERFLOW FIX */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent white gap above navbar on mobile overscroll */
html {
    margin: 0;
    padding: 0;
    background: #0f172a;
}

body {
    margin: 0;
    padding: 0;
}

/* ENHANCED VARIABLES */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --gold: #f59e0b;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
    --shadow-accent: 0 4px 24px rgba(59,130,246,0.25);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* GLOBAL ENHANCEMENTS — Flexbox layout for sticky footer */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--surface-2);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px; /* offset for fixed navbar */
}

/* Main content area fills remaining space — pushes footer to bottom */
body > *:not(.header):not(.footer):not(script):not(link):not(style):not(.floating-whatsapp):not(.floating-map-widget):not(#contactModal):not(.mobile-nav-overlay):not(.mobile-nav-panel) {
    flex-shrink: 0;
}

/* Footer always at bottom */
.footer {
    margin-top: auto;
}

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

/* Smooth scroll for all */
* {
    scroll-behavior: smooth;
}

/* ========================================
   PREMIUM NAVIGATION
   ======================================== */
/* Fixed navbar — always visible at top */
.header {
    background: #0f172a;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
    transition: all 0.4s var(--ease);
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-left .logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    gap: 12px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.8;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: white;
}

.nav-link::after {
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    bottom: 4px;
}

.partner-btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: var(--accent);
    box-shadow: var(--shadow-accent);
    transition: all 0.3s var(--ease);
}

.partner-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 32px rgba(59,130,246,0.35);
    transform: translateY(-2px);
}

.selector-btn {
    border-radius: var(--radius-sm);
    font-size: 12px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.25s var(--ease);
}

.selector-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

/* ========================================
   PREMIUM HERO
   ======================================== */
.hero {
    padding-top: 60px;
}

.hero-background {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-overlay {
    background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
                radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.05) 0%, transparent 60%);
}

.hero-headline {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtext {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-weight: 400;
}

.car-image {
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
    transition: transform 0.6s var(--ease);
}

.car-image:hover {
    transform: scale(1.02);
}

/* BOOKING FORM PREMIUM */
.booking-form-container {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.1);
    padding: 28px;
    border: 1px solid rgba(0,0,0,0.04);
}

.input-wrapper {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    transition: all 0.25s var(--ease);
    background: var(--surface);
}

.input-wrapper:hover {
    border-color: var(--border-hover);
}

.input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-btn {
    border-radius: var(--radius-sm);
    padding: 14px 36px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    background: var(--accent);
    box-shadow: var(--shadow-accent);
    transition: all 0.3s var(--ease);
}

.search-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
    transform: translateY(-2px);
}

/* ========================================
   PREMIUM VEHICLE CARDS
   ======================================== */
.fleet-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.fleet-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: transparent;
}

.fleet-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e8eef5);
}

.fleet-card-img img {
    transition: transform 0.6s var(--ease);
}

.fleet-card:hover .fleet-card-img img {
    transform: scale(1.08);
}

.fleet-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.04), transparent);
    pointer-events: none;
}

.fleet-card-badge {
    border-radius: var(--radius-xs);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
}

.fleet-card-body {
    padding: 20px;
}

.fleet-card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

.fleet-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--surface-3);
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.fleet-card:hover .fleet-tag {
    background: var(--accent-glow);
    color: var(--accent);
}

.fleet-price-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.fleet-card-btn {
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: var(--primary);
    transition: all 0.3s var(--ease);
}

.fleet-card-btn:hover {
    background: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

/* Vehicle page cards */
.vehicle-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.vehicle-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: transparent;
}

.vehicle-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.vehicle-image img {
    transition: transform 0.6s var(--ease);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.06);
}

.vehicle-info {
    padding: 22px;
}

.vehicle-info h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ========================================
   PREMIUM SECTIONS
   ======================================== */
.carousel-section {
    padding: 100px 0;
}

.carousel-header::before {
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.carousel-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* FEATURES BENTO */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.bento-tile {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.bento-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 100px 0;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.4s var(--ease);
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    background: var(--accent);
    width: 44px;
    height: 44px;
    font-size: 16px;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* PARTNER CTA */
.partner-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 50%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partner-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.partner-cta-card .btn {
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    padding: 14px 36px;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

.partner-cta-card .btn:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}

/* ========================================
   PREMIUM FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0 8px;
    margin-top: 0;
}

.footer-column h4,
.footer-section h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.footer-column ul li a,
.footer-section a {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.25s var(--ease);
}

.footer-column ul li a:hover,
.footer-section a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 4px;
}

.social-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.social-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   PREMIUM PAGE HERO
   ======================================== */
.page-hero {
    background: linear-gradient(160deg, var(--primary) 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* ========================================
   PREMIUM BUTTONS
   ======================================== */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 32px rgba(59,130,246,0.35);
    transform: translateY(-2px);
}

.btn-book {
    border-radius: var(--radius-sm);
    font-weight: 700;
    padding: 10px 24px;
    background: var(--primary);
    transition: all 0.3s var(--ease);
}

.btn-book:hover {
    background: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

/* ========================================
   PREMIUM FORMS (Login / Register)
   ======================================== */
.form-group input,
.form-group select,
.form-group textarea {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 13px 16px;
    font-size: 14px;
    transition: all 0.25s var(--ease);
    background: var(--surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background: var(--surface);
}

.form-field input,
.form-field select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 13px 16px;
    transition: all 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ========================================
   PREMIUM REVIEW CARDS
   ======================================== */
.review-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: all 0.4s var(--ease);
    padding: 28px;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.reviewer-avatar {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    border-radius: var(--radius-sm);
}

.stat-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ========================================
   PREMIUM MODALS
   ======================================== */
.modal-overlay {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

.calendar-content {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.calendar-day.selected {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}

.filters-content {
    border-radius: var(--radius-xl);
}

/* ========================================
   PREMIUM FAQ
   ======================================== */
.faq-item {
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    transition: all 0.3s var(--ease);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

/* ========================================
   PREMIUM CTA
   ======================================== */
.cta-section {
    background: linear-gradient(160deg, var(--primary) 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* ========================================
   FLOATING WIDGETS
   ======================================== */
.floating-whatsapp {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--ease);
    border: 1px solid rgba(37,211,102,0.1);
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,211,102,0.25);
}

.floating-map-widget {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }

/* ========================================
   LOADING SKELETON
   ======================================== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-text {
    height: 14px;
    margin: 12px 20px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }

/* ========================================
   DROPDOWN PREMIUM
   ======================================== */
.dropdown-menu {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    animation: dropdownSlide 0.2s var(--ease);
    overflow: hidden;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    transition: all 0.2s var(--ease);
    border-radius: 0;
}

.dropdown-item:hover {
    background: var(--accent-glow);
    color: var(--accent);
    padding-left: 20px;
}

/* ========================================
   PREMIUM ABOUT PAGE
   ======================================== */
.value-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: all 0.4s var(--ease);
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.about-image {
    border-radius: var(--radius-xl);
}

/* ========================================
   PREMIUM CONTACT PAGE
   ======================================== */
.contact-info {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
}

.social-link {
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.map-container {
    border-radius: var(--radius-xl);
}

/* ========================================
   MOBILE NAV PREMIUM
   ======================================== */
.mobile-nav-panel {
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    border-left: 1px solid rgba(255,255,255,0.06);
}

.hamburger-btn {
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   FILTER PREMIUM
   ======================================== */
.filter-btn {
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.filter-group select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    transition: all 0.25s var(--ease);
}

.filter-group select:hover {
    border-color: var(--accent);
}

/* ========================================
   WRITE REVIEW PREMIUM
   ======================================== */
.write-review-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.rv-input {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    transition: all 0.25s var(--ease);
}

.rv-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.rv-submit-btn {
    border-radius: var(--radius-sm);
    background: var(--accent);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s var(--ease);
}

.rv-submit-btn:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

/* ========================================
   PARTNER LOGO GRID
   ======================================== */
.partner-logo {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}

/* ========================================
   RESPONSIVE PREMIUM OVERRIDES
   Perfect for S24 Ultra (412px), iPhone 15 (393px),
   Pixel 8 (412px), iPhone SE (375px), and all phones
   ======================================== */

/* --- TABLET (1024px) --- */
@media (max-width: 1024px) {
    .hero-main {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-right {
        max-width: 380px;
        margin: 0 auto;
    }

    .hero-left {
        align-items: center;
    }

    .rating-section {
        justify-content: center;
        flex-wrap: wrap;
    }

    .form-group-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-headline {
        font-size: 40px;
    }
}

/* --- MOBILE (768px) --- */
@media (max-width: 768px) {

    /* === GLOBAL === */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* === HEADER / NAVBAR (fixed, compact on mobile) === */
    body {
        padding-top: 52px; /* smaller fixed navbar on mobile */
    }

    .header {
        padding: 8px 0;
    }

    .header-content {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .header-left .logo img.logo-img,
    .header-left .logo svg,
    .header-left .logo .logo-icon {
        width: 32px;
        height: 32px;
    }

    .header-left .logo {
        font-size: 15px;
        gap: 8px;
    }

    /* === HERO SECTION === */
    .hero {
        padding-top: 16px;
        min-height: auto;
        height: auto;
        overflow: hidden;
    }

    .hero-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding-bottom: 16px;
    }

    .hero-right {
        display: flex;
        max-width: 240px;
        margin: 0 auto 8px;
        order: -1;
    }

    .car-image {
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    }

    .car-image:hover {
        transform: none;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-headline {
        font-size: 26px;
        letter-spacing: -0.5px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-headline br {
        display: none;
    }

    .hero-subtext {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .rating-source,
    .badge {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .rating-section {
        font-size: 11px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .rating-section .divider {
        display: none;
    }

    .rating-section .badge {
        font-size: 11px;
    }

    .rating-stars {
        font-size: 14px;
        letter-spacing: 1px;
    }

    /* === BOOKING FORM === */
    .booking-form-container {
        padding: 16px;
        border-radius: 14px;
        margin-left: -4px;
        margin-right: -4px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .input-wrapper {
        padding: 0 12px;
    }

    .booking-input {
        padding: 11px 0;
        font-size: 14px;
    }

    .search-btn {
        width: 100%;
        padding: 14px;
        font-size: 15px;
        justify-content: center;
    }

    .advanced-filters-toggle {
        font-size: 12px;
        margin-top: 8px;
    }

    /* === CALENDAR MODAL === */
    .calendar-content {
        padding: 16px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .calendar-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calendar-header {
        margin-bottom: 16px;
    }

    .month-year-selector {
        gap: 8px;
    }

    .month-year-selector select {
        padding: 6px 8px;
        font-size: 13px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 13px;
        min-height: 36px;
        min-width: 36px;
    }

    .time-selectors {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .time-selectors select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .calendar-actions {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0 0;
    }

    .calendar-actions button {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px;
        font-size: 14px;
    }

    /* === FILTERS MODAL === */
    .filters-content {
        width: 95%;
        padding: 16px;
        max-height: 90vh;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .filters-header {
        padding: 12px 0;
    }

    .filters-actions {
        flex-direction: column;
    }

    .filters-actions button {
        width: 100%;
    }

    /* === SECTION TITLES === */
    .carousel-section {
        padding: 50px 0;
    }

    .carousel-title {
        font-size: 22px;
        letter-spacing: -0.5px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    /* === PAGE HERO (About, Reviews, Contact) === */
    .page-hero {
        height: auto;
        min-height: 200px;
        padding: 40px 0;
        margin-top: 0;
    }

    .page-hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .page-hero p {
        font-size: 14px;
    }

    /* === FLEET / VEHICLE CARDS === */
    .fleet-card-img {
        height: 180px;
    }

    .fleet-card-body {
        padding: 16px;
    }

    .fleet-card-title {
        font-size: 15px;
    }

    .fleet-price-amount {
        font-size: 22px;
    }

    .fleet-card-btn {
        padding: 11px;
        font-size: 12px;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vehicle-image {
        height: 180px;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fleet-card:hover,
    .vehicle-card:hover {
        transform: none;
    }

    /* === FEATURES BENTO === */
    .features-section {
        padding: 50px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento-tile {
        border-radius: 16px;
        padding: 20px;
        min-height: auto;
    }

    .bento-tile.large,
    .bento-tile.medium,
    .bento-tile.small {
        grid-column: auto;
        grid-row: auto;
    }

    .bento-tile:hover {
        transform: none;
    }

    /* === HOW IT WORKS === */
    .how-it-works {
        padding: 50px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step-card {
        padding: 20px 16px;
    }

    .step-card:hover {
        transform: none;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }

    /* === TESTIMONIALS === */
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card:hover {
        transform: none;
    }

    /* === PARTNER CTA === */
    .partner-cta-section {
        padding: 50px 0;
    }

    .partner-cta-card {
        padding: 28px 16px;
        text-align: center;
    }

    .partner-cta-card h2 {
        font-size: 20px;
    }

    .partner-cta-card p {
        font-size: 14px;
    }

    /* === PARTNERS SLIDER === */
    .partners-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-logo {
        padding: 16px;
    }

    .partner-logo:hover {
        transform: none;
    }

    /* === CTA SECTION === */
    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 20px;
    }

    .cta-section p {
        font-size: 14px;
    }

    /* === FOOTER (compact on mobile) === */
    .footer {
        padding: 16px 0 6px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-column h4 {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-column ul li {
        margin-bottom: 2px;
    }

    .footer-bottom {
        padding-top: 8px;
        margin-top: 10px;
    }

    .footer-bottom p {
        font-size: 10px;
    }

    /* === CONTACT PAGE === */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-info-card {
        padding: 20px;
    }

    /* === ABOUT PAGE === */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* === REVIEWS PAGE === */
    .reviews-stats {
        flex-direction: column;
        gap: 12px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .reviews-list {
        grid-template-columns: 1fr;
    }

    /* Write review */
    .write-review-card {
        padding: 20px 16px;
    }

    .write-review-card h2 {
        font-size: 20px;
    }

    /* === FLOATING ELEMENTS === */
    .floating-whatsapp {
        padding: 10px 14px;
        font-size: 12px;
        bottom: 16px;
        right: 16px;
        gap: 6px;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp svg {
        width: 20px;
        height: 20px;
    }

    .floating-support {
        bottom: 16px;
        left: 16px;
        padding: 10px;
    }

    .floating-map-widget {
        display: none;
    }

    /* === FAQ === */
    .faq-grid {
        gap: 10px;
    }

    .faq-item {
        padding: 16px;
    }

    /* === MODALS === */
    .modal-content {
        max-width: 95%;
        padding: 20px;
        border-radius: 16px;
    }

    /* === FILTER ROW (old vehicles page) === */
    .filter-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .filter-row select,
    .filter-row input {
        font-size: 13px;
    }

    /* === LEGAL PAGES (TOS, Privacy) === */
    .legal-hero {
        padding: 32px 16px 24px;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .legal-hero h1 {
        font-size: 24px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px;
    }

    /* === PAYMENT PAGE === */
    .pay-container {
        margin: 16px auto;
        padding: 0 12px;
    }

    .pay-header,
    .pay-body {
        padding: 20px 16px;
    }

    /* === RESERVATION PAGE === */
    .rv-page {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .rv-right {
        position: static;
    }

    .rv-locations-grid {
        grid-template-columns: 1fr;
    }

    .rv-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rv-services-grid {
        grid-template-columns: 1fr;
    }

    .rv-insurance-grid {
        grid-template-columns: 1fr;
    }

    /* === VEHICLE DETAIL PAGE === */
    .vd-container {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .vd-booking-panel {
        position: static;
    }

    .vd-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vd-gallery-main img {
        height: 220px;
    }

    /* === ABOUT PAGE EXTRA === */
    .about-section {
        padding: 40px 0;
    }

    .about-image {
        height: 220px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
    }

    .values-section {
        padding: 40px 0;
    }

    .value-card {
        padding: 20px;
    }

    .value-card:hover {
        transform: none;
    }

    .value-icon {
        font-size: 36px;
    }

    .value-card h3 {
        font-size: 17px;
    }

    .company-stats {
        padding: 40px 0;
    }

    .stat-item .stat-number {
        font-size: 32px;
    }

    .stat-item .stat-text {
        font-size: 14px;
    }

    .team-section {
        padding: 40px 0;
    }

    .team-member {
        padding: 20px;
    }

    .member-avatar {
        font-size: 48px;
    }

    /* === REVIEWS PAGE EXTRA === */
    .reviews-stats {
        padding: 40px 0;
    }

    .reviews-section {
        padding: 40px 0;
    }

    .reviews-header h2 {
        font-size: 22px;
    }

    .reviews-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .reviews-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .review-card {
        padding: 16px;
    }

    .review-card:hover {
        transform: none;
    }

    .review-title {
        font-size: 16px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 26px;
    }

    /* === CONTACT PAGE EXTRA === */
    .contact-section {
        padding: 40px 0;
    }

    .contact-form-wrapper h2 {
        font-size: 22px;
    }

    .contact-info {
        position: static;
        padding: 20px;
    }

    .contact-info h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* === FORM INPUTS — TOUCH FRIENDLY === */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 12px;
        font-size: 16px;
        border-radius: 10px;
    }

    /* === GENERAL OVERFLOW PROTECTION === */
    img, svg, video, iframe {
        max-width: 100%;
        height: auto;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* === WHY US / FEATURES === */
    .why-us-section {
        padding: 40px 0;
    }

    .feature-item {
        gap: 12px;
        padding: 16px;
    }

    .feature-item:hover {
        transform: none;
    }
}

/* --- SMALL MOBILE (430px — S24 Ultra and similar) --- */
@media (max-width: 430px) {
    body {
        padding-top: 48px;
    }

    .footer {
        padding: 12px 0 4px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-bottom {
        padding-top: 6px;
        margin-top: 6px;
    }

    .hero-headline {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .hero-subtext {
        font-size: 13px;
    }

    .hero-right {
        max-width: 220px;
    }

    .header-left .logo {
        font-size: 14px;
        gap: 6px;
    }

    .header-left .logo img.logo-img,
    .header-left .logo svg,
    .header-left .logo .logo-icon {
        width: 28px;
        height: 28px;
    }

    .fleet-card-body {
        padding: 14px;
    }

    .fleet-price-amount {
        font-size: 20px;
    }

    .fleet-card-title {
        font-size: 14px;
    }

    .fleet-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    .section-title {
        font-size: 20px;
    }

    .carousel-title {
        font-size: 20px;
    }

    .page-hero {
        min-height: 160px;
        padding: 32px 0;
    }

    .page-hero h1 {
        font-size: 22px;
    }

    .cta-section h2 {
        font-size: 18px;
    }

    .partner-cta-card h2 {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .booking-form-container {
        padding: 12px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .testimonial-card {
        padding: 16px;
    }

    .bento-tile {
        padding: 16px;
    }

    .step-card {
        padding: 16px 12px;
    }

    .partner-logo {
        padding: 14px;
    }

    .modal-content {
        max-width: 98%;
        padding: 16px;
        border-radius: 12px;
    }

    .write-review-card {
        padding: 16px 12px;
    }

    .calendar-content {
        padding: 12px;
        width: 98%;
    }

    .filters-content {
        padding: 12px;
        width: 98%;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
        font-size: 12px;
    }

    .contact-form {
        padding: 16px;
    }
}

/* --- VERY SMALL MOBILE (360px — Galaxy S series, older phones) --- */
@media (max-width: 360px) {
    .calendar-content {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .calendar-day {
        font-size: 12px;
        min-height: 32px;
        min-width: 32px;
    }

    .calendar-grid {
        gap: 2px;
    }

    .month-year-selector select {
        padding: 5px 6px;
        font-size: 12px;
    }

    .calendar-actions button {
        padding: 12px;
        font-size: 13px;
    }

    .hero-headline {
        font-size: 22px;
    }

    .hero-right {
        max-width: 200px;
    }

    .header-left .logo span {
        font-size: 13px;
    }

    .booking-form-container {
        padding: 10px;
    }

    .booking-input {
        font-size: 13px;
        padding: 10px 0;
    }

    .search-btn {
        padding: 12px;
        font-size: 14px;
    }

    .page-hero h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .fleet-card-btn {
        padding: 10px;
        font-size: 11px;
    }
}

/* ========================================
   ACCESSIBILITY — Focus States
   ======================================== */
/* Visible focus ring for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth hover transitions for all interactive elements */
a, button {
    transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

/* Nav links: subtle lift on hover */
.nav-link:hover {
    transform: translateY(-1px);
}

/* Footer links: smooth glow */
.footer-column a:hover,
.footer-section a:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
}

/* Social icons: subtle shadow on hover */
.social-icon:hover {
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

/* ========================================
   PRINT OVERRIDE
   ======================================== */
@media print {
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}
