/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
    --color-background: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-text: #e0e0e0;
    --color-heading: #ffffff;
    --color-accent: #9b59b6;
    --font-main: 'Montserrat', sans-serif;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--color-heading);
    font-weight: 700;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-heading);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

/* --- CABEÇALHO (HEADER) --- */
.main-header {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-surface);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.band-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-heading);
}

.band-logo:hover {
    color: var(--color-accent);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--color-heading);
    border-bottom-color: var(--color-accent);
}

.main-nav a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* --- SEÇÃO HERO E EFEITO BLUR --- */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-image-placeholder {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(10,10,10,0.9)), url('img/banda_toda.jpg') no-repeat center center/cover;
    z-index: -1;
    transition: filter 0.1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-cta {
    background-color: var(--color-accent);
    color: var(--color-heading);
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: var(--color-heading);
    color: var(--color-background);
    transform: scale(1.05);
}

/* --- CONTEÚDO DA PÁGINA --- */
.page-content {
    padding: 80px 20px;
}

.section-block {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

/* --- GRID DE NOTÍCIAS --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: var(--color-surface);
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.news-image-placeholder {
    height: 250px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
}

/* --- BOTÃO SECUNDÁRIO --- */
.btn-secondary {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-heading);
}

/* --- RODAPÉ (FOOTER) --- */
.main-footer {
    background-color: var(--color-surface);
    padding: 40px 0;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links a {
    margin: 0 15px;
    color: var(--color-text);
    font-weight: 700;
}

/* --- ESTILOS PÁGINA SOBRE --- */
.page-title-section {
    padding-top: 150px;
    padding-bottom: 50px;
    background-color: var(--color-surface);
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
}

.page-title-section h1 {
    font-size: 3rem;
    font-weight: 900;
}

.left-aligned {
    text-align: left;
}
.left-aligned::after {
    left: 0;
    transform: translateX(0);
}

.about-flex-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex-basis: 40%;
    min-width: 300px;
}

.about-text {
    flex-basis: 60%;
}

.about-text p {
    margin-bottom: 20px;
}

.member-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: 40px;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.6s;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FOTO DO SLIDER CRAVADA EM 300x300 */
.slide-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto 30px auto;
}

.slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
}

.slide-info h3 {
    font-size: 2rem;
    font-weight: 900;
}

.slide-info .member-role {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* BOTÕES DO SLIDER CRAVADOS NO MEIO DA FOTO */
.slider-btn {
    position: absolute;
    top: 190px; /* 40px de padding + 150px (metade da foto) = Nunca vai sair do lugar! */
    transform: translateY(-50%);
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid #444;
    color: var(--color-heading);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--color-accent);
}

#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background-color: var(--color-surface);
    border: 1px solid #2a2a2a;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}

.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-heading);
}

.contact-card p {
    margin-bottom: 20px;
}

.contact-card a {
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- ESTILOS PÁGINA LANÇAMENTOS --- */
.featured-release {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--color-surface);
    padding: 40px;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
}

.featured-release-cover {
    flex-basis: 40%;
    min-width: 300px;
}
.featured-release-cover img {
    border-radius: 5px;
}

.featured-release-player {
    flex-basis: 60%;
}

.featured-release-player h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.featured-release-player p {
    color: #888;
    margin-bottom: 20px;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.release-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.release-cover {
    transition: transform 0.4s ease;
}

.release-item:hover .release-cover {
    transform: scale(1.1);
}

.release-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-heading);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.release-item:hover .release-info {
    transform: translateY(0);
}

.release-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.release-year {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.btn-listen {
    background-color: var(--color-accent);
    color: var(--color-heading);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.release-item:hover .btn-listen {
    opacity: 1;
}

/* --- ESTILOS PÁGINA MERCH E PRODUTO --- */
.store-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--color-surface);
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-heading);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    height: 320px; 
    background-color: var(--color-surface); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image,
.product-image-hover {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    transition: opacity 0.4s ease;
    position: absolute; 
    top: 0;
    left: 0;
}

.product-image-hover {
    opacity: 0;
}

.product-card:hover .product-image {
    opacity: 0;
}

.product-card:hover .product-image-hover {
    opacity: 1;
}

.product-info {
    background-color: var(--color-surface);
    padding: 20px;
    text-align: center;
    border-radius: 0 0 5px 5px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.product-price {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 900;
    margin-bottom: 20px;
}

.btn-details {
    display: inline-block;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    padding: 12px 25px;
    width: 100%; 
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-card:hover .btn-details {
    background-color: var(--color-accent);
    color: var(--color-heading);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 50px;
}

.product-gallery {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-slide {
    display: none;
    width: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid #444;
    color: var(--color-heading);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.gallery-btn:hover {
    background-color: var(--color-accent);
}

#prevGalleryBtn { left: 10px; }
#nextGalleryBtn { right: 10px; }

.product-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.product-page-price {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.product-page-description {
    margin-bottom: 30px;
}

.form-divider {
    border: none;
    height: 1px;
    background-color: #2a2a2a;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--color-surface);
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    color: var(--color-heading);
    font-size: 1rem;
}

#submitButton {
    width: 100%;
    margin-top: 20px;
}

/* --- ANIMAÇÕES DE SCROLL (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE PARA CELULAR E TABLET --- */
@media (max-width: 992px) {
    .about-flex-container {
        flex-direction: column;
    }
    .featured-release {
        flex-direction: column;
    }
    .featured-release-cover {
        width: 100%;
        max-width: 500px;
    }
    .product-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* REGRAS ESPECÍFICAS DO SLIDER PARA CELULAR */
    .member-slider {
        padding: 30px 15px; /* Diminui as margens internas da caixa */
    }
    .slide-photo {
        width: 200px; /* Reduz a foto no celular para caber melhor */
        height: 200px;
    }
    .slider-btn {
        /* Alinha perfeitamente com a foto menor do celular (30px padding + 100px metade da foto) */
        top: 130px; 
        padding: 8px 12px; /* Setinha um pouco menor */
        font-size: 1.2rem;
    }
    #prevBtn { left: 5px; } /* Joga as setas mais para os cantos da tela */
    #nextBtn { right: 5px; }
}