/* ================================================
   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;
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

.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 SECTION 3D (SAFARI STYLE)
   ================================================ */
.search-section-3d {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(92, 80, 17, 0.2) 0%, rgba(133, 177, 174, 0.2) 100%);
}

.search-card-3d {
    padding: 40px;
    background: rgba(157, 236, 227, 0.3);
    transform-style: preserve-3d;
    transition: var(--transition-base);
}

.search-card-3d:hover {
    transform: translateY(-5px);
}

.search-title-3d {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--slate-dark);
    margin-bottom: 30px;
    text-align: center;
}

.search-form-3d {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.search-field-3d {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-label-3d {
    font-weight: var(--font-weight-medium);
    color: var(--slate-dark);
    font-size: 14px;
}

.search-select-3d,
.search-input-3d {
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background: rgba(13, 148, 136, 0.4);
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--slate-dark);
    transition: var(--transition-base);
}

.search-select-3d:hover,
.search-input-3d:hover {
    background: var(--white);
    border-color: var(--ocean-teal);
}

.search-select-3d:focus,
.search-input-3d:focus {
    outline: none;
    border-color: var(--ocean-teal);
    box-shadow: var(--shadow-md);
}

.search-btn-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 40px;
    font-size: 18px;
}

.btn-icon-3d {
    transition: var(--transition-base);
}

.search-btn-3d:hover .btn-icon-3d {
    transform: translateX(5px);
}

/* ================================================
   CTA SECTION 3D
   ================================================ */
.cta-3d {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-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;
}

.cta-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;
}

.cta-content-3d {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title-3d {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
}

.word-3d {
    display: inline-block;
    animation: word-float 3s ease-in-out infinite;
}

.word-3d:nth-child(2) {
    animation-delay: 0.2s;
}

.word-3d:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes word-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.word-3d.gradient {
    background: linear-gradient(45deg, var(--white), var(--cinnamon-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons-3d {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-3d-hero {
    position: relative;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--jungle-green);
    background: var(--white);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-3d-hero.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-3d-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--ocean-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.btn-3d-hero:hover .btn-bg {
    width: 300px;
    height: 300px;
}

.btn-3d-hero .btn-text {
    position: relative;
    z-index: 2;
}

.cta-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features .feature {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}


/* ================================================
   FILTERS BAR
   ================================================ */
.filters-bar-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--sand);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    color: var(--slate-medium);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-pill:hover {
    border-color: var(--ocean-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-pill.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* ================================================
   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: 640px) {

    /* Keep responsive tweaks for grids if they are specific to this page layout */
    .vehicles-grid-3d {
        grid-template-columns: 1fr;
    }
}