:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #25d366;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

body {
    display: block;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--primary-color);
}

.navbar-brand i {
    font-size: 32px;
}

nav ul li a {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    margin: auto 10px; 
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 2.5rem;
} 

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.hero-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(108, 117, 125, 0.9)), url('IMG-20251017-WA0021.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-overlay {
    width: 100%;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.booking-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.booking-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.btn {
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-success {
    background-color: var(--success-color);
    border: none;
}

.btn-success:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.routes-section {
    background-color: var(--light-bg);
}

.route-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
    height: 100%;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.route-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.route-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.route-card .card-text {
    color: #6c757d;
    margin-bottom: 10px;
}

.why-choose-section {
    background-color: white;
}

.feature-item {
    margin-bottom: 25px;
}

.feature-item h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #6c757d;
    margin-left: 30px;
}

.feature-item i {
    font-size: 24px;
    margin-right: 10px;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
    color: white;
}

.contact-info {
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background-color: var(--light-bg);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 700;
}

.booking-summary {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.booking-summary h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.booking-summary p {
    margin-bottom: 8px;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .booking-card {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.bi {
    vertical-align: middle;
}

.seat-selection-area {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.seat-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.seat-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 5px;
    border: 2px solid #ddd;
}

.seat-box.available {
    background-color: #fff;
    border-color: #0d6efd;
}

.seat-box.selected {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.seat-box.booked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.bus-layout {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.driver-section {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.seat-map {
    margin-top: 15px;
}

.seat-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.aisle {
    width: 30px;
}

.seat-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #0d6efd;
    background-color: white;
    color: #0d6efd;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.seat-btn:hover:not(:disabled) {
    background-color: #e7f1ff;
    transform: scale(1.05);
}

.seat-btn.available {
    border-color: #0d6efd;
    background-color: white;
    color: #0d6efd;
}

.seat-btn.selected {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.seat-btn.booked {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    cursor: not-allowed;
    opacity: 0.6;
}

.selected-seats-info {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.selected-seats-info p {
    margin: 0;
    font-size: 16px;
}

.selected-seats-info span {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 576px) {
    .seat-btn {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }
    
    .aisle {
        width: 20px;
    }
    
    .bus-layout {
        padding: 15px;
    }
}
