/* =========================================================
   CASANOVA CAR RENTAL — OUR FLEETS PAGE: GRID + FILTER + CARDS
========================================================= */

.fleet-grid-section {
    background-color: var(--color-rich-black);
    padding: 50px 0;
}

/* -----------------------------------------
   Section Header
----------------------------------------- */
.fleet-grid-header {
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 24px;
    text-align: center;
}

.fleet-grid-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 18px;
}

.fleet-grid-eyebrow .eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--color-amber);
}

.fleet-grid-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--color-white);
    text-transform: capitalize;
}

/* -----------------------------------------
   Filter Tabs
----------------------------------------- */
.fleet-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    padding: 0 24px;
}

.fleet-filter-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 26px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fleet-filter-btn:hover {
    border-color: var(--color-amber);
    color: var(--color-white);
}

.fleet-filter-btn.is-active {
    background-color: var(--color-amber);
    border-color: var(--color-amber);
    color: var(--color-rich-black);
}

/* -----------------------------------------
   Grid — 3 per row
----------------------------------------- */
.fleet-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fleet-grid-item.is-hidden {
    display: none;
}

.fleet-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-main);
}

/* -----------------------------------------
   Fleet Card — Dark Theme
----------------------------------------- */
.fleet-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 191, 1, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.fleet-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* -----------------------------------------
   Status Badge (Available / Booked / Maintenance)
----------------------------------------- */
.fleet-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    z-index: 2;
}

.fleet-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.fleet-badge.is-available {
    background-color: #16A34A;
    color: #fff;
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.fleet-badge.is-booked {
    background-color: #DC2626;
    color: #fff;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.fleet-badge.is-maintenance {
    background-color: #737373;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fleet-card-body {
    padding: 18px 18px 20px;
}

.fleet-card-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 12px;
}
.fleet-card-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.fleet-card-title-row .fleet-card-title {
    margin-bottom: 0;
}

.fleet-card-title-price {
    flex-shrink: 0;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-amber);
    white-space: nowrap;
}

/* Pricing row */
.fleet-card-pricing {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fleet-price-option {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 191, 1, 0.08);
    border: 1px solid rgba(255, 191, 1, 0.25);
    border-radius: 8px;
    padding: 6px 10px;
    flex: 1;
    min-width: 80px;
}

.fleet-price-label {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-amber);
    margin-bottom: 2px;
}

.fleet-price-value {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
}
.fleet-card-pricing-single {
    margin-bottom: 14px;
}

.fleet-price-value-lg {
    font-size: 18px;
}

/* Specs */
.fleet-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.fleet-card-specs p {
    font-family: var(--font-main);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 5px;
}

.fleet-card-specs strong {
    color: rgba(255, 255, 255, 0.9);
}

/* -----------------------------------------
   Card-level CTA buttons (Book a Call / Send a Message)
----------------------------------------- */
.fleet-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.fleet-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: capitalize;
    color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.fleet-card-btn svg {
    flex-shrink: 0;
}

.fleet-card-btn-call {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--color-rich-black) 100%) ; border: 1px solid #ffd15c; color: #ffd15c;
}

.fleet-card-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.35);
}

.fleet-card-btn-whatsapp {
    background: linear-gradient(135deg, #ffd15c 0%, var(--color-amber) 100%);
    color: var(--color-rich-black);
}

.fleet-card-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 191, 1, 0.35);
    opacity: 0.95;
}

/* -----------------------------------------
   Final CTA
----------------------------------------- */
/* -----------------------------------------
   Final CTA — Background image + overlay
----------------------------------------- */
.fleet-final-cta-section {
    position: relative;
    background-color: var(--color-rich-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 90px 24px;
    text-align: center;
    overflow: hidden;
}

/* Dark overlay so text stays readable on any image */
.fleet-final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 17, 17, 0.6) 0%,
        rgba(17, 17, 17, 0.8) 100%
    );
    z-index: 1;
}

/* Amber gradient glow — right side of the section */
.fleet-final-cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 191, 1, 0) 45%,
        rgba(255, 191, 1, 0.2) 100%
    );
    z-index: 2;
}

.fleet-final-cta-container {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin: 0 auto;
}

.fleet-final-cta-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 34px);
    color: var(--color-white);
    text-transform: capitalize;
    margin-bottom: 14px;
}

.fleet-final-cta-text {
    font-family: var(--font-main);
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.fleet-final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.fleet-final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.fleet-final-cta-btn-solid {
    background-color: var(--color-amber);
    color: var(--color-rich-black);
    border: 1px solid var(--color-amber);
}

.fleet-final-cta-btn-solid:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.fleet-final-cta-btn-outline {
    background-color: transparent;
    color: var(--color-amber);
    border: 1px solid var(--color-amber);
}

.fleet-final-cta-btn-outline:hover {
    background-color: var(--color-amber);
    color: var(--color-rich-black);
    transform: translateY(-2px);
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media (max-width: 992px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-final-cta-section {
        background-attachment: scroll;
        padding: 70px 20px;
    }
}

@media (max-width: 576px) {
    .fleet-card-actions {
        flex-direction: column;
    }

    .fleet-grid-section {
        padding: 70px 0;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 20px;
    }

        .fleet-card-specs {
        grid-template-columns: revert-rule;
    }

    .fleet-final-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .fleet-final-cta-btn {
        width: 100%;
    }
}



