/* Root Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9fbfd;
    margin: 0;
    padding: 0;
}

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

.booking-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 40px;
}

/* Hero Section */
.booking-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.95)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: white;
    padding: 6rem 0 4rem;
    margin-bottom: 3rem;
}

.booking-breadcrumb {
    display: flex;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.booking-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.booking-breadcrumb a:hover {
    color: white;
}

.booking-breadcrumb span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.booking-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.booking-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
}

/* Vehicle Details */
.vehicle-details {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.vehicle-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.vehicle-content {
    padding: 2.5rem;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vehicle-price {
    text-align: right;
}

.vehicle-price .original {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.vehicle-price .current {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.vehicle-price .discount {
    background: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vehicle-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.vehicle-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
}

.vehicle-meta-item i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -8px;
    left: 0;
    border-radius: 3px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 20px;
}

.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.booking-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.booking-form-group {
    margin-bottom: 1.5rem;
}

.booking-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.booking-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.booking-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    margin-bottom: 1rem;
}

.booking-btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.help-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.help-box-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.help-box-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.help-box-btn {
    background: white;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.help-box-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .booking-main {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
        order: -1;
        max-width: 500px;
        margin: 0 auto 3rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .booking-hero {
        padding: 5rem 0 3rem;
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .vehicle-header {
        flex-direction: column;
    }
    
    .vehicle-price {
        text-align: left;
        margin-top: 1rem;
    }
    
    .vehicle-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .booking-hero {
        padding: 4rem 0 2rem;
    }
    
    .booking-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .vehicle-content {
        padding: 1.5rem;
    }
}