/* =========================================
   VARIABLES Y RESET (La base Analog)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F4F4F0; /* Blanco hueso / papel viejo */
    --text-color: #2C2C2A; /* Gris carbón cálido */
    --accent-color: #C85A17; /* Naranja óxido para detalles urgentes */
    --denim-color: #6A8A99; /* Azul Denim Vintage (guardado para el futuro) */
    --nav-bg: rgba(244, 244, 240, 0.95);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    text-align: center;
    line-height: 1.6;
}

/* Tipografía Clásica para Títulos (Recuperada) */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* =========================================
   NAVEGACIÓN (Menú Izquierda, Redes Derecha)
========================================= */
header {
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Separa los grupos a los extremos */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem; /* Espaciado entre links */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Redes en el Header */
.social-icons-header {
    display: flex;
    gap: 1.2rem;
}

.social-icons-header a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons-header a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* =========================================
   SECCIÓN INICIO (HERO)
========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

/* Preparación Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.45;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 244, 240, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
}

.logo-title {
    font-size: 3.5rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #555;
    font-family: 'Lato', sans-serif;
}

.hero-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.spotify-container {
    max-width: 600px;
    margin: 2rem auto;
}

/* Botón estilo Vintage Moderno (Recuperado) */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    border: 2px solid var(--text-color);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* =========================================
   ESTRUCTURA GENERAL (ONE-PAGER)
========================================= */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 4rem;
    border-top: 1px solid #e0e0e0;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-padding .subtitle {
    margin-bottom: 3rem;
    color: #555;
    font-style: italic;
}

/* =========================================
   SECCIÓN BIO (REVISTA)
========================================= */
.bio-top-layout {
    display: grid;
    grid-template-columns: 1fr; /* Móviles: uno abajo del otro */
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .bio-top-layout {
        grid-template-columns: 1fr 1fr; /* PC: 50% foto, 50% texto para el look revista */
        text-align: left;
    }
}

/* Nueva clase para la foto vertical */
.bio-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    min-height: 400px; 
}

.bio-bottom-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}

.epk-bio h3, .epk-assets h3, .epk-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.epk-bio p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.85rem;
}

/* Carrusel dentro de Bio (Mudado abajo) */
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.carousel-slide { display: none; width: 100%; }
.carousel-slide.active { display: block; animation: fade 0.5s ease-in-out; }
.carousel-slide img {
    width: 100%;
    height: auto; 
    max-height: 500px; 
    object-fit: contain; 
    display: block;
}

@keyframes fade { from { opacity: 0.4 } to { opacity: 1 } }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5); color: white; border: none;
    padding: 16px; font-size: 18px; cursor: pointer; transition: 0.3s;
}
.carousel-btn:hover { background-color: var(--accent-color); }
.carousel-btn.prev { left: 0; border-radius: 0 4px 4px 0; }
.carousel-btn.next { right: 0; border-radius: 4px 0 0 4px; }

/* Botones de Descarga RESTAURADOS A NARANJA */
.asset-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

.asset-name { font-weight: 700; }

.btn-download {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--accent-color); /* Vuelve al naranja */
    color: #fff;
    padding: 6px 15px;
    border-radius: 2px;
    transition: 0.3s;
}

.btn-download:hover { background-color: var(--text-color); }

/* Recuadro Contacto RESTAURADO A GRIS CLARO */
.epk-contact {
    text-align: center;
    background-color: #e9e9e4; /* Vuelve al gris clarito */
    padding: 2rem;
    border-radius: 4px;
}

.contact-email {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
}

.contact-email:hover { color: var(--accent-color); }

/* =========================================
   SECCIÓN DISCOGRAFÍA & TIRA DE PELÍCULA
========================================= */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.music-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    
    /* MAGIA PARA IGUALAR ALTURAS */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.music-card:hover { transform: translateY(-5px); }

.album-cover {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: 2px; margin-bottom: 1.5rem; border: 1px solid #eee;
}

.song-title { 
    font-size: 1.3rem; 
    margin-bottom: 0.3rem; 
    letter-spacing: 1px; 
    color: var(--text-color); /* Vuelve al gris carbón */
}

.song-type { font-size: 0.85rem; color: #888; margin-bottom: 1.5rem; font-style: italic; }

.music-links { 
    display: flex; 
    flex-direction: column; 
    gap: 0.8rem; 
    margin-top: auto; /* EMPUJA LOS BOTONES AL FONDO */
}

.btn-listen {
    display: block; padding: 10px; background-color: var(--text-color);
    color: var(--bg-color); text-decoration: none; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1px; border-radius: 2px; transition: 0.3s;
}
.btn-listen:hover { background-color: var(--accent-color); color: #fff; }

.btn-lyrics {
    display: block; padding: 10px; color: var(--text-color);
    text-decoration: underline; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s;
}
.btn-lyrics:hover { color: var(--accent-color); }

/* La .filmstrip-container fue eliminada para optimizar la carga */

/* =========================================
   SECCIÓN FECHAS & SUSCRIPCIÓN
========================================= */
.tour-list {
    display: flex; flex-direction: column; gap: 1.5rem;
    text-align: left;
}

.tour-item {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    padding: 1.5rem 0; border-bottom: 1px solid #ddd;
}
.tour-item.past { opacity: 0.6; }
.tour-date { flex: 1; font-weight: 700; font-size: 1.1rem; min-width: 120px; color: var(--accent-color); }
.tour-venue { flex: 2; font-size: 1.1rem; min-width: 200px; font-weight: bold;}
.tour-location { flex: 1; color: #555; min-width: 150px; }
.tour-action { flex: 1; text-align: right; min-width: 120px; }

.btn-secondary {
    display: inline-block; padding: 8px 20px; border: 1px solid var(--text-color);
    color: var(--text-color); text-decoration: none; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.btn-secondary:hover { background-color: var(--text-color); color: var(--bg-color); }
.status-text { font-size: 0.9rem; font-style: italic; color: #888; }

/* Banner Suscripción */
.subscribe-banner {
    background-color: #fff; border: 1px solid #eee; padding: 2.5rem 2rem;
    margin-top: 4rem; border-radius: 4px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.subscribe-banner h3 { font-size: 1.5rem; color: var(--accent-color); margin-bottom: 0.5rem; }
.subscribe-banner p { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; }
.subscribe-form { display: flex; justify-content: center; gap: 0.5rem; max-width: 400px; margin: 0 auto; flex-wrap: wrap; }
.subscribe-form input { flex: 1; padding: 10px 15px; border: 1px solid #ccc; border-radius: 2px; font-family: inherit; min-width: 200px; }
.subscribe-form button { border: none; cursor: pointer; }

/* =========================================
   FOOTER
========================================= */
footer {
    padding: 3rem 0;
    font-size: 0.8rem;
    color: #777;
    margin-top: 2rem;
}

.social-icons-footer {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 0.8rem;
}
.social-icons-footer a { color: #999; font-size: 1.1rem; transition: all 0.3s ease; }
.social-icons-footer a:hover { color: var(--accent-color); }

/* =========================================
   RESPONSIVO (Celulares)
========================================= */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .social-icons-header { margin-right: 0; }
    .tour-item { flex-direction: column; text-align: center; gap: 10px; }
    .tour-date, .tour-venue, .tour-location, .tour-action { width: 100%; text-align: center; }
    
    /* --- AJUSTES PARA CELULAR --- */
    .logo-title { 
        font-size: 2.2rem; 
        letter-spacing: 2px; 
    }
    
    .hero-section { 
        padding-top: 150px; 
    }
}