/*
Theme Name: SpartanAutos
Description: Tema personalizado para concesionaria SpartanAutos
Version: 1.0
Author: Tu Nombre
*/

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-gray: #333333;
    --secondary-gray: #666666;
    --light-gray: #f5f5f5;
    --accent-yellow: #ffd700;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
}

/* Splash Screen - Solo Front Page */
#splash-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.5s ease-out !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
}

#splash-screen * {
    visibility: visible !important;
    opacity: 1 !important;
}

.splash-content {
    text-align: center !important;
    animation: splashPulse 1.5s ease-in-out infinite !important;
    margin: 0 !important;
    padding: 20px !important;
    display: block !important;
    visibility: visible !important;
}

.splash-logo {
    display: block !important;
    visibility: visible !important;
}

.splash-logo img {
    width: 150px !important;
    height: auto !important;
    max-width: 90vw !important;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4)) !important;
    display: block !important;
    margin: 0 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.splash-logo-text {
    font-size: 3rem !important;
    font-weight: 900 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.splash-logo-text .spartan {
    color: #ffffff !important;
}

.splash-logo-text .autos {
    color: #ffd700 !important;
}

@keyframes splashPulse {
    0%, 100% {
        transform: scale(1) !important;
        opacity: 0.9 !important;
    }
    50% {
        transform: scale(1.08) !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .splash-logo img {
        width: 150px !important;
    }
    
    .splash-logo-text {
        font-size: 2.5rem !important;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition);
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.1);
}

/* Logo sizing control */
.site-logo,
.site-logo img,
.site-logo svg {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
}

.footer-logo,
.footer-logo img,
.footer-logo svg {
    height: 60px !important;
    width: auto !important;
    max-width: 180px !important;
    margin-bottom: 1rem;
}

/* Custom logo WordPress support */
.custom-logo {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
}

.footer .custom-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 180px !important;
}

.site-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-title .spartan-text {
    color: var(--white);
}

.site-title .autos-text {
    color: var(--accent-yellow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a i {
    font-size: 1rem;
}

.nav-menu a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

/* Mobile Header */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-black);
    padding: 2rem;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu-items {
    list-style: none;
}

.mobile-menu-items li {
    margin-bottom: 1rem;
}

.mobile-menu-items a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    transition: var(--transition);
    border-radius: 6px;
}

.mobile-menu-items a i {
    font-size: 1.1rem;
    width: 20px;
}

.mobile-menu-items a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 0 2rem;
    align-items: start;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-bottom-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom-row p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

.footer-bottom-row a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-row a:hover {
    color: var(--white);
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-section p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section i {
    color: var(--accent-yellow);
    width: 16px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-gray);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

/* Homepage Slideshow */
.hero-slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 4;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-title h2 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

/* Nuevo contenedor para el botón CTA independiente */
.hero-cta-container {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none; /* Permite que los clicks pasen al slideshow */
}

.hero-cta-container .cta-button {
    pointer-events: auto; /* Permite clicks en el botón */
}

.cta-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: 2px solid var(--accent-yellow);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-button:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.slideshow-nav:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

.slideshow-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-yellow);
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-gray);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--accent-yellow);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: var(--light-gray);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--secondary-gray);
    padding: 4rem 2rem;
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.review-card {
    background-color: var(--primary-gray);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.review-card.active {
    display: block;
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.customer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-yellow);
}

.stars {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.customer-name {
    font-weight: bold;
    color: var(--white);
    font-size: 1.1rem;
}

/* Reviews Navigation */
.reviews-carousel .slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(51, 51, 51, 0.9);
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-carousel .slideshow-nav:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    transform: translateY(-50%) scale(1.1);
}

.reviews-carousel .carousel-prev {
    left: -80px;
}

.reviews-carousel .carousel-next {
    right: -80px;
}

/* Reviews dots */
.reviews-carousel .slideshow-dots {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.reviews-carousel .slideshow-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-carousel .slideshow-dots .dot.active {
    background-color: var(--accent-yellow);
    transform: scale(1.2);
}

/* Privacy Policy Styles */
.privacy-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    line-height: 1.8;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-content h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black);
    font-size: 2.8rem;
    position: relative;
}

.privacy-content h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 1rem auto;
    border-radius: 2px;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--accent-yellow);
}

.privacy-section h2 {
    margin: 0 0 1.5rem;
    color: var(--primary-black);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-section p {
    margin-bottom: 1.2rem;
    color: var(--secondary-gray);
    font-size: 1.1rem;
    text-align: justify;
}

.privacy-section ul {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 1rem;
}

.privacy-section li {
    margin-bottom: 0.8rem;
    color: var(--secondary-gray);
    font-size: 1.05rem;
}

.privacy-section li::marker {
    color: var(--accent-yellow);
}

.privacy-section strong {
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.last-updated {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-yellow);
    font-size: 1rem;
    color: var(--primary-gray);
    font-style: italic;
}

/* About Us Styles */
.about-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.about-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.about-hero h1 {
    font-size: 3rem;
    z-index: 1;
    position: relative;
}

.team-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.team-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

/* Inventory/Store Styles */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.car-card {
    background-color: var(--primary-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--accent-yellow);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.car-title a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.car-title a:hover {
    color: var(--accent-yellow);
}

.car-price {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    font-weight: bold;
    margin-bottom: 1rem;
}

.car-details {
    list-style: none;
    margin-bottom: 1rem;
}

.car-details li {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

.view-details {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.view-details:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        height: 40px;
        max-width: 150px;
    }
    
    .site-logo,
    .site-logo img,
    .site-logo svg,
    .custom-logo {
        height: 40px !important;
        max-width: 150px !important;
    }
    
    .footer-logo,
    .footer-logo img,
    .footer-logo svg,
    .footer .custom-logo {
        height: 50px !important;
        max-width: 120px !important;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .slideshow-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .prev {
        left: 1rem;
    }
    
    .next {
        right: 1rem;
    }
    
    .cta-button {
        padding: 0.85rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .slide-title h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .reviews-carousel .carousel-prev {
        left: -60px;
    }
    
    .reviews-carousel .carousel-next {
        right: -60px;
    }
    
    .reviews-carousel .slideshow-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .customer-image {
        width: 100px;
        height: 100px;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .reviews-section {
        padding: 3rem 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .reviews-carousel .carousel-prev {
        left: -40px;
    }
    
    .reviews-carousel .carousel-next {
        right: -40px;
    }
    
    .reviews-carousel .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .customer-image {
        width: 80px;
        height: 80px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .reviews-carousel {
        margin: 0 1rem;
    }
    
    .reviews-carousel {
        margin: 0 1rem;
        padding-bottom: 3.5rem;
    }
    
    .slideshow-dots {
        margin-top: 1rem;
    }
    
    .mobile-menu {
        width: 90%;
        max-width: none;
    }
    
    .hero-slideshow {
        height: 70vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .site-logo,
    .site-logo img,
    .site-logo svg,
    .custom-logo {
        height: 35px !important;
        max-width: 120px !important;
    }
    
    .footer-logo,
    .footer-logo img,
    .footer-logo svg,
    .footer .custom-logo {
        height: 45px !important;
        max-width: 100px !important;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main content spacing */
.main-content {
    margin-top: 80px; /* Para compensar el header fijo */
    min-height: calc(100vh - 160px);
}

/* ==========================================
   INVENTORY PAGE STYLES
   ========================================== */

.inventory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Filter System */
.inventory-filters {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.primary-filters {
    margin-bottom: 1rem;
}

.advanced-filters {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    margin-top: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1;
}

.filter-group label {
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.filter-group select option {
    background: #1a1a1a;
    color: #fff;
}

.sort-group {
    min-width: 200px;
}

/* Advanced Toggle */
.advanced-toggle {
    text-align: center;
    margin: 1rem 0;
}

.toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffb300, #ffa000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.results-count {
    color: #ccc;
    font-size: 0.9rem;
    margin-left: auto;
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.car-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.car-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.car-info h3 a:hover {
    color: #ffc107;
}

.car-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.car-details span {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.car-price {
    background: rgba(255, 193, 7, 0.2) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

/* Loading and No Results */
.loading-indicator,
.no-results {
    text-align: center;
    padding: 3rem;
    color: #ccc;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results h3 {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Responsive Design for Inventory */
@media (max-width: 768px) {
    .inventory-container {
        padding: 1rem;
    }
    
    .inventory-filters {
        padding: 1.5rem;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .results-count {
        text-align: center;
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .car-details {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .car-details span {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ==========================================
   SINGLE CAR PAGE STYLES
   ========================================== */

.car-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.car-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Left Side - Images */
.car-images-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-car-image {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.8);
}

.main-car-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #666;
    background: rgba(0, 0, 0, 0.5);
}

.no-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #555;
}

.car-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    min-width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #ffc107;
}

.thumbnail:hover {
    border-color: rgba(255, 193, 7, 0.7);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side - Details */
.car-details-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    height: fit-content;
}

.car-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.car-brand-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.car-brand {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.car-type {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.4);
    font-size: 1.1rem;
}

.car-model-year-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.car-model {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
}

.car-year {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 500;
}

.price-section {
    margin: 2rem 0;
}

.price-label {
    font-size: 1.1rem;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-price {
    font-size: 4.5rem;
    color: var(--white);
    font-weight: 700;
    text-align: left;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: block;
    min-width: auto;
}

/* Specifications Grid */
.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 193, 7, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
}

.spec-item i {
    color: #ffc107;
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Description */
.car-description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.car-description h3 {
    color: #ffc107;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.car-description p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.car-content {
    color: #ddd;
    line-height: 1.6;
}

/* Action Buttons */
.car-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.car-actions button,
.car-actions a {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-btn {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #000;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ffa000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.share-btn {
    background: transparent;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.share-btn:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Contact Section */
.car-contact-section {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    text-align: center;
    margin-top: 3rem;
}

.contact-content h3 {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: #ddd;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

.contact-method i {
    color: #ffc107;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-method div {
    text-align: left;
    flex: 1;
}

.contact-method strong {
    color: #ffc107;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-method p {
    color: #fff;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Single Car */
@media (max-width: 768px) {
    .car-single-container {
        padding: 1rem;
    }
    
    .car-single-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .car-images-section {
        position: static;
    }
    
    .car-details-section {
        padding: 1.5rem;
    }
    
    .car-title {
        font-size: 1.5rem;
    }
    
    .car-price {
        font-size: 2.5rem;
        padding: 1rem 1.5rem;
        min-width: auto;
        text-align: center;
    }
    
    .car-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .car-actions {
        flex-direction: column;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-method div {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .car-brand-type-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .car-model-year-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
    
    .car-brand,
    .car-type {
        text-align: center;
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .car-model {
        font-size: 1.5rem;
    }
    
    .car-year {
        font-size: 1.2rem;
    }
    
    .car-price {
        font-size: 2rem;
        padding: 1rem;
    }
    
    .spec-item {
        padding: 0.75rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
}
