:root {
    --bg-black: #050505;
    --bg-dark-gray: #111111;
    --neon-green: #39ff14; /* Verde Monster */
    --neon-red: #ff003c;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

h1, h2, button, .lang-switch { font-family: 'Teko', sans-serif; text-transform: uppercase; }

/* --- HEADER & LOGO --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px; /* Altura inicial */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* El rectángulo blanco que aparece al hacer scroll */
#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    height: 80px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    /* Clip path para darle forma de placa si se desea, o rectangular simple */
}

.logo-container {
    width: 200px;
    transition: all 0.3s ease;
    opacity: 0; /* Oculto al inicio, se ve en el Hero */
    transform: translateY(-20px);
}

#main-header.scrolled .logo-container {
    opacity: 1;
    transform: translateY(0);
}

.brand-logo {
    width: 100%;
    /* No invertimos el logo aquí porque el fondo será blanco */
    filter: none; 
}

/* --- LANGUAGE SWITCH --- */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1100;
    cursor: pointer;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.5;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-white);
}

#main-header.scrolled ~ .lang-switch .lang-option {
    color: #000; /* Texto negro cuando el header es blanco */
}

.lang-option:hover, .lang-option.active {
    opacity: 1;
    text-shadow: 0 0 10px var(--neon-green);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    position: relative;
    padding: 20px;
    text-align: center;
}

/* Textura de "asfalto" generada con CSS */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z' fill='%23222' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-logo {
    max-width: 80%;
    width: 500px;
    margin-bottom: 20px;
    /* Invertimos el logo negro para que sea blanco en fondo oscuro */
    filter: invert(1); 
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 5px;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
    position: relative;
    z-index: 2;
}

/* --- SEPARADORES (TEAR EFFECT) --- */
.tear-separator, .tear-separator-top {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
}
.tear-separator { bottom: -1px; z-index: 10; }
.tear-separator-top { top: -1px; transform: rotate(180deg); z-index: 10; }

/* --- BRANDS SECTION --- */
.brands-section {
    background-color: #111;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.holley-card {
    border: 1px solid #333;
    background: linear-gradient(145deg, #0a0a0a, #161616);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.holley-card:hover { transform: translateY(-5px); border-color: var(--neon-red); }

.holley-card h2 { font-size: 2.5rem; margin-bottom: 10px; }
.holley-card p { color: var(--text-gray); margin-bottom: 30px; font-size: 1.1rem; }

.holley-btn {
    display: inline-flex;
    align-items: center;
    background: var(--neon-red);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.holley-btn:hover { background: #ff3366; padding-right: 40px; }
.btn-icon { margin-left: 10px; font-size: 1.2rem; }

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--bg-black);
    padding: 100px 20px;
    position: relative;
}

.container { max-width: 800px; margin: 0 auto; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.form-group { position: relative; }

/* Inputs estilo "Material" pero agresivos */
input, textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    color: white;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus { border-color: var(--neon-green); }

label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-gray);
    pointer-events: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animación del label cuando escribes */
input:focus ~ label, input:not(:placeholder-shown) ~ label,
textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--neon-green);
}

.submit-btn {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Teko', sans-serif;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: var(--neon-green);
    color: black;
    box-shadow: 0 0 20px var(--neon-green);
}

footer {
    background: #000;
    text-align: center;
    padding: 20px;
    color: #444;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-logo { width: 300px; }
}