/*
 * Styling for the Bia Vasconcelos landing page.
 *
 * The design embraces a dark, modern palette with vibrant accent colours
 * drawn from the band's own logo. Sections alternate between slightly
 * different shades to create subtle contrast without overwhelming the
 * viewer. The layout is fully responsive, using flexible grids and
 * utilities to adapt gracefully to any screen size.
 */

/* CSS reset and box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: #f4f4f4;
    background-color: #0f0d13;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
}

p {
    margin-bottom: 1rem;
    color: #d4d4d4;
    font-weight: 300;
}

/* Container utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Hero section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%),
                linear-gradient(135deg, rgba(192,7,98,0.5) 0%, rgba(255,72,0,0.3) 100%);
    z-index: 0;
}

#hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

#hero .event-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem auto;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #e12e8b 0%, #b3117e 50%, #8f0a66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.event-details {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e8e8e8;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #e12e8b 0%, #b3117e 100%);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}
.cta-button:hover {
    background: linear-gradient(90deg, #b3117e 0%, #e12e8b 100%);
}

/* Section styling */
.section {
    padding: 4rem 0;
}

.dark-section {
    background-color: #15121b;
}

.light-section {
    background-color: #1d1a25;
}

/* About section layout */
.about-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    overflow: hidden;
    isolation: isolate;
}

.about-carousel-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.14;
    filter: grayscale(1) brightness(0.45) blur(2px);
    pointer-events: none;
    overflow: hidden;
}

.about-image,
.about-text {
    flex: 1 1 300px;
    position: relative;
    z-index: 1;
}

.about-image {
    aspect-ratio: 3 / 4;
    max-height: 660px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.04), rgba(0,0,0,0.4));
}

.about-carousel-window {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.about-carousel-window::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(15,13,19,0.9) 0%, rgba(15,13,19,0.05) 18%, rgba(15,13,19,0.05) 82%, rgba(15,13,19,0.9) 100%);
}

.about-carousel-track {
    --slide-count: 5;
    display: flex;
    height: 100%;
    animation: aboutCarouselSlide 50s linear infinite;
    will-change: transform;
}

.about-carousel-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

@keyframes aboutCarouselSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% * var(--slide-count)));
    }
}

.about-text h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.about-text p + p {
    margin-top: 1rem;
}

/* Map section */
#mapa h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.map-instruction {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #b8b6c1;
}

.iframe-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
	height: 900px;
    padding-bottom: 60%; /* maintain aspect ratio */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sponsors */
#sponsors h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.sponsor-logos img {
    max-height: 80px;
    height: auto;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

.sponsor-logos img.ws {
    max-height: 100px;
    height: auto;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

.decorative-icons {
    text-align: center;
}
.decorative-icons img {
    max-width: 300px;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Footer */
footer {
    background-color: #0d0b10;
    padding: 2rem 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Fade-in animation for sections */
.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    #hero h1 {
        font-size: 2.4rem;
    }
    .about-container {
        flex-direction: column;
    }
    .about-image, .about-text {
        flex: 1 1 100%;
    }
    .about-image {
        margin-bottom: 2rem;
        aspect-ratio: 2 / 3;
        min-height: 300px;
    }
    .container {
        width: 92%;
    }
    .about-carousel-track {
        animation-duration: 36s;
    }
}
