/* --- ESTILO GERAL --- */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    color: #1DB954;
    padding: 20px 0;
    text-align: center;
}

p {
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #1DB954;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: white;
}

main {
    padding: 20px;
}

/* --- SEÇÃO HERO (INDEX) --- */

.hero {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    border: 2px solid #1DB954;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

/* imagem ocupa toda a div */
.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: brightness(40%); /* escurece a imagem para melhorar leitura */
}

/* textos sobrepostos */
.hero-titulo,
.hero-sub,
.hero-legenda {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    width: 90%;
    z-index: 2;
}

/* posicionamento */
.hero-titulo {
    top: 15%;
    font-size: 22px;
    font-weight: bold;
}

.hero-sub {
    top: 30%;
    font-size: 16px;
}

.hero-legenda {
    bottom: 10%;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
}



/* --- BOX GENÉRICO (INDEX + SOBRE) --- */

.box {
    background: #000;
    padding: 40px;
    border: 2px solid #1DB954;
    max-width: 800px;
    margin: auto;
    text-align: center;
    border-radius: 12px;
    box-sizing: border-box;
}

/* --- INTEGRANTES (SOBRE) --- */

.integrantes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.integrante {
    background: #000;
    padding: 20px;
    border: 2px solid #1DB954;
    border-radius: 12px;
    text-align: center;
}

.integrante img {
    width: 100%;
    border-radius: 50%;
    max-width: 150px;
    margin: 0 auto 10px;
}

.integrante p {
    color: white;
    font-weight: bold;
}

.musicas {
    list-style: none;
    padding: 0;
    text-align: center;
}

.musicas li {
    margin: 10px;
}

.musicas a {
    display: inline-block;
    padding: 12px 20px;
    background: #1DB954;
    color: black;
    font-weight: bold;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.musicas a:hover {
    background: #17a34a;
    color: white;
    transform: scale(1.05);
}

.espaco {
    height: 40px;
}

.social-links {
    margin-top: 20px;
    text-align: center;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.2);
}

footer {
    text-align: center;
    color: #00ff7f;
    padding: 20px 0;
    font-size: 16px;
    margin-top: 40px;
}
footer h3 {
    color: #00ff7f;
    text-align: center;
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 768px) {
    .box {
        padding: 15px;
        max-width: 90%;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header h1, .hero-texto {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero {
        width: 90%;
    }

    .hero-img {
        height: 200px;
    }

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

    .integrante img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero-texto {
        padding: 10px;
        font-size: 0.9rem;
    }

    nav a {
        font-size: 0.9rem;
    }
}
