/* Vehicles Page Styles */
.main-content {
    padding-top: 0;
}

/* Hero Section */
.vehicles-hero {
    padding: 120px 20px 60px;
    text-align: center;
    background: transparent;
}

.vehicles-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.vehicles-hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--blue-accent-light);
    margin-bottom: 20px;
}

.vehicles-hero-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--blue-accent-light);
    text-align: center;
    margin-bottom: 50px;
}

/* Features Section */
.vehicles-features-section {
    padding: 80px 20px;
    background: transparent;
}

.vehicles-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vehicles-feature-card {
    background: rgba(26, 42, 58, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.vehicles-feature-card:hover {
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-3px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
    background: var(--gradient-blue-accent);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Filter Section */
.vehicles-filter-section {
    padding: 40px 20px;
    background: transparent;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-search {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search i {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 18px;
}

.filter-search input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(26, 42, 58, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.filter-search input:focus {
    outline: none;
    border-color: rgba(74, 144, 226, 0.5);
    background: rgba(26, 42, 58, 0.5);
}

.filter-search input::placeholder {
    color: var(--text-light);
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-sort label {
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
}

.filter-sort select {
    padding: 15px 20px;
    background: rgba(26, 42, 58, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-sort select:focus {
    outline: none;
    border-color: rgba(74, 144, 226, 0.5);
}

.filter-sort select option {
    background: var(--blue-dark-2);
    color: var(--white);
}

/* Vehicles Grid Section */
.vehicles-grid-section {
    padding: 60px 20px;
    background: transparent;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.vehicle-card {
    background: rgba(26, 42, 58, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.vehicle-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gradient-blue-2);
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card:hover .vehicle-card-overlay {
    opacity: 1;
}

.vehicle-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--gradient-blue-accent);
    border: 1px solid rgba(74, 144, 226, 0.6);
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.vehicle-card-button:hover {
    background: var(--gradient-blue-4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* Exterior image gallery slider */
.vehicle-card-gallery {
    position: relative;
    width: 100%;
    background: var(--gradient-blue-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-card-gallery--empty {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 3rem;
}

.vehicle-card-gallery__viewport {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.vehicle-card-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease;
}

.vehicle-card-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 30, 40, 0.72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
    z-index: 2;
}

.vehicle-card-gallery:hover .vehicle-card-gallery__nav {
    opacity: 1;
}

.vehicle-card-gallery__nav:hover {
    background: rgba(74, 144, 226, 0.9);
}

.vehicle-card-gallery__nav--prev {
    left: 10px;
}

.vehicle-card-gallery__nav--next {
    right: 10px;
}

.vehicle-card-gallery__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.vehicle-card-gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.vehicle-card-gallery__dot.is-active {
    background: var(--blue-accent-light, #4a90e2);
    transform: scale(1.2);
}

@media (hover: none) {
    .vehicle-card-gallery__nav {
        opacity: 1;
    }
}

.vehicle-card-content {
    padding: 30px;
}

.vehicle-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.vehicle-brand-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.vehicle-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vehicle-card-title {
    flex: 1;
}

.vehicle-card-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.vehicle-year {
    font-size: 14px;
    color: var(--text-light);
}

.vehicle-card-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 15px;
}

.spec-item i {
    width: 20px;
    color: var(--blue-accent-light);
}

/* No Vehicles Message */
.no-vehicles {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-vehicles i {
    font-size: 64px;
    color: var(--blue-accent-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-vehicles p {
    font-size: 18px;
}

/* CTA Section */
.vehicles-cta-section {
    padding: 80px 20px;
    background: transparent;
}

.vehicles-cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(26, 42, 58, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--gradient-blue-3);
    border: 1px solid rgba(74, 144, 226, 0.6);
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--gradient-blue-2);
    border-color: rgba(74, 144, 226, 0.8);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .vehicles-hero-title {
        font-size: 36px;
    }

    .vehicles-hero-subtitle {
        font-size: 20px;
    }

    .vehicles-hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .filter-container {
        flex-direction: column;
    }

    .filter-search {
        width: 100%;
        max-width: 100%;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vehicles-cta-card {
        padding: 40px 30px;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .vehicles-hero {
        padding: 100px 20px 40px;
    }

    .vehicles-hero-title {
        font-size: 28px;
    }

    .vehicles-hero-subtitle {
        font-size: 18px;
    }

    .vehicles-features-section,
    .vehicles-filter-section,
    .vehicles-grid-section,
    .vehicles-cta-section {
        padding: 60px 20px;
    }

    .vehicles-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vehicle-card-content {
        padding: 20px;
    }

    .vehicles-cta-card {
        padding: 30px 20px;
    }
}
