/* ================================================
   VEHICLES PAGE - 3D ENHANCED STYLES (SAFARI STYLE)
   Updated to match Safari page design
   ================================================ */

/* ================================================
   HERO SECTION (SAFARI STYLE)
   ================================================ */
.vehicles-hero-3d {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
    padding: 80px 0;
}

.hero-bg-3d {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #0D9488 100%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: drift 20s linear infinite;
}

.hero-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,

        );
    z-index: 1;
}

.hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-3d {
    position: relative;
    z-index: 2;
    text-align: center;
}

.vehicles-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.vehicles-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: 20px;
}

.vehicles-hero-title .title-line {
    display: block;
    animation: slide-up 0.8s var(--ease-bounce) backwards;
}

.vehicles-hero-title .title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.vehicles-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    animation: fade-in 1s ease 0.6s backwards;
}

/* ================================================
   SEARCH & FILTERS BAR (Centralized in serendib_global_3d_css.css)
   ================================================ */

/* ================================================
   VEHICLES SECTION
   ================================================ */
.vehicles-section {
    padding: 80px 0;
    background: var(--white);
}

.vehicles-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

/* ================================================
   FEATURES SECTION 3D
   ================================================ */
.features-section-3d {
    padding: 80px 0;
    background: var(--sand);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card-3d {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-card-3d h3 {
    font-size: 20px;
    color: var(--slate-dark);
    margin-bottom: 12px;
}

.feature-card-3d p {
    color: var(--slate-medium);
    font-size: 15px;
    line-height: 1.6;
}

/* ================================================
   VEHICLE SPECIFIC UTILITIES (Page Specific)
   ================================================ */

/* Keep page-specific overrides here if needed */
@media (max-width: 768px) {
    .filters-bar-3d {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 30px;
        padding: 16px 0;
    }

    .filter-pills-container-3d {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .filter-group-3d {
        display: grid;
        gap: 8px;
        align-items: center;
    }

    /* Driver options group: 3 columns */
    .filter-group-3d:first-child {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Vehicle type options group: 4 columns */
    .filter-group-3d:last-child {
        grid-template-columns: repeat(4, 1fr);
    }

    .filter-pill {
        width: 100%;
        padding: 8px 4px;
        font-size: 13px; /* Slightly smaller text on mobile to fit nicely */
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }

    .filter-divider {
        display: none;
    }

    .results-info {
        text-align: center;
        font-size: 14px;
        color: var(--slate-medium);
        font-weight: 600;
        letter-spacing: 0.5px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 12px;
    }
}

@media (max-width: 640px) {
    /* Keep responsive tweaks for grids if they are specific to this page layout */
    .vehicles-grid-3d {
        grid-template-columns: 1fr;
    }
}