/* ===========================
   VARIABLES Y ESTILOS BASE
   =========================== */

:root {
    --color-primary: #FF1744;
    --color-dark: #1a1a1a;
    --color-light: #ffffff;
    --color-gray: #333333;
    --color-gray-light: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: var(--color-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER / NAVBAR
   =========================== */

.navbar {
    background: var(--color-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(255, 23, 68, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    background-color: transparent;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f1f 100%);
    background-image: url('assets/fondos/Fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.7);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: var(--color-light);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInDown 1s ease;
}

.hero-content h3 {
    font-size: 5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-style: normal;
    margin-bottom: 1rem;
    color: var(--color-light);
    font-weight: 900;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}


/* Modal de cartel */
.cartel-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2100;
}

.cartel-modal .modal-content {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 90vh;
}

.cartel-modal img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cartel-modal .close-cartel {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border: 0;
    line-height: 1;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2100;
}

.gallery-modal .modal-content {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 90vh;
}

.gallery-modal img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.gallery-modal .close-gallery {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #f44748;
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}

.btn-secondary:hover {
    background: var(--color-light);
    color: var(--color-dark);
    transform: translateX(-5px);
}

.btn-submit {
    width: 100%;
    margin-top: 1.5rem;
}

/* ===========================
   SECCIONES GENERALES
   =========================== */

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===========================
   SECCIÓN CARTELES
   =========================== */

.carteles {
    background: #2f2f2f;
}

.carteles .section-title {
    color: var(--color-light);
}

.carteles .section-subtitle {
    color: #c7c7c7;
}

.carteles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cartel-item {
    background: var(--color-gray-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cartel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.2);
}

.cartel-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.cartel-item:hover img {
    transform: scale(1.05);
}

.cartel-info {
    padding: 1.5rem;
}

.cartel-info h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.cartel-info p {
    color: #666;
    font-size: 0.95rem;
}

/* ===========================
   SECCIÓN MÚSICA
   =========================== */

.musica {
    background: var(--color-dark);
    color: var(--color-light);
}

.musica .section-title {
    color: var(--color-light);
}

.musica .section-subtitle {
    color: #ccc;
}

.musica-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cancion-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.cancion-card:hover {
    background: rgba(255, 23, 68, 0.1);
    transform: translateY(-5px);
}

.cartel-musica {
    margin-bottom: 1.5rem;
}

.cartel-musica img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid var(--color-primary);
}

.cancion-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--color-primary);
}

.cancion-card .feat {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.cancion-card .descripcion {
    color: #ddd;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.plataformas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid;
}

.platform-btn span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-btn.spotify {
    background: #1DB954;
    color: white;
    border-color: #1DB954;
}

.platform-btn.spotify:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(29, 185, 84, 0.4);
}

.platform-btn.apple {
    background: #000;
    color: white;
    border-color: #555;
}

.platform-btn.apple:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.platform-btn.youtube {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
}

.platform-btn.youtube:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

/* enlace EP dentro de canciones */
.ep-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 700;
}
.ep-link:hover {
    opacity: 0.8;
}

/* Estilo especial para canción destacada */
.featured-song {
    border: 3px solid #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(46, 204, 113, 0.02) 100%);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
    transform: scale(1.02);
}

.featured-song h4 {
    color: #2ecc71;
    text-transform: uppercase;
    font-weight: 900;
}

.featured-song .feat {
    color: #2ecc71;
    font-weight: 700;
}

/* ===========================
   SECCIÓN VIDEOS
   =========================== */

.videos {
    background: #242424;
    padding: 4rem 0;
}

.videos .section-title {
    color: var(--color-light);
}

.videos .section-subtitle {
    color: #ccc;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4);
}

.video-item iframe {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* ===========================
   SECCIÓN FOTOS
   =========================== */

.fotos {
    background: #3a3a3a;
}

.fotos .section-title {
    color: var(--color-light);
}

.fotos .section-subtitle {
    color: #d0d0d0;
}

.fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.foto-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.foto-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.foto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 23, 68, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.foto-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.foto-item:hover img {
    transform: scale(1.1);
}

.foto-item:hover .foto-overlay {
    opacity: 1;
}

/* ===========================
   SECCIÓN CLUB DE FANS
   =========================== */

.club {
    background: linear-gradient(135deg, #2d1f1f 0%, #1a1a1a 100%);
    color: var(--color-light);
}

.club .section-title {
    color: var(--color-light);
}

.club-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.club-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.red-line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin-bottom: 1.5rem;
}

.club-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.8rem 0;
    font-size: 1rem;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 23, 68, 0.2);
    transition: var(--transition);
}

.benefits-list li:hover {
    padding-left: 1rem;
    color: var(--color-primary);
}

.club-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
}

.club-form h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 4px;
    color: var(--color-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: #999;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    border-color: var(--color-primary);
    background: rgba(255, 23, 68, 0.1);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem 0;
}

.form-group.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-group.checkbox label {
    cursor: pointer;
    color: #ccc;
}

.form-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
}

/* ===========================
   DOCUMENTACIÓN
   =========================== */

.documentacion {
    background: #e8e8e0;
    padding: 4rem 0;
}

.documentacion .section-title {
    color: var(--color-dark);
}

.documentacion .section-subtitle {
    color: #666;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.doc-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.doc-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.doc-card .btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--color-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links,
.platform-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.platform-links {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
}

.social-links a,
.platform-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.2rem;
}

.social-links a:hover,
.platform-links a:hover {
    color: var(--color-primary);
}

.social-links .instagram-link {
    width: 56px;
    height: 56px;
    font-size: 2rem;
    color: #fff;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 6px 18px rgba(214, 36, 159, 0.45);
}

.social-links .instagram-link:hover {
    color: #fff;
    transform: scale(1.08);
}

.platform-links .platform-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #fff;
}

.platform-links .spotify-icon {
    background: #1db954;
}

.platform-links .apple-icon {
    background: #000;
}

.platform-links .youtube-icon {
    background: #ff0000;
}

.platform-links .platform-icon:hover {
    color: #fff;
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 23, 68, 0.2);
    color: #999;
}

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        gap: 1.5rem;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h3 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .club-content {
        grid-template-columns: 1fr;
    }

    .carteles-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .musica-grid {
        grid-template-columns: 1fr;
    }

    .fotos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .club-text h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .hero-content h3 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .club-form {
        padding: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }
}
