/* --- 1. RESET Y CONFIGURACIÓN GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
}

html, body {
    width: 100%;
    /* height: 100%; Removed to fix scroll behavior */
    background: rgba(0, 0, 0, 0.8);/* Color base oscuro */
    color: #f2f2f2;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- 2. NAVEGACIÓN (METAL NAVBAR) --- */
.metal-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 30px; 
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 60px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: all 0.4s ease-in-out; /* Suaviza el cambio de tamaño y color */
}

/* Estado cuando se hace scroll (Activado por JS) */
.metal-navbar.scrolled {
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); /* Sombra más oscura */
}

.metal-navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.metal-navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.metal-navbar a:hover, 
.active a {
    color: #ff0000;
}

.nav-logo img {
    height: 100px;
    transition: height 0.4s ease; /* Para que el logo también reduzca su tamaño */
}

.metal-navbar.scrolled .nav-logo img {
    height: 60px; /* Tamaño del logo al hacer scroll */
}

/* --- 3. SECCIÓN HERO (INICIO) --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Imagen de fondo corregida */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url("../img/Portada.png");
    background-size: cover;      /* Obliga a la imagen a cubrir todo el fondo */
    background-position: center; /* Centra la imagen para que no se vea en una esquina */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto Parallax (opcional) */
}

.hero-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    max-width: 90%;
    border: 1px solid rgba(255, 0, 0, 0.1); /* Borde sutil estilo metal */
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.hero-logo {
    /* El logo ocupará el 30% del ancho de su contenedor */
    width: 30%; 
    height: auto; /* Mantiene la proporción original */
    margin-bottom: 20px; /* Espacio entre el logo y el texto */
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); /* Opcional: da profundidad */
}
.hero-content1 {
    text-align: center;
    width: 100%;
}

/* --- 4. BOTONES Y COMPONENTES --- */
.btn {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 12px 35px;
    background: #dc143c; /* Crimson */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* --- 5. SECCIONES GENERALES --- */
.section {
    padding: 80px 25%;
}
.section p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.video-grid iframe {
    width: 100%;
    height: 250px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- 6. FOOTER Y SOCIALS --- */
footer {
    text-align: center;
    padding: 40px;
    background: #000;
    border-top: 1px solid #1a1a1a;
}

#contacto .subscribe{
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    font-size: 2.8rem;
}
input {
    width: 100%;
    height: 12px;
    margin: 0.5em;
    padding: 1em;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    font-family: inherit;
    font-size: 15px;
    line-height: normal;
    outline: none; 
}


.socials a {
    margin: 0 15px;
    color: #dc143c;
    text-decoration: none;
    font-size: 2.0rem;
}

.socials a:hover {
    color: #fff;
}

/* --- 7. RESPONSIVE DESIGN --- */

@media (max-width: 768px) {
    /* Ajuste del Navbar */
    .metal-navbar {
        flex-direction: column; /* Apila el logo y los menús */
        gap: 1px;
        padding: 15px;
    }

    .metal-navbar ul {
        gap: 15px;
    }

    .metal-navbar a {
        font-size: 11px; /* Texto más pequeño para que quepa */
        letter-spacing: 1px;
    }

    .nav-logo img {
        height: 60px; /* Logo más pequeño en móvil */
    }

    /* Ajuste de la Sección Hero */
    .hero h1 {
        font-size: 2.8rem; /* Título más pequeño para que no se corte */
    }

    .hero-content {
        padding: 30px 20px;
        width: 95%;
    }

    /* Ajuste de Secciones y Videos */
    .section {
        padding: 60px 5%; /* Menos margen lateral */
    }

    .video-grid {
        grid-template-columns: 1fr; /* Un video por fila */
    }
    justify-content: center; 
    gap: 60px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: all 0.4s ease-in-out; /* Suaviza el cambio de tamaño y color */
}

/* Estado cuando se hace scroll (Activado por JS) */
.metal-navbar.scrolled {
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); /* Sombra más oscura */
}
.metal-navbar.scrolled {
    padding: 15px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); /* Sombra más oscura */
}

.metal-navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.metal-navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.metal-navbar a:hover, 
.active a {
    color: #ff0000;
}

.nav-logo img {
    height: 100px;
    transition: height 0.4s ease; /* Para que el logo también reduzca su tamaño */
}

.metal-navbar.scrolled .nav-logo img {
    height: 60px; /* Tamaño del logo al hacer scroll */
}

/* --- 3. SECCIÓN HERO (INICIO) --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Imagen de fondo corregida */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url("../img/Portada.png");
    background-size: cover;      /* Obliga a la imagen a cubrir todo el fondo */
    background-position: center; /* Centra la imagen para que no se vea en una esquina */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto Parallax (opcional) */
}

.hero-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    max-width: 90%;
    border: 1px solid rgba(255, 0, 0, 0.1); /* Borde sutil estilo metal */
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* --- 4. BOTONES Y COMPONENTES --- */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: #dc143c; /* Crimson */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* --- 5. SECCIONES GENERALES --- */
.section {
    padding: 80px 25%;
}
.section p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.video-grid iframe {
    width: 100%;
    height: 250px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- 6. FOOTER Y SOCIALS --- */
footer {
    text-align: center;
    padding: 40px;
    background: #000;
    border-top: 1px solid #1a1a1a;
}

#contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 2.8rem;
}
input {
       width: 100%;
    padding: 1em;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    font-family: inherit;
    font-size: 15px;
    line-height: normal;
    outline: none; 
}


.socials a {
    margin: 0 15px;
    color: #dc143c;
    text-decoration: none;
    font-size: 2.0rem;
}

.socials a:hover {
    color: #fff;
}

/* --- 7. RESPONSIVE DESIGN --- */

@media (max-width: 768px) {
    /* Ajuste del Navbar */
    .metal-navbar {
        flex-direction: column; /* Apila el logo y los menús */
        gap: 1px;
        padding: 15px;
    }

    .metal-navbar ul {
        gap: 15px;
    }

    .metal-navbar a {
        font-size: 11px; /* Texto más pequeño para que quepa */
        letter-spacing: 1px;
    }

    .metal-navbar.scrolled .nav-logo img {
    height: 40px; /* Tamaño del logo al hacer scroll */
    }

    .nav-logo img {
        height: 40px; /* Logo más pequeño en móvil */
    }

    /* Ajuste de la Sección Hero */
    .hero h1 {
        font-size: 2.8rem; /* Título más pequeño para que no se corte */
    }
        .hero-logo {
        /* El logo ocupará el 30% del ancho de su contenedor */
        width: 50%; 
        height: auto; /* Mantiene la proporción original */
        margin-bottom: 20px; /* Espacio entre el logo y el texto */
        filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); /* Opcional: da profundidad */
    }

    .hero-content {
        padding: 30px 20px;
        width: 95%;
    }

    /* Ajuste de Secciones y Videos */
    .section {
        padding: 60px 5%; /* Menos margen lateral */
    }

    .video-grid {
        grid-template-columns: 1fr; /* Un video por fila */
    }

    .album iframe {
        height: 160px; /* Ajuste de altura para reproductores de Spotify */
    }

    /* Formulario de contacto */
    .subscribe {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        flex-wrap: wrap;
    }

    .subscribe input {
        width: 200px; /* Override generic 100% */
        padding: 12px 20px;
        border: 2px solid #dc143c;
        background: #000;
        color: #fff;
        font-family: 'Oswald', sans-serif;
        letter-spacing: 1px;
        margin-left: 5%; /* Remove default margins */
        margin-right: 15%;
    }

    .subscribe input::placeholder {
        color: #888;
    }

    .subscribe .btn {
        padding: 12px 30px;
        background: #dc143c;
        border: 2px solid #dc143c;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 5%; /* Remove default margins */
        margin-right: 15%;/
    }

    .subscribe .btn:hover {
        background: #000;
        color: #dc143c;
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.6);
    }
    .btn {
        margin-top: 10px;
        margin-bottom: 10px;
        display: inline-block;
        padding: 12px 35px;
        background: #dc143c; /* Crimson */
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
}

/* Botón con estilo Crimson */
.btn-album {
    display: inline-block;
    padding: 12px 35px;
    background: #dc143c; /* Crimson */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-album:hover {
    background: #a10f2d;
    transform: scale(1.05);
}

/* El Modal (Fondo oscuro) */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Contenido del Modal (Fondo Negro, Letras Blancas) */
.modal-content {
    background-color: #111;
    color: #fff;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #dc143c; /* Borde Crimson para combinar */
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #dc143c;
}

/* Gallery Styles */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item {
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(40%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.photo-item:hover {
    border-color: #ff4444; /* Rojo Vulgar */
}

.photo-item img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Ajuste para que el menú Gallery lleve a las fotos */
html {
    scroll-behavior: smooth;
}