/*================ VARIABLES ================*/
:root {
    --primary-color: #ff2a5f; /* El rojo/rosa neón de la imagen */
    --primary-hover: #ff4d79;
    
    /* Paleta Oscura de la imagen */
    --bg-main: #0f1016;       /* Fondo oscuro muy profundo */
    --bg-card: #15161f;       /* Fondo sutilmente más claro para tarjetas/botones */
    
    --white: #ffffff;
    --text-color: #e0e0e0;
    --text-light: #8b8b9e;    /* Texto grisáceo para subtítulos */
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-color);
}

/*================ BASE & LAYOUT ================*/
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/*================ HEADER & NAV (ADAPTADO A DARK MODE) ================*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    /* Fondo oscuro semi-transparente para un toque moderno */
    background-color: rgba(15, 16, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.nav {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-close, .nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/*================ HERO ================*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Oscurecemos más la capa superior del hero para que combine con el tema */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 16, 22, 0.9), rgba(15, 16, 22, 0.4));
}

.hero-content {
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/*================ TÍTULOS ================*/
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

/* Efecto de color para la palabra RODANDO */
.text-gradient {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 42, 95, 0.4);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/*================ BOTONES ================*/
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 95, 0.3);
}

.w-100 {
    width: 100%;
}

/*================ INVENTARIO & FILTROS (DISEÑO EXACTO) ================*/
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--bg-card);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 30px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 42, 95, 0.5); /* Efecto Glow/Neón */
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 42, 95, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px rgba(255, 42, 95, 0.1);
}

.vehicle-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--white);
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.85rem;
}

.specs li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hide {
    display: none;
}

/*================ SERVICIOS (ADAPTADO A DARK MODE) ================*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
}

/*================ FOOTER (ADAPTADO A DARK MODE) ================*/
.footer {
    background-color: #0a0b0f; /* Un tono aún más oscuro para cerrar la página */
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.copyright {
    text-align: center;
    color: #444455;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/*================ RESPONSIVE MÓVIL ================*/
@media screen and (max-width: 768px) {
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card); /* Menú móvil ahora es oscuro */
        padding: 4rem 0 2rem;
        box-shadow: 0 2px 15px rgba(0,0,0,0.5);
        transition: 0.4s;
        text-align: center;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .nav-menu.show-menu { top: 0; }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; }
}