/* --- VARIABLES GLOBALES Y RESET --- */
:root {
    --color-black: #080808;
    --color-dark-grey: #121212;
    --color-concrete: #1a1a1a;
    --color-yellow-neon: #F4E603;
    --color-text-light: #f0f0f0;
    --color-text-grey: #a0a0a0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    
    --section-spacing: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- UTILIDADES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -2px;
}

/* Efectos de Neón */
.neon-text {
    color: var(--color-text-light);
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.3), 0 0 15px rgba(255, 255, 0, 0.2);
}

.neon-dot {
    color: var(--color-yellow-neon);
    text-shadow: 0 0 10px var(--color-yellow-neon), 0 0 20px var(--color-yellow-neon);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-yellow-neon);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-yellow-neon);
    color: var(--color-black);
    
    filter: brightness(1.15); 
    
    box-shadow: 0 0 20px var(--color-yellow-neon);
    
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

.btn-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-black);
}

.neon-box {
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
}

.btn-nav {
    background-color: var(--color-yellow-neon);
    color: var(--color-black) !important;
    padding: 0.5rem 1rem;
    border-radius: 2px;
}

/* Texturas Industriales */
.industrial-texture {
    background-color: var(--color-concrete);
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 10px);
}

.industrial-texture-dark {
    background-color: var(--color-dark-grey);
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.8) 100%);
}

/* --- ANIMACIONES ON SCROLL (NUEVO) --- */
/* Estado inicial de los bloques animados */
.animate-block {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* Tipo de animación: Fade Up (aparece desde abajo) */
.fade-up {
    transform: translateY(40px);
}

/* Tipo de animación: Fade In (solo opacidad) */
.fade-in {
    transform: translateY(0);
}

/* Estado final cuando es visible (activado por JS) */
.animate-block.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- NAVBAR --- */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 0, 0.05);
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-yellow-neon);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text-light);
}

/* --- SECCIÓN 1: HERO --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.9) 100%);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    /* Retraso en la animación del hero para que cargue primero */
    transition-delay: 0.2s; 
}

/* NUEVO: Estilo para el logo grande central */
.hero-logo {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.main-slogan {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.subtitle {
    font-family: var(--font-body);
    color: var(--color-yellow-neon);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- SECCIÓN 2: MANIFIESTO --- */
#manifiesto {
    padding: var(--section-spacing) 0;
}

.lead-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
    font-weight: 700;
}

#manifiesto p {
    margin-bottom: 1.5rem;
    color: var(--color-text-grey);
    font-size: 1.05rem;
}

.highlight-text {
    color: var(--color-yellow-neon) !important;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 2.5rem;
    border-left: 3px solid var(--color-yellow-neon);
    padding-left: 15px;
}

/* --- SECCIÓN 3: VIBRA (Galería) --- */
#vibra {
    padding: var(--section-spacing) 0;
    border-top: 1px solid rgba(255, 255, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 0, 0.05);
    background: #0a0a0a;
}

.gallery-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroller::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 500px;
    height: 350px;
    scroll-snap-align: center;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #222;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(110%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
}

/* --- SECCIÓN 4: MENU --- */
#menu {
    padding: var(--section-spacing) 0;
}

.menu-grid {
    display: grid;
    /* Ajustado a 250px para que encajen mejor 4 elementos */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem;
}

.menu-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    transition: all 0.3s;
}

.menu-card:hover {
    border-color: var(--color-yellow-neon);
    transform: translateY(-5px);
}

.menu-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.7);
}

.menu-content {
    padding: 1.5rem;
}

.menu-content h3 {
    color: #ffffff; /* Letras blancas */
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-content h3 span {
    color: var(--color-yellow-neon); 
}

.menu-content p {
    color: var(--color-text-grey);
    font-size: 0.9rem;

}

/* --- SECCIÓN 5: CONTACTO --- */
#contacto {
    padding: var(--section-spacing) 20px;
    background-color: #050505;
    position: relative;
}

.contact-wrapper {
    border: 2px solid var(--color-yellow-neon);
    padding: 3rem;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.15);
    background: rgba(8,8,8,0.95);
    position: relative;
}

/* Efecto de esquina industrial en el formulario */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 30px; height: 30px;
    border-top: 2px solid var(--color-yellow-neon);
    border-left: 2px solid var(--color-yellow-neon);
}
.contact-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 30px; height: 30px;
    border-bottom: 2px solid var(--color-yellow-neon);
    border-right: 2px solid var(--color-yellow-neon);
}


.contact-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 1px;
}

.industrial-input {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0,0,0,0.5);
    border: 2px solid #333;
    color: var(--color-text-light);
    font-family: var(--font-body);
    border-radius: 0;
    outline: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.industrial-input:focus {
    border-color: var(--color-yellow-neon);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.1);
    background-color: rgba(0,0,0,0.8);
}

select.industrial-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffff00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.7-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem auto;
    color: var(--color-text-grey);
}
select.industrial-input:focus {
    color: var(--color-text-light);
}


.full-width {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    justify-content: center;
}

/* --- FOOTER --- */
footer {
    padding: 4rem 0;
    background: #020202;
    border-top: 1px solid #151515;
    text-align: center;
}

.footer-content .logo {
    font-size: 2rem;
}

.social-icons {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    color: var(--color-text-grey);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-yellow-neon);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255,255,0,0.5);
}

.copyright {
    font-size: 0.8rem;
    color: #444;
    font-family: var(--font-body);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-logo { font-size: 3.5rem; }
    .main-slogan { font-size: 2.2rem; }
    .subtitle { font-size: 0.9rem; }
    .section-title { font-size: 2rem; }
    
    .form-row { flex-direction: column; gap: 0; }
    .contact-wrapper { padding: 1.5rem; }

    /* Menú Móvil */
    .hamburger { display: block; z-index: 200; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed; left: -100%; top: 0; gap: 0;
        flex-direction: column; background-color: var(--color-black);
        width: 100%; height: 100vh; justify-content: center;
        transition: 0.3s; z-index: 150;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .nav-links a { font-size: 1.2rem; }
}

/* --- BANNER DE COOKIES --- */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Empieza oculto abajo */
    left: 0;
    width: 100%;
    background-color: var(--color-black);
    border-top: 2px solid var(--color-yellow-neon);
    padding: 20px 0;
    z-index: 1000; /* Para que quede por encima de todo */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
    transition: bottom 0.5s ease-in-out; /* Animación suave al aparecer */
}

.cookie-banner.show {
    bottom: 0; /* Sube y se muestra */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    max-width: 80%;
}

.cookie-content a {
    color: var(--color-yellow-neon);
    text-decoration: underline;
}

.btn-cookie {
    background-color: var(--color-yellow-neon);
    color: var(--color-black);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background-color: #fff; /* Blanco al pasar el ratón */
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        max-width: 100%;
    }
}

/* --- MEJORA DEL CHECKBOX LEGAL --- */
.checkbox-wrapper input[type="checkbox"] {
    /* Tamaño aumentado para dedos humanos */
    width: 24px; 
    height: 24px;
    
    /* Esta línea es MAGIA: cambia el color azul por defecto a tu amarillo */
    accent-color: var(--color-yellow-neon); 
    
    /* Separación con el texto */
    margin-right: 12px;
    cursor: pointer;
    
    /* Para que no se deforme */
    flex-shrink: 0; 
}

/* Ajuste para que el texto y el cuadrado estén centrados verticalmente */
.checkbox-wrapper {
    display: flex;
    align-items: center !important; /* Alineación perfecta al centro */
    gap: 0; /* El espacio lo controlamos con el margin del input */
    margin-bottom: 25px; /* Espacio antes del botón de enviar */
}

/* Ajuste del texto legal para que sea legible en móvil */
.checkbox-wrapper label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-grey);
    cursor: pointer; /* Para que al tocar el texto también se marque la casilla */
}