/* ============================================
   HOME PAGE STYLES
   NAUW Starter Theme
   ============================================ */

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* ============================================
   MARQUEE (inside hero)
   ============================================ */
.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background: rgba(26, 16, 20, 0.7);
    backdrop-filter: blur(4px);
    padding: 0.8rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-row {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 1.1vw, 0.95rem);
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.marquee-dot {
    font-size: 0.35rem;
    opacity: 0.5;
    padding: 0 clamp(0.4rem, 0.8vw, 1rem);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ============================================
   SECTION BASE
   ============================================ */

/* ============================================
   EVENTOS
   ============================================ */
.section-eventos {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-brown) 100%);
}
/* Gradient flow: hero(dark→red) → marquee(dark) → eventos(dark→dark-brown) → about(dark-brown→dark)
   → media(dark→red-dark) → artistas(red-dark→dark-brown) → testimonios(dark-brown→dark)
   → sponsors(dark→dark-brown) → contacto(dark-brown→red-dark) → spotify(red-dark→dark)
   → faqs(dark→dark-brown) → footer(gradient-footer) */

.eventos-carousel {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem 1rem;
    overflow: hidden;
}

.evento-card {
    background: var(--color-dark);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.evento-card-link {
    display: block;
    flex: 1;
}

.evento-card-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    margin: 0.75rem;
}

.evento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-card-image img {
    transform: scale(1.05);
}

.evento-card-placeholder {
    background: var(--gradient-hero);
    width: 100%;
    height: 100%;
}

.evento-card-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.date-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.date-value {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.evento-card-info {
    padding: 1rem 1.25rem 0.5rem;
}

.evento-card-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.evento-card .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0.75rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    width: auto;
    overflow: visible;
}

.evento-card--disabled {
    opacity: 0.6;
    cursor: default;
}

.evento-card--disabled .evento-card-link {
    cursor: default;
}

.evento-card--disabled .evento-card-image img {
    filter: grayscale(30%);
}

.evento-card .btn-disabled {
    opacity: 0.7;
    cursor: default;
}

/* Swiper overrides eventos */
#eventos-swiper {
    overflow: hidden;
}


#eventos-swiper .swiper-slide {
    height: auto;
}

#eventos-swiper .swiper-button-prev,
#eventos-swiper .swiper-button-next {
    color: var(--color-white);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#eventos-swiper .swiper-button-prev::after,
#eventos-swiper .swiper-button-next::after {
    font-size: 16px;
}

#eventos-swiper .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.4;
}

#eventos-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ============================================
   ABOUT
   ============================================ */
.section-about {
    padding: 0;
    background: linear-gradient(180deg, var(--color-dark-brown) 0%, var(--color-dark) 100%);
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.about-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-title-display {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: normal;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.about-content .btn {
    margin-top: 1.5rem;
}

/* ============================================
   VIDEO / MEDIA
   ============================================ */
.section-media {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-red-dark) 100%);
}

.section-media .section-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-desc {
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-dark-brown);
    cursor: pointer;
}

.video-wrapper-full {
    max-height: none;
}

.video-poster {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--gradient-hero);
    transition: opacity 0.4s ease;
    z-index: 2;
}

.video-wrapper.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn svg circle {
    transition: fill 0.3s ease;
}

.video-play-btn:hover svg circle {
    fill: rgba(255, 255, 255, 0.15);
}

.video-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.aftermovie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile/Desktop video switching */
.aftermovie-mobile {
    display: none;
}

@media (max-width: 768px) {
    .aftermovie-desktop {
        display: none;
    }
    .aftermovie-mobile {
        display: block;
    }
    #aftermovie {
        aspect-ratio: 9 / 16;
    }
}

/* ============================================
   ARTISTAS
   ============================================ */
.section-artistas {
    padding: 3rem 0 3.5rem;
    background: linear-gradient(180deg, var(--color-red-dark) 0%, var(--color-dark-brown) 100%);
}

.artistas-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-artistas .section-desc {
    margin-bottom: 1.5rem;
}

.artistas-carousel {
    padding: 0 2rem 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Swiper overrides artistas */
#artistas-swiper .swiper-slide {
    width: 260px;
}

#artistas-swiper .swiper-button-prev,
#artistas-swiper .swiper-button-next {
    color: var(--color-white);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#artistas-swiper .swiper-button-prev::after,
#artistas-swiper .swiper-button-next::after {
    font-size: 16px;
}

/* Ver todos los artistas */
.artistas-ver-todos {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.artistas-ver-todos:hover {
    opacity: 1;
}

.artistas-ver-todos span {
    transition: transform 0.3s ease;
}

.artistas-ver-todos:hover span {
    transform: translateX(3px);
}

/* ============================================
   NAUW OR NEVER BAND
   ============================================ */
.section-nauw-band {
    background: rgba(26, 16, 20, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem 0;
    margin-top: -1px;
    overflow: hidden;
    max-width: 100vw;
}

.nauw-band-track {
    display: flex;
    width: max-content;
    animation: nauw-band-scroll 40s linear infinite;
}

.nauw-band-track:hover {
    animation-play-state: paused;
}

.nauw-band-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nauw-band-item {
    font-family: var(--font-body);
    font-size: clamp(5rem, 11vw, 9rem);
    font-weight: 100;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1;
}

.nauw-band-dot {
    font-size: 2rem;
    color: var(--color-white);
    opacity: 0.2;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

@keyframes nauw-band-scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ============================================
   SPOTIFY PLAYLIST
   ============================================ */
.section-spotify {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, var(--color-red-dark) 0%, var(--color-dark) 100%);
}

.spotify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spotify-content .section-title {
    margin-bottom: 1.5rem;
}

.spotify-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.75;
    margin-bottom: 2.5rem;
}

.spotify-content .btn {
    max-width: 260px;
    font-size: 0.9rem;
}

.spotify-embed {
    border-radius: 12px;
    overflow: hidden;
}

.spotify-embed iframe {
    display: block;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.section-testimonios {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--color-dark-brown) 0%, var(--color-dark) 100%);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Columna izquierda: Testimonios */
.testimonios-content-col {
    min-width: 0;
}

.testimonios-content-col .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.testimonios-content-col .testimonios-carousel {
    width: 100%;
    overflow: hidden;
}

/* Columna derecha: Imagen */
.testimonios-img-col {
    overflow: hidden;
}

.testimonios-img-col img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 55%;
    border-radius: 8px;
}

/* ============================================
   SPONSORS
   ============================================ */
.section-sponsors {
    padding: 2.5rem 0 7rem;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-brown) 100%);
}

.section-sponsors .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sponsors-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 200px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.sponsor-item:hover {
    filter: none;
    opacity: 1;
}

.sponsor-item img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    display: block;
    text-align: left;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.testimonial-footer {
    text-align: left;
}

.testimonial-author {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: normal;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.7;
}

#testimonios-swiper .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.4;
}

#testimonios-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

#testimonios-swiper .swiper-pagination {
    margin-top: 1.5rem;
    position: relative;
}

/* ============================================
   FAQs
   ============================================ */
.section-faqs {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-brown) 100%);
}

.section-faqs .section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.faqs-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    list-style: none;
    gap: 1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 800px;
}

/* ============================================
   CONTACTO / FORMULARIO
   ============================================ */
.section-contacto {
    padding: 7.5rem 0 3rem;
    background: linear-gradient(180deg, var(--color-dark-brown) 0%, var(--color-red-dark) 100%);
}

.contacto-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 4rem 3rem;
    background: var(--color-red);
    max-width: 900px;
    margin: 0 auto;
}

.contacto-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 100;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contacto-title em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 400;
}

/* Tabs */
.form-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.form-tab {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    background: transparent;
    transition: var(--transition);
}

.form-tab.active {
    background: var(--color-white);
    color: var(--color-red);
}

.form-tab:hover {
    opacity: 0.8;
}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #fbbf24;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Testimonios responsive */
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonios-img-col img {
        aspect-ratio: 4/3;
    }

    /* Spotify responsive */
    .spotify-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

}

@media (max-width: 768px) {
    /* Hero mobile */
    .hero {
        height: 88vh;
        min-height: 400px;
    }

    /* Eventos mobile */
    #eventos-swiper .swiper-slide {
        width: 300px;
    }

    /* Artistas mobile */
    #artistas-swiper .swiper-slide {
        width: 250px;
    }

    /* Form mobile */
    .contacto-box {
        padding: 2.5rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Sponsors mobile — single row */
    .sponsors-grid {
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .sponsor-item {
        flex: 1 1 0;
    }

    .sponsor-item img {
        height: 40px;
        max-width: 110px;
    }

    /* Testimonios mobile */
    .section-testimonios {
        margin-top: -1px;
        padding-top: 2rem;
    }

    /* Spotify mobile */
    .section-spotify {
        padding-top: 3.5rem;
    }

    /* Testimonios mobile — centered */
    .testimonial-quote,
    .testimonial-text,
    .testimonial-footer {
        text-align: center;
    }

    .testimonios-content-col .section-title {
        text-align: center;
    }
}

/* ============================================
   REDUCED MOTION (accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
    .nauw-band-track {
        animation: none;
    }
}
