/* === ESTILOS GENERALES === */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* === HEADER y NAVBAR === */
.header {
    position: sticky;
    top: 0;
    background-color: #222;
    z-index: 1000;
    padding: 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header:hover {
    transition: transform 0.8s;
    background-color: #333;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}


/* === LOGO PRINCIPAL === */
.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.8s;
}

#logo1 {
    width: 100px;
    height: 100px;
    transition: transform 1s ease-in-out;
}

#logo1:hover {
    transform: rotate(360deg);
}


/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 15px; 
    background-color: #222;
    margin: 20px;
    border-radius: 20px;
}

.menu-link {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-weight: bold;
    transition: transform 0.4s ease-in-out, color 0.9s ease-in-out;
}

.menu-link:hover {
    transform: scale(1.2);
    color: rgb(176, 141, 88);
}


/* === TÍTULOS Y SCROLL === */

.titulo h1 {
    font-size: 2.5rem;
    color: #222;
    margin: 30px 0;
    transition: all 0.5s ease-in-out;
}

.titulo h1:hover {
    color: #ff5733;
    text-shadow: 0px 0px 15px rgba(255, 87, 51, 0.8);
    transform: scale(1.2) rotate(-3deg);
}

.subtitulo {
    font-size: 2rem;
    color: #222;
    margin: 30px 0;
}

.titulo {
    scroll-margin-top: 200px;
}

section {
    scroll-margin-top: 150px;
}



/* === IMAGEN PRINCIPAL === */
.img-prin {
    width: 50%;
    height: auto;
    border-radius: 20px;
    max-width: 100%;
}


/* === PÁRRAFOS === */
.p-prin {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.p-prin > p,
#resena {
    width: 40%;
    text-align: center;
}


/* === BOTONES YOUTUBE / SPOTIFY === */
.botoness {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

#btny,
#btns {
    color: white;
    padding: 15px 30px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 40px;
    border: 4px solid black;
    transition: all 0.3s ease-in-out;
}

#btny {
    background-color: #FF0000;
}
#btny:hover {
    background-color: #CC0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

#btns {
    background-color: #1DB954;
}
#btns:hover {
    background-color: #148F44;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.8);
    transform: scale(1.1);
}


/* === GALERÍA DE IMÁGENES === */
.integrantes-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

.images {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 15px;
}

.images:hover {
    box-shadow: 0 0 20px rgba(15, 14, 14, 0.8);
    transform: scale(1.1);
    transition: transform 0.4s ease;
    will-change: transform;
}


/* === DISCOGRAFÍA === */
.disco-container { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px;
}

.disco-card {
    background-color: white;
    padding: 15px;
    width: 210px;
    border-radius: 15px;
    margin: 20px;
    text-align: center;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.disco-card:hover {
    background-color: gray;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    color: white;
}

.album-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}



/* === CARRUSEL GALERÍA === */
.galeria-carrusel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    display: none;
    position: relative; /* necesario para posicionar el caption dentro */
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.3);

}

/* ✅ Texto dentro de la imagen */
.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* capa negra semitransparente */
    color: white;
    padding: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 1rem;
    text-align: center;
}

.carousel-caption-custom h5 {
    margin: 0;
    font-size: 1.3rem;
}

.carousel-caption-custom p {
    margin: 5px 0 0 0;
    font-size: 0.95rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 10%;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-carrusel {
        max-width: 95%;
    }

    .carousel-item img {
        height: 300px;
    }

    .carousel-caption-custom {
        padding: 10px;
        font-size: 0.9rem;
    }

    .carousel-btn {
        font-size: 1.5rem;
    }
}



/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* === video === */

#Video {
    margin-bottom: 30px;
}

.video-barak {
    width: 70%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    border: 10px solid rgb(72, 71, 69);
}



/* === LISTAS === */
ul,
ol {
    list-style: none;
}


/* === ENLACES === */
a {
    text-decoration: none;
    color: black;
}

p {
    font-size: 15px;
}


/* === FOOTER === */
footer {
    background-color: #222;
    padding: 30px;
    color: white;
}

/* === RESPONSIVE GENERAL ======= */
@media (max-width: 992px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        margin: 10px;
        padding: 10px;
    }

    #logo1 {
        width: 80px;
        height: 80px;
    }

    .titulo h1 {
        font-size: 2rem;
    }

    .subtitulo {
        font-size: 1.6rem;
    }

    .img-prin {
        width: 80%;
    }

    .p-prin > p,
    #resena {
        width: 80%;
    }

    .botoness {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #btny,
    #btns {
        width: 80%;
    }

    .images {
        width: 160px;
        height: 160px;
    }

    .disco-card {
        width: 180px;
    }

    .album-cover {
        height: 180px;
    }

    .video-barak {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .titulo h1 {
        font-size: 1.6rem;
    }

    .subtitulo {
        font-size: 1.3rem;
    }

    .images {
        width: 130px;
        height: 130px;
    }

    .disco-card {
        width: 90%;
    }

    .album-cover {
        height: 160px;
    }

    .carousel-caption-custom h5 {
        font-size: 1rem;
    }

    .carousel-caption-custom p {
        font-size: 0.8rem;
    }

    .carousel-btn {
        font-size: 1.3rem;
        padding: 8px 10px;
    }

    .video-barak {
        width: 95%;
        border: 6px solid rgb(72, 71, 69);
    }
}

/* === CORRIGE NAVBAR PARA QUE SEA HORIZONTAL EN MÓVILES === */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
        margin: 10px 0;
        gap: 10px;
    }

    .menu-link {
        margin: 5px 10px;
        font-size: 0.9rem;
    }
}

/* === CORRIGE BOTONES YOUTUBE/SPOTIFY PARA MANTENERSE JUNTOS === */
@media (max-width: 768px) {
    .botoness {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .botoness button {
        width: auto;
        padding: 12px 25px;
    }
}
