/**
 * ================================================================
 * MODEL PAGES CSS - Complete Styling for Model/Car Detail Pages
 * ================================================================
 * 
 * Cards included:
 * 1. GalleryCard.php (6 classes)
 * 2. SpecsCard.php (3 classes)
 * 3. BookingCard.php (11 classes)
 * 4. BreadcrumbCard.php (5 classes)
 * 5. ReviewCard.php (10 classes)
 * 6. FAQCard.php (7 classes)
 *
 * Total: 42+ CSS classes
 * ================================================================
 */

/* ================================================================
   1. GALLERY CARD - GalleryCard.php
   ================================================================ */
.meb-gallery {
    padding: 60px 0;
    background: #0f172a;
}

.meb-gallery-main {
    position: relative;
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    max-height: 600px;
}

.meb-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meb-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.meb-gallery-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.meb-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meb-gallery-thumb:hover,
.meb-gallery-thumb.active {
    border-color: #c9a227;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .meb-gallery-main {
        max-height: 400px;
    }
    .meb-gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
}

/* ================================================================
   2. SPECS CARD - SpecsCard.php
   ================================================================ */
.meb-specs {
    padding: 60px 0;
    background: #0a0a0a;
}

.meb-specs h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #c9a227;
    text-align: center;
    margin-bottom: 40px;
}

.meb-specs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.meb-spec-item {
    background: #111111;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.meb-spec-item:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-2px);
}

.meb-spec-item .label {
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meb-spec-item .value {
    font-size: 18px;
    font-weight: 600;
    color: #c9a227;
}

@media (max-width: 768px) {
    .meb-specs__grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   3. BOOKING CARD - BookingCard.php
   ================================================================ */
.meb-booking {
    padding: 60px 0;
    background: #0f172a;
}

.meb-booking-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.meb-booking-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #c9a227;
    margin-bottom: 30px;
    text-align: center;
}

.meb-booking-pricing {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.meb-pricing-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.meb-pricing-option:hover {
    background: rgba(201, 162, 39, 0.1);
}

.meb-pricing-option.meb-pricing-active {
    border-color: #c9a227;
    background: rgba(201, 162, 39, 0.15);
}

.meb-pricing-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.meb-pricing-value {
    font-size: 24px;
    font-weight: 700;
    color: #c9a227;
}

.meb-booking-form {
    margin-bottom: 30px;
}

.meb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.meb-form-group {
    display: flex;
    flex-direction: column;
}

.meb-form-group label {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.meb-form-group input,
.meb-form-group select {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.meb-form-group input:focus,
.meb-form-group select:focus {
    outline: none;
    border-color: #c9a227;
    background: rgba(0, 0, 0, 0.4);
}

.meb-booking-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.meb-contact-buttons {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .meb-booking-card {
        padding: 30px 20px;
    }
    .meb-form-row {
        grid-template-columns: 1fr;
    }
    .meb-booking-pricing {
        flex-direction: column;
    }
    .meb-contact-buttons {
        flex-direction: column;
    }
}

/* ================================================================
   4. BREADCRUMB CARD - BreadcrumbCard.php
   ================================================================ */
.meb-breadcrumb {
    padding: 20px 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.meb-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.meb-breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.meb-breadcrumb__item a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.meb-breadcrumb__item a:hover {
    color: #c9a227;
}

.meb-breadcrumb__current {
    color: #c9a227;
    font-weight: 600;
}

.meb-breadcrumb__separator {
    margin: 0 12px;
    color: #64748b;
}

@media (max-width: 768px) {
    .meb-breadcrumb__item {
        font-size: 13px;
    }
    .meb-breadcrumb__separator {
        margin: 0 8px;
    }
}

/* ================================================================
   5. REVIEW CARD - ReviewCard.php
   ================================================================ */
.meb-reviews {
    padding: 80px 0;
    background: #0a0a0a;
}

.meb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.meb-review-card {
    background: #111111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    transition: all 0.3s ease;
}

.meb-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.meb-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.meb-review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #c9a227, #e0b840);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meb-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meb-review-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.meb-review-meta {
    flex: 1;
}

.meb-review-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.meb-review-date {
    font-size: 0.85rem;
    color: #9ca3af;
}

.meb-review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.meb-review-rating .star {
    color: #c9a227;
    font-size: 1.1rem;
}

.meb-review-text {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .meb-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   6. FAQ CARD - FAQCard.php
   ================================================================ */
.meb-faq-card {
    padding: 40px;
    background: #111111;
    border-radius: 16px;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.meb-faq-card__title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #c9a227;
    text-align: center;
    margin-bottom: 40px;
}

.meb-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.meb-faq-item {
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    padding: 20px 0;
}

.meb-faq-item:last-child {
    border-bottom: none;
}

.meb-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.meb-faq-question:hover {
    color: #c9a227;
}

.meb-faq-icon {
    font-size: 1.5rem;
    color: #c9a227;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.meb-faq-item.active .meb-faq-icon {
    transform: rotate(45deg);
}

.meb-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #9ca3af;
    line-height: 1.7;
    padding-top: 0;
}

.meb-faq-item.active .meb-faq-answer {
    max-height: 500px;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .meb-faq-card {
        padding: 30px 20px;
    }
    .meb-faq-question {
        font-size: 1rem;
    }
}

/* ================================================================
   GENERAL CARD UTILITY
   ================================================================ */
.meb-card {
    background: #111111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

/* ================================================================
   END OF MODEL PAGES CSS
   ================================================================ */