:root {
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --accent: #d35400; /* Tono tierra/naranja */
    --bg-dark: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    scroll-behavior: smooth;
    background-color: #000; /* Fondo negro por si el video tarda en cargar */
    overflow-x: hidden;
}

/* --- CONFIGURACIÓN BLINDADA DEL VIDEO --- */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1; /* Nivel base */
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 2; /* Capa intermedia sobre el video */
    pointer-events: none; /* Evita que el overlay bloquee clics en el menú */
}

.main-content {
    position: relative;
    z-index: 3; /* El contenido y el menú por encima de todo */
}
/* ----------------------------------------- */

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 5%;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* Sección Flota / Garaje */
.fleet-section {
    background-color: var(--bg-dark);
    padding: 100px 5%;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 60px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: #111;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 30px;
}

.card-category {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}