/* Variables de color para un mantenimiento fácil */
:root {
    --bg-color: #0d0d0d;
    --surface-color: #1a1a1a;
    --primary-color: #d90429; /* Rojo Racing */
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

/* Reset de estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos de cuerpo */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
}

/* Títulos con tipografía 'Oswald' */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Enlaces generales */
a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Navegación fixed */
nav {
    position: fixed;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Sección Hero con imagen de fondo */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Imagen de fondo de muestra. Deberás subir una propia */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1611821064430-0d40220e4e66?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 0 20px;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Botones principales */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn:hover {
    background-color: #ef233c;
    transform: translateY(-3px);
    color: white;
}

/* Secciones generales */
section {
    padding: 100px 5%;
}

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

/* Grid para 'Quiénes Somos' */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Grid general para tarjetas (Garaje / Merch) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Estilos de las tarjetas */
.card {
    background-color: var(--surface-color);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: #000;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

/* Diseño Responsive para móviles */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Aquí se podría añadir un menú hamburguesa con JS más avanzado */
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
}