:root {
    --clr-hero-start: #1e293b;
    --clr-hero-end: #334155;
    --clr-features-bg: #f8fafc;
    --clr-how-bg: #f1f5f9;
    --clr-pricing-bg: #f9fafb;
    --clr-cta-bg: #0ea5e9;
    --clr-cta-text: #ffffff;
    --clr-contact-bg: #eef2ff;
}
/* Block scroll when requested */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh; /* better on mobile */
    overscroll-behavior: none;
}
html {
    scroll-behavior: smooth;
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: -1;
}


/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001; /* Above hero section */
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1976D2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 56px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}

/* Full screen map button styles */
.map-hero .btn-outline {
    background: #ffffff;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    font-weight: 600;
}

.map-hero .btn-outline:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-3px) scale(1.05);
}

.map-hero .btn-primary {
    background: #1d4ed8;
    color: #ffffff;
    border: 2px solid #1d4ed8;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.35);
}

.map-hero .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.45);
}

/* Hero Section */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--clr-hero-start) 0%, var(--clr-hero-end) 100%);
    color: white;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
    padding-top: 80px; /* Space for header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    display: block;
    position: relative;
    z-index: 2;
}

/* Center hero texts on larger screens too */
.hero .hero-text {
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 56px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    animation: slideInUp 1s ease-out;
    text-align: center;
}

/* New hero subtitle above H1 */
.hero .hero-text h2 {
    font-size: 3.75rem;
    font-weight: 800;
    margin: 20px 0 12px 0; /* Added top margin for better spacing */
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: slideInUp 0.9s ease-out;
    text-align: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    animation: slideInUp 1s ease-out 0.2s both;
    text-align: center;
}


.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* Increased from 24px */
    margin-bottom: 20px; /* Added bottom margin */
    place-self: center;
}

.car-icon {
    font-size: 6rem; /* Increased from 4rem */
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
    margin: 20px 0; /* Added margin for better centering */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--clr-features-bg) 0%, #ffffff 100%);
    position: relative;
}

.features h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--clr-how-bg) 0%, #ffffff 100%);
}

.how-it-works h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.steps {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: #666;
}

/* Step details styling */
.step-details {
    margin-top: 16px;
    text-align: left;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    padding: 8px 0;
    color: #4b5563;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-details li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--clr-pricing-bg) 0%, #ffffff 100%);
}

.pricing h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 10px 25px -3px rgba(59, 130, 246, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 16px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-card li {
    padding: 4px 0;
    text-align: left;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--clr-cta-bg) 0%, #38bdf8 100%);
    color: var(--clr-cta-text);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.cta p {
    color: #666;
}

/* Map Section */
.map {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    display: none; /* Hidden by default */
}

/* Map Hero Section - Full screen on load */
.map-hero {
    padding: 0;
    min-height: 100vh;
    background: #ffffff;
    display: flex !important; /* Force display when in hero mode */
    align-items: center;
    position: relative;
}

/* Map section in normal mode */
.map {
    position: relative;
    z-index: 1;
}

.map h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Full screen map title */
.map-hero h2 {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
    font-size: 1.5rem;
}

.map > p {
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Full screen map container */
.map-hero .map-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    position: relative;
}

.map-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Full screen map controls */
.map-hero .map-controls {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    display: flex;
    gap: 12px;
    min-width: 300px;
    justify-content: center;
}

.map-controls .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-icon {
    font-size: 1rem;
}

.map-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

/* Full screen map legend */
.map-hero .map-legend {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.legend-marker.active {
    background-color: #10b981;
}

.legend-marker.inactive {
    background-color: #ef4444;
}

.vehicle-map {
    height: 500px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Hero Map - Full screen */
.map-hero .vehicle-map {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Map Loading Indicator */
.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-loading p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.map-info {
    margin-top: 16px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full screen map info */
.map-hero .map-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    margin-top: 0;
}

.map-info p {
    margin: 0;
    padding: 20px; /* Increased from 12px */
    background: #f8fafc;
    border-radius: 12px; /* Increased from 8px */
    border: 1px solid #e2e8f0;
    font-size: 1rem; /* Increased from default */
    font-weight: 500; /* Added font weight */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
    white-space: nowrap; /* Force single line */
    display: inline-block; /* Allow width to fit content */
    max-width: none; /* Remove any width restrictions */
}

/* Contact Section */
.contact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    background: linear-gradient(180deg, var(--clr-contact-bg) 0%, #ffffff 100%);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
    padding-top: 80px; /* Space for header */
}

/* CAPTCHA Styles */
.captcha-container {
    margin: 20px 0;
    padding: 20px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.captcha-container label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.captcha-challenge {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#captchaQuestion {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 2px solid #0ea5e9;
    min-width: 120px;
    text-align: center;
}

#captcha {
    width: 150px; /* Increased from 100px */
    padding: 12px; /* Increased padding */
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1.1rem; /* Increased font size */
    text-align: center;
    transition: border-color 0.3s ease;
}

#captcha:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

@media (max-width: 480px) {
    .captcha-challenge {
        flex-direction: column;
        align-items: stretch;
    }
    
    #captcha {
        width: 100%;
        padding: 14px; /* Slightly larger padding on mobile */
        font-size: 1.2rem; /* Larger font on mobile */
    }
}

.contact h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.contact > p {
    color: #666;
    margin-bottom: 32px;
}

/* Login Section */
.login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
    padding-top: 80px; /* Space for header */
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header img {
    height: 48px;
    margin-bottom: 16px;
}

.login-header h1 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.login .form-group {
    margin-bottom: 20px;
}

.login .form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.login .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.login .form-group input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid #fecaca;
    display: none;
}

.back-link {
    text-align: center;
    margin-top: 24px;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 16px;
}

.spinner {
    border: 2px solid #f3f4f6;
    border-top: 2px solid #0ea5e9;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
        margin: 16px;
    }
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    justify-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 16px;
}

.form-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #f6f8fa;
    padding: 32px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 35px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer p {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    min-height: auto;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        gap: 16px;
    }
    
    .hero {
        padding: 120px 0 64px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero .hero-text h2 {
        font-size: 3rem;
        margin-bottom: 96px;
    }
    
    .hero-illustration {
        order: -1;
        margin-top: 72px;
    }
    
    .hero-illustration .car-icon {
        font-size: 4rem; /* Increased from 3rem */
    }
    
    .car-icon {
        font-size: 3.5rem; /* Increased from 2.5rem */
    }
    
    .form-row {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    /* Avoid header overlap when jumping to features on mobile/tablet */
    #features { scroll-margin-top: 72px; }
    #map { scroll-margin-top: 72px; }
    #contact { scroll-margin-top: 72px; }
    
    .vehicle-map {
        height: 400px;
    }
    
    .vehicle-map-hero {
        height: 100vh;
        width: 100vw;
    }
    
    .map-hero {
        padding: 0;
        min-height: 100vh;
    }
    
    .map-hero h2 {
        font-size: 1.2rem;
        top: 70px;
        padding: 8px 16px;
    }
    
    .map-hero .map-controls {
        top: 80px;
        padding: 8px 16px;
    }
    
    .map-hero .map-legend {
        bottom: 70px;
        padding: 8px 16px;
    }
    
    .map-loading p {
        font-size: 0.9rem;
    }
    
    .loading-spinner {
        width: 32px;
        height: 32px;
        margin-bottom: 12px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: center;
        margin-bottom: 16px;
    }
    
    .map-legend {
        justify-content: center;
        margin-bottom: 16px;
        gap: 16px;
    }
    
    .legend-item {
        font-size: 0.85rem;
    }
    
    .map-info p {
        font-size: 0.9rem; /* Increased from 0.8rem */
        padding: 16px; /* Increased from 8px */
        white-space: nowrap; /* Force single line on mobile too */
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 6px 0;
        gap: 6px;
    }
    .logo {
        height: 32px;
    }
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 88px 0 24px 0; /* tighter below header */
        min-height: 100vh;
    }
    
    .hero .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        max-width: 92%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 1.35rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    /* Show H2, button, H1 et paragraphe dès le chargement */
    .hero h1,
    .hero p {
        display: block;
    }

    /* Scroll reveal désactivé: H1, paragraphe et boutons visibles d'emblée */

    /* Show only the special see-more button initially hidden */
    .btn-see-more { display: none; }

    .hero-illustration {
        display: none;
    }
    .hero-illustration.mobile-top {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 4px;
        margin-bottom: 0;
    }
    .hero-illustration.mobile-top .car-icon {
        font-size: 4rem; /* Increased from 3rem */
    }

    /* Reduce primary button height on mobile */
    .btn {
        height: 32px;
        padding: 6px 12px;
        font-size: 0.9rem;
        line-height: 1;
    }
    
    /* Map section mobile optimizations */
    .map h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .map-controls {
        margin-bottom: 12px;
    }
    
    .map-controls .btn {
        height: 36px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .map-legend {
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .legend-marker {
        width: 16px;
        height: 16px;
    }
    
    .vehicle-map {
        height: 350px;
    }
    
    .vehicle-map-hero {
        height: 100vh;
        width: 100vw;
    }
    
    .map-hero {
        padding: 0;
        min-height: 100vh;
    }
    
    .map-hero h2 {
        font-size: 1rem;
        top: 60px;
        padding: 6px 12px;
    }
    
    .map-hero .map-controls {
        top: 70px;
        padding: 6px 12px;
    }
    
    .map-hero .map-legend {
        bottom: 60px;
        padding: 6px 12px;
    }
    
    .map-loading p {
        font-size: 0.8rem;
    }
    
    .loading-spinner {
        width: 28px;
        height: 28px;
        margin-bottom: 10px;
    }
    
    .map-info p {
        font-size: 0.85rem; /* Increased from 0.75rem */
        padding: 12px; /* Increased from 6px */
        white-space: nowrap; /* Force single line on small mobile too */
    }

    .car-icon {
        font-size: 5rem; /* Increased from 7rem but still larger than before */
    }
    .hero .hero-text h2 {
        font-size: 1.75rem;
        margin-top: 8px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .features,
    .how-it-works,
    .pricing,
    .cta,
    .contact {
        padding: 48px 0;
    }

    /* Smaller section titles on mobile */
    .features h2,
    .how-it-works h2,
    .pricing h2,
    .cta h2,
    .contact h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
        letter-spacing: -0.01em;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* Small tablets: ensure centered stack under header as well */
@media (max-width: 768px) and (min-width: 481px) {
    .hero {
        padding-top: 120px;
    }
    .hero .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        max-width: 640px;
        margin: 0 auto;
    }
}

/* Reservation Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.vehicle-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3b82f6;
}

.vehicle-info h3 {
    margin: 0 0 10px 0;
    color: #1e293b;
}

.vehicle-info p {
    margin: 5px 0;
    color: #64748b;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
