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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #FF0000;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #4A90E2;
}

.header-actions {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.user-profile:hover {
    background: #f0f0f0;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
}

/* Car Details Section */
.car-details-section {
    padding: 40px 0;
}

/* Car Image Gallery */
.car-image-gallery {
    margin-bottom: 30px;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.availability-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #10B981;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.thumbnail-gallery {
    display: flex;
    gap: 15px;
}

.thumbnail-item {
    flex: 1;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-item.active {
    border-color: #4A90E2;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Car Title Section */
.car-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.car-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.car-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.car-price-section {
    text-align: right;
}

.car-price {
    font-size: 42px;
    font-weight: bold;
    color: #4A90E2;
    display: block;
}

.price-unit {
    font-size: 14px;
    color: #666;
}

/* Specifications */
.specifications {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: #4A90E2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.spec-details {
    display: flex;
    flex-direction: column;
}

.spec-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.spec-label {
    font-size: 12px;
    color: #666;
}

/* Features Section */
.features-section {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

.feature-item i {
    color: #10B981;
    font-size: 18px;
}

/* Description Section */
.description-section {
    margin-bottom: 40px;
}

.description-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Booking Card */
.booking-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.booking-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

/* Pricing Breakdown */
.pricing-breakdown {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.pricing-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-title i {
    color: #4A90E2;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    padding: 8px 0;
    transition: background 0.2s;
    border-radius: 4px;
    padding-left: 5px;
    padding-right: 5px;
}

.pricing-item:hover {
    background: rgba(74, 144, 226, 0.05);
}

.pricing-label {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.pricing-label i {
    color: #4A90E2;
    font-size: 12px;
}

.pricing-value {
    color: #333;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}

.pricing-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #ddd;
}

.total-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-label i {
    color: #4A90E2;
}

.total-value {
    font-size: 24px;
    font-weight: bold;
    color: #4A90E2;
    transition: transform 0.2s;
}

/* Extras Section */
.extras-section {
    margin: 20px 0;
}

.extras-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.extra-item:hover {
    border-color: #4A90E2;
    background: #f8f9fa;
}

.extra-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4A90E2;
}

.extra-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.extra-price {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Booking Button */
.btn-booking {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    background: #4A90E2;
    border: none;
    color: white;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-booking:hover {
    background: #357ABD;
    color: white;
}

.booking-note {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}

.booking-note i {
    color: #4A90E2;
    margin-right: 5px;
}

/* Footer */
.main-footer {
    background: #1F2937;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .booking-card {
        position: static;
        margin-top: 40px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .car-title-section {
        flex-direction: column;
        gap: 15px;
    }

    .car-price-section {
        text-align: left;
    }

    .specifications {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

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

    .main-image-wrapper {
        height: 350px;
    }

    .thumbnail-gallery {
        flex-direction: column;
    }

    .thumbnail-item {
        height: 80px;
    }
}