/* ============================================================================ */
/* ARTIST DETAILS MODAL - Modern Metal Design */
/* ============================================================================ */

/* Modal Container */
.artist-details {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.97) 0%, rgba(10, 0, 0, 0.95) 100%);
    backdrop-filter: blur(8px);
    z-index: 20;
    overflow-y: auto;
    display: none;
    box-sizing: border-box;
    /* Masqué par défaut au chargement */
}

/* Close Button */
#closeDetailsIcon {
    color: #888;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

#closeDetailsIcon:hover {
    color: #8f0000;
    transform: scale(1.1) rotate(90deg);
    filter: drop-shadow(0 4px 8px rgba(143, 0, 0, 0.6));
}

/* ============================================================================ */
/* ARTIST HEADER SECTION */
/* ============================================================================ */

/* Artist Name */
#artist-details-name {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #8f0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Underline effect under artist name */
#artist-details-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 33%;
    height: 3px;
    background: linear-gradient(90deg, #8f0000 0%, transparent 100%);
}

/* ============================================================================ */
/* MEDIA TOGGLE BUTTONS (Audio/Video) */
/* ============================================================================ */

.media-toggle-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 1rem;
    margin-top: 25px;
}

/* Button Base Style */
.media-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #f5f5f5;
    background: transparent;
    border: 2px solid #3a3a3a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Gradient overlay on hover */
.media-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(143, 0, 0, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.media-toggle-btn:hover::before {
    left: 100%;
}

/* Hover State */
.media-toggle-btn:hover {
    color: #ffffff;
    border-color: #8f0000;
    background: rgba(143, 0, 0, 0.1);
    box-shadow:
        0 0 0 1px rgba(143, 0, 0, 0.3),
        0 4px 16px rgba(143, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Active State */
.media-toggle-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #8f0000 0%, #6a0000 100%);
    border-color: #b00000;
    box-shadow:
        0 0 0 1px rgba(143, 0, 0, 0.5),
        0 6px 20px rgba(143, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.media-toggle-btn.active:hover {
    background: linear-gradient(135deg, #a00000 0%, #7a0000 100%);
    border-color: #c00000;
    transform: translateY(-2px);
}

/* Icon inside button */
.media-toggle-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* ============================================================================ */
/* SECTIONS LAYOUT - 4 Blocs Cohérents */
/* ============================================================================ */

/* CAROUSEL SECTION - Haut Gauche */
.carousel-section {
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(143, 0, 0, 0.2);
    background: #000000;
    height: 450px;
}

#carouselArtist {
    height: 100%;
}

.artist-details-img {
    margin: auto;
    width: auto;
    max-height: 750px;
}

.carousel-inner {
    display: contents;
}

.carousel-item {
    width: 100%;
    height: 100%;

    display: flex !important;
    align-items: center;
    justify-content: center;
}

.carousel-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* MEDIA SECTION - Haut Droite - Wrapper avec border rouge */
.media-section {
    border-radius: 8px;
    border: 2px solid rgba(143, 0, 0, 0.2);
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 3px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    height: 450px;
    position: relative;
}

/* Red accent bar on the left of media section */
.media-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8f0000 0%, transparent 100%);
    border-radius: 8px 0 0 8px;
    z-index: 2;
}

/* BIO SECTION - Bas Gauche */
.bio-section {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    color: #e0e0e0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 8px;
    border: 2px solid rgba(143, 0, 0, 0.2);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Red accent bar on the left of bio section */
.bio-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8f0000 0%, transparent 100%);
    border-radius: 8px 0 0 8px;
}

/* Bio title styling - same as contact h3 */
.bio-section .bio-title {
    color: #f5f5f5;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.bio-section .bio-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 33%;
    height: 2px;
    background: linear-gradient(90deg, #8f0000 0%, transparent 100%);
}

/* CONTACT SECTION - Bas Droite */
.contact-section {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 2px solid rgba(143, 0, 0, 0.2);
    border-radius: 8px;
    padding: 2rem;
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Red accent bar on the left of contact section */
.contact-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8f0000 0%, transparent 100%);
    border-radius: 8px 0 0 8px;
}

.contact-section h3 {
    color: #f5f5f5;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 33%;
    height: 2px;
    background: linear-gradient(90deg, #8f0000 0%, transparent 100%);
}

/* ============================================================================ */
/* CONTACT CARD */
/* ============================================================================ */

.contact-card {
    background: rgba(25, 25, 25, 0.6);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(143, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(143, 0, 0, 0.3);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(143, 0, 0, 0.2);
}

.contact-card-logo {
    flex-shrink: 0;
    width: 100px;
}

.contact-card-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.contact-card-divider {
    width: 2px;
    height: 110px;
    background: linear-gradient(180deg, transparent 0%, #8f0000 50%, transparent 100%);
    flex-shrink: 0;
}

.contact-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0;
    line-height: 1.2;
}

.contact-card-role {
    font-size: 0.7rem;
    font-style: italic;
    color: #b0b0b0;
    margin: 0;
}

.contact-card-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-card-whatsapp img {
    width: 30px;
    height: 30px;
}

/* .contact-card-whatsapp a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
} */

.contact-card-whatsapp a:hover {
    color: #8f0000;
}

.contact-card-company {
    font-size: 0.8rem;
    font-weight: 800;
    color: #e0e0e0;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ============================================================================ */
/* RESPONSIVE DESIGN - Creative & Mobile-First */
/* ============================================================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .carousel-section {
        height: 620px;
    }

    .media-section {
        height: 620px;
    }

    #carouselArtist {
        height: 100%;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    #artist-details-name {
        font-size: 3.5rem;
    }

    .media-toggle-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    #artist-details-name {
        font-size: 3rem;
    }

    .media-toggle-container {
        gap: 0.5rem;
    }

    .media-toggle-btn {
        padding: 0.5rem 1.2rem;
        font-size: 1.1rem;
    }

    .bio-section,
    .contact-section {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    #artist-details-name {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .media-toggle-container {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0;
    }

    /* Creative: Sections deviennent 1 colonne full-width */
    .carousel-section {
        height: 400px;
    }

    .media-section {
        height: 540px;
    }

    .bio-section,
    .contact-section {
        height: auto;
    }

    /* Bio et Contact passent en full-width */
    .bio-section {
        order: 1;
    }

    .contact-section {
        order: 2;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .artist-details {
        padding: 1rem;
    }

    #artist-details-name {
        font-size: 2rem;
    }

    .media-toggle-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .media-toggle-btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .bio-section,
    .contact-section {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .contact-section h3 {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 1.2rem;
    }

    .contact-card-logo {
        width: 80px;
    }

    .contact-card-divider {
        height: 70px;
    }

    /* Creative: Carousel et Media players en 100% width */
    .carousel-section {
        height: 350px;
    }

    .media-section {
        height: 540px;
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    #artist-details-name {
        font-size: 1.75rem;
    }

    .bio-section,
    .contact-section {
        text-align: left;
    }

    /* Creative: Contact card vertical layout */
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .contact-card-logo {
        width: 70px;
    }

    .contact-card-divider {
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #8f0000 50%, transparent 100%);
    }

    .contact-card-content {
        align-items: center;
    }

    .contact-card-whatsapp {
        justify-content: center;
    }

    /* Creative: Reduce min-height for mobile */
    .carousel-section {
        height: 300px;
    }

    .media-section {
        height: 540px;
    }

    /* Creative: Stack sections vertically with visual spacing */
    .row.g-4 {
        gap: 1.5rem !important;
    }


}

/* Extra Small Mobile (< 400px) */
@media (max-width: 399px) {
    #artist-details-name {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }

    .media-toggle-btn {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .media-toggle-btn i {
        margin-right: 0.3rem;
        font-size: 0.9rem;
    }

    .contact-section h3 {
        font-size: 1.2rem;
    }

    .bio-section,
    .contact-section {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}