/* Fleet Page Styles */

/* --- Intro Section --- */
.fleet-intro {
    padding-top: 200px;
    padding-bottom: 80px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('../images/fleet-hero-bg.png');
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.section-label-sm {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #444;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-family: inherit;
}

.fleet-intro h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.intro-text {
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 16px;
}

/* --- Fleet Display --- */
.fleet-display {
    padding-bottom: 100px;
    background: #0a0a0a;
}

.fleet-category {
    margin-bottom: 70px;
}

.category-title {
    font-size: 14px;
    color: #777;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    margin-bottom: 35px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 3 cards per row for larger images */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Fleet Card --- */
.fleet-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- Image Section - Large and clear --- */
.fleet-img-wrap {
    background: #1a1a1a;
    min-height: 250px;
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

.fleet-card:hover .fleet-img-wrap img {
    transform: scale(1.05);
}

.fleet-img-wrap img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* --- Details Section with Hover Overlay --- */
.fleet-details {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #111;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-details {
    transform: translateY(0);
}

/* Vehicle name always visible */
.fleet-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    text-align: center;
    transition: opacity 0.3s ease;
}

.fleet-card:hover .fleet-card-title {
    opacity: 0;
}

.fleet-card-title h4 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.fleet-details h4 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.fleet-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #888;
}

.fleet-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icons for specs - Font Awesome style like booking page */
.fleet-specs i {
    color: var(--color-gold, #b48b32);
    font-size: 14px;
}

/* --- Price Display --- */
.fleet-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.price-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: -0.5px;
}

/* --- Select Button --- */
.btn-select {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #b48b32 0%, #d6af54 100%);
    color: #000;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-top: auto;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-select:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(180, 139, 50, 0.5);
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .fleet-img-wrap {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }

    .fleet-img-wrap {
        height: 200px;
    }

    .fleet-intro {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .fleet-intro h1 {
        font-size: 28px;
    }

    .fleet-category {
        margin-bottom: 40px;
    }

    .price-value {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .fleet-details {
        padding: 20px 16px;
    }

    .fleet-details h4 {
        font-size: 15px;
    }

    .fleet-specs {
        gap: 16px;
        font-size: 13px;
    }

    .btn-select {
        padding: 12px 0;
        font-size: 12px;
    }
}
