/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    background: #ffffff;
    color: rgba(44,39,75,1);
}

a {
    text-decoration: none;
    color: rgba(44,39,75,1);
    transition: color 0.3s ease;
}

.oculto {
    display: none;
}

/* Estructura General */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar */
header {
    background: #ffffff;
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img.logo-icon {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 400;
    font-size: 16px;
    text-transform: capitalize;
}

.nav-links li a:hover,
.nav-links li a.active {
    font-weight: 600;
}

/* Home Main */
.home-main {
    text-align: center;
    padding: 20px 20px;
}

.logo-large {
    width: 400px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.1s;
}

.home-main h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: rgba(44,39,75,0.8);
}

/* Artistas */
.artist-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Agregado por buena práctica */
    opacity: 0;
    animation: fadeIn 1.3s ease-out forwards;
    animation-delay: 0.3s;
}

.artist-links a:hover {
    color: #0033cc;
    transition: color 0.3s ease;
}

/* Página Roster */
.roster-main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    padding-bottom: 60px;
}

/* Cada Artista */
.artist-section {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(44,39,75,0.6);
}

/* Título + Botón */
.artist-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
    cursor: pointer;
    color: rgba(44,39,75,1);
    transition: font-weight 0.3s ease;
}

.artist-title:hover,
.artist-title.open {
    font-weight: 600;
}

/* Botón desplegable */
.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.3s ease;
}

.artist-title.open .toggle-btn {
    transform: rotate(180deg);
}

.toggle-btn svg {
    width: 24px;
    height: 24px;
}

/* Texto desplegable */
.text {
    display: block;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    margin-top: 10px;
    text-align: left;
}

.text.active {
    max-height: 2000px;
}

/* Estructura en columnas del artista */
.artist-info-columns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 15px;
}

.artist-info-columns img {
    width: 50%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
}

.artist-info-columns > div {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.artist-info-columns > div p {
    margin-bottom: 20px;
    text-align: left;
}

.artist-info-columns > div .button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Botón Booking */
.booking-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(44,39,75,1);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: top;
}

.booking-button:hover {
    background-color: rgba(44,39,75,0.8);
}

.booking-button:active {
    transform: scale(0.98);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    color: rgba(44,39,75,0.6);
    margin-top: auto;
    z-index: 10;
    position: relative;
}

/* Animación logo */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .home-main {
        padding: 60px 20px;
    }

    .logo-large {
        width: 250px;
    }

    .artist-title {
        font-size: 24px;
    }

    .text img {
        max-width: 100%;
    }

    .button-container {
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .booking-button {
        padding: 10px 20px;
        font-size: 14px;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }

    .artist-info-columns {
        flex-direction: column;
        gap: 10px;
    }

    .artist-info-columns img,
    .artist-info-columns > div {
        width: 100%;
    }

    .artist-info-columns > div {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .artist-info-columns > div p {
        margin-bottom: 10px;
        text-align: left;
    }

    .artist-info-columns > div .button-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    /* 🔧 FIX: Enlaces de artistas uno debajo del otro */
    .artist-links {
        flex-direction: column;
        align-items: center;
    }

    .artist-links a {
        display: block;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
