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

:root {
    --navy-blue: #0A192F;
    --navy-light: #112240;
    --yellow: #FFD700;
    --yellow-hover: #E6C200;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-fintech: 0 10px 40px -10px rgba(10, 25, 47, 0.15); /* Soft fintech shadow */
    
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--navy-blue);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: background-color 0.3s ease;
}

.navbar.solid {
    position: fixed;
    background-color: var(--navy-blue);
    box-shadow: var(--shadow-md);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    color: var(--yellow);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--yellow);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(10, 25, 47, 0.1), rgba(10, 25, 47, 0.4)), url('assets/hero-car-sunset.jpg.jpg');
    color: var(--white);
    padding-bottom: 80px; /* Space for search bar */
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: -40px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-50);
    margin-bottom: 40px;
}



/* Search Bar (Fintech Card Style) */
.search-wrapper {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1050px;
    padding: 0 24px;
    z-index: 10;
}

.search-tabs {
    display: flex;
}

.tab-btn {
    background-color: #112240;
    color: var(--white);
    padding: 14px 40px;
    border: none;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: 0.2s;
}

.tab-btn.active {
    background-color: var(--yellow);
    color: var(--navy-blue);
}

.search-card {
    background-color: var(--navy-blue);
    border-radius: 0 16px 16px 16px;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.search-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
}

.search-input {
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-blue);
    outline: none;
    background-color: var(--white);
    padding: 14px 16px;
    border-radius: 8px;
    font-family: var(--font-sans);
    width: 100%;
}

.search-input::placeholder {
    color: var(--gray-400);
    font-weight: 500;
}

.input-icon {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: var(--gray-400);
    width: 18px;
    pointer-events: none;
}

.search-btn-container {
    flex-shrink: 0;
}

.search-btn-container .btn {
    padding: 14px 32px;
}

/* Features Row */
.features-section {
    padding: 120px 0 60px;
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--navy-light);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--gray-600);
}

/* Popular Routes Section */
.routes-section {
    padding: 60px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-600);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.route-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.route-img {
    height: 180px;
    width: 100%;
    object-fit: contain;
    background-color: var(--gray-50);
    padding: 20px;
}

.route-info {
    padding: 24px;
}

.route-dest {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-price {
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 22px;
}

.route-price span {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Parcel Delivery Services Section */
.parcel-section {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.parcel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.parcel-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Preview Booking Section */
.preview-booking-section {
    padding: 100px 0;
    background-color: var(--white);
}

.preview-booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.preview-seat-card, .preview-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-fintech);
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-desc {
    color: var(--gray-400);
    margin-bottom: 24px;
    margin-top: 16px;
    max-width: 300px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray-400);
}

/* Page Headers (for non-home pages) */
.page-header {
    background-color: var(--navy-blue);
    padding: 160px 0 80px;
    text-align: center;
    color: var(--white);
}

/* Booking Page Specifics */
.booking-container {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.seat-selection-card, .booking-summary-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-fintech);
}

.seat-map-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.van-layout {
    width: 300px;
    border: 4px solid var(--gray-200);
    border-radius: 40px;
    padding: 30px 20px;
    position: relative;
    background-color: var(--gray-50);
}

.van-front {
    text-align: center;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 30px;
    border-bottom: 2px dashed var(--gray-200);
    padding-bottom: 15px;
}

.steering-wheel {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid var(--gray-400);
    margin-left: auto;
    margin-bottom: 20px;
}

.seat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.seat {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.seat:not(.booked):not(.driver):hover {
    border-color: var(--navy-blue);
    background-color: var(--navy-light);
    color: var(--white);
}

.seat.driver {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.seat.selected {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--navy-blue);
}

.seat.booked {
    background-color: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.6;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}
.legend-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 16px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    font-weight: 700;
    font-size: 24px;
    color: var(--navy-blue);
}

.checkout-btn {
    width: 100%;
    margin-top: 32px;
    padding: 16px;
    font-size: 18px;
}

/* About Page Specifics */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-fintech);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--navy-blue);
    font-weight: 600;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 80px 0;
}

.contact-info-card {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-fintech);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-item svg {
    color: var(--yellow);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-info-item p {
    color: var(--gray-200);
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-fintech);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 4px rgba(10, 25, 47, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Responsible Design Media Queries */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .routes-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; z-index: 1001; }
    
    .menu-overlay {
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(10, 25, 47, 0.6);
        z-index: 998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .menu-overlay.active { display: block; opacity: 1; backdrop-filter: blur(4px); }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background-color: var(--navy-blue);
        flex-direction: column;
        padding: 80px 24px 24px 24px;
        box-shadow: 4px 0 24px rgba(0,0,0,0.5);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        align-items: flex-start;
        overflow-y: auto;
    }
    .nav-links.active { left: 0; }
    
    .menu-close {
        display: block !important;
        position: absolute;
        top: 24px;
        right: 24px;
        color: var(--white);
        cursor: pointer;
    }
    
    .nav-links li { width: 100%; margin-bottom: 24px; }
    .nav-links li a { display: block; font-size: 18px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links li button { width: 100%; justify-content: center; padding: 12px; }
    
    /* Global Layout Fixes */
    .container { padding: 0 20px; box-sizing: border-box; }
    
    /* Form & Interactivity Wrappers */
    .btn, .btn-primary, .tab-btn { width: 100%; display: flex; justify-content: center; }
    .form-control, input, textarea { width: 100%; box-sizing: border-box; }
    
    /* Hero scaling */
    .hero { min-height: unset; height: auto; padding-top: 120px; padding-bottom: 60px; }
    .hero-layout { flex-direction: column; text-align: center; justify-content: center; margin-top: 0; gap: 32px; }
    .hero-content { text-align: center; max-width: 100%; }
    .hero-title { font-size: 32px; margin-bottom: 16px; }
    .hero-subtitle { font-size: 18px; margin-bottom: 24px; }
    
    /* Search Box */
    .search-wrapper { position: relative; bottom: unset; left: unset; transform: unset; width: 100%; margin-top: -30px; margin-bottom: 40px; padding: 0 20px; box-sizing: border-box; }
    .search-card { flex-direction: column; gap: 16px; align-items: stretch; }
    .search-group:not(:last-child)::after { display: none; }
    .search-group { padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); width: 100%; }
    
    /* Seat Booking specific */
    .seat-layout { max-width: 100%; overflow-x: auto; padding-bottom: 16px; }
    .seat-row { min-width: 250px; }
    
    /* Vertical Grids */
    .features-grid, .routes-grid, .footer-grid, 
    .about-grid, .contact-grid, .stats-grid, 
    .parcel-grid, .preview-booking-grid { 
        grid-template-columns: 1fr; gap: 32px; 
    }
    
    /* Parcel Grid Stack */
    .parcel-grid .parcel-image { grid-row: 2; }
}

