/* =========================================================
   CASANOVA CAR RENTAL — HOME PAGE: OUR FLEET (CAROUSEL)
   Dark theme | Colors: Amber #FFBF01 | Rich Black #111111
========================================================= */

.fleet-section {
    position: relative;
    background-color: var(--color-rich-black);
    padding: 50px 0;
    overflow: hidden;
}

/* Subtle amber glow in the background for depth */
.fleet-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 191, 1, 0.12) 0%, rgba(255, 191, 1, 0) 70%);
    pointer-events: none;
}

.fleet-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* -----------------------------------------
   Heading
----------------------------------------- */
.fleet-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.fleet-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: 16px;
}

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

.fleet-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-white);
    line-height: 1.2;
}

/* -----------------------------------------
   Carousel Shell
----------------------------------------- */
.fleet-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fleet-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fleet-track::-webkit-scrollbar {
    display: none;
}

/* -----------------------------------------
   Arrows
----------------------------------------- */
.fleet-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    z-index: 2;
}

.fleet-arrow:hover {
    background-color: var(--color-amber);
    border-color: var(--color-amber);
    color: var(--color-rich-black);
    transform: scale(1.05);
}

.fleet-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* -----------------------------------------
   Card
----------------------------------------- */
.fleet-card {
    flex: 0 0 calc(33.333% - 19px);
    scroll-snap-align: start;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* Media area */
.fleet-card-media {
    position: relative;
    padding: 0;
}

.fleet-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.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);
}

/* Body */
.fleet-card-body {
    padding: 24px 24px 28px;
}

.fleet-card-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.fleet-divider {
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-amber), rgba(255, 191, 1, 0));
    margin-bottom: 22px;
}

/* Meta grid */
.fleet-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 22px;
}

.fleet-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.fleet-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 191, 1, 0.1);
    color: var(--color-amber);
    margin-bottom: 2px;
}

.fleet-meta-item strong {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
}

.fleet-meta-item small {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

/* Footer: price + CTA */
.fleet-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.fleet-price-amount {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-amber);
}

.fleet-price-unit {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 2px;
}

.fleet-card-cta {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    white-space: nowrap;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.fleet-card-cta:hover {
    color: var(--color-amber);
    border-color: var(--color-amber);
}

/* -----------------------------------------
   Dots
----------------------------------------- */
.fleet-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.fleet-dots .fleet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.fleet-dots .fleet-dot.is-active {
    background-color: var(--color-amber);
    width: 22px;
    border-radius: 4px;
}

/* -----------------------------------------
   Empty state
----------------------------------------- */
.fleet-empty {
    text-align: center;
    font-family: var(--font-main);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 1024px) {
    .fleet-section {
        padding: 80px 0;
    }

    .fleet-container {
        padding: 0 24px;
    }

    .fleet-card {
        flex: 0 0 calc(50% - 14px);
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 860px) {
    .fleet-heading {
        margin-bottom: 40px;
    }

    .fleet-arrow {
        display: none; /* swipe on touch devices instead */
    }

    .fleet-card {
        flex: 0 0 calc(85% - 14px);
    }

    .fleet-meta-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .fleet-meta-item strong {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fleet-section {
        padding: 64px 0;
    }

    .fleet-card {
        flex: 0 0 92%;
    }

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

    .fleet-meta-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 14px 2px;
    }

    .fleet-meta-icon {
        width: 30px;
        height: 30px;
    }

    .fleet-meta-item strong {
        font-size: 11px;
    }

    .fleet-meta-item small {
        font-size: 9px;
    }

    .fleet-card-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}