
@media (max-width: 1023px) {
    #biography .aspect-[3/4] {
    max-width: 400px;
    margin: 0 auto;
}
}

/* Alignement de l'image de biography avec le titre */
#biography .flex {
    align-items: flex-start; /* Aligne les éléments en haut */
}

#biography h2 {
    margin-top: 0; /* Supprime la marge supérieure du titre */
    padding-top: 0; /* Supprime le padding supérieur si nécessaire */
}

/* biography - Ajustements typographiques */
#biography .bio-text {
    font-size: 1rem; /* Taille de base cohérente */
    line-height: 1.6; /* Interligne amélioré */
    margin-bottom: 1rem; /* Espacement entre paragraphes */
}

#biography .text-justify {
    text-align: justify;
    hyphens: auto; /* Césure automatique pour les mots longs */
}

/* Alignement vertical de l'image avec le titre */
@media (min-width: 1024px) {
    #biography .lg\:pt-4 {
        padding-top: 1rem; /* Ajustement fin pour l'alignement avec le h2 */
    }
}

/* Optimisation mobile */
@media (max-width: 1023px) {
    #biography .bio-text {
        font-size: 0.95rem; /* Légère réduction sur mobile */
    }
}

@media (max-width: 767px) { /* Mobile */
    .h-screen {
        height: 90vh;
    }
    .w-48 {
        width: 20rem;
    }
    .h-48 {
        height: 20rem;
    }
    position: fixed;
    height: 100vh;
    background-attachment: scroll;

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-language-switcher {
        display: flex;
        margin-right: 1rem;
    }

    .header .flex.items-center {
        gap: 0.5rem;
    }

    .mr-4 {
        margin-right: 1rem;
    }

    .song-card .absolute {
        opacity: 1 !important;
        display: flex !important;
    }

    .song-card .absolute a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .breadcrumb-container {
        top: 56px; /* Hauteur réduite du header sur mobile */
    }

    .song-card:hover .absolute {
        opacity: 1 !important;
    }

    #backToTop.with-cookie-banner {
        bottom: 12rem !important; /* Position ajustée lorsque la bannière est visible */
    }
}
.language-btn.active {
    color: rgb(44, 91, 100);
    font-weight: 600;
}

.header .flex.items-center {
    gap: 1rem;
}

/* Espacement entre les éléments du header */
.nav-link {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

/* Séparateur entre les liens et les boutons de langue */
nav span.text-gray-400 {
    margin: 0 0.5rem;
}

/* Boutons de langue */
.language-btn {
    padding: 0.25rem 0.5rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

header .logo:hover {
    animation: pulse 0.5s ease;
}

footer .logo:hover {
    animation: pulse 0.5s ease;
}

/* Styles pour la section discography */
.song-card {
    transition: all 0.3s ease;
}

.song-card:hover {
    transform: translateY(-5px);
}

#discography .bg-primary {
    background-color: rgb(44, 91, 100);
    transition: all 0.3s ease;
}

#discography .bg-primary:hover {
    background-color: rgba(44, 91, 100, 0.9);
    transform: scale(1.05);
}

.text-2xl {
    font-size:1.5rem;
    line-height:2rem
}
.text-3xl {
    font-size:1.875rem;
    line-height:2.25rem
}
.text-5xl {
    font-size:3rem;
    line-height:1
}
.text-sm {
    font-size:0.8rem;
    line-height:1.25rem
}
.text-xl {
    font-size:1.25rem;
    line-height:1.75rem
}
.text-xs {
    font-size:0.75rem;
    line-height:1rem
}
.font-bold {
    font-weight:700
}
.font-medium {
    font-weight:500
}
.font-semibold {
    font-weight:600
}
.leading-tight {
    line-height:1
}
.text-blue-400 {
    --tw-text-opacity:1;
    color:rgb(96 165 250 / var(--tw-text-opacity, 1))
}
.text-blue-500 {
    --tw-text-opacity:1;
    color:rgb(59 130 246 / var(--tw-text-opacity, 1))
}
.text-gray-300 {
    --tw-text-opacity:1;
    color:rgb(209 213 219 / var(--tw-text-opacity, 1))
}
.text-gray-400 {
    --tw-text-opacity:1;
    color:rgb(156 163 175 / var(--tw-text-opacity, 1))
}
.text-gray-500 {
    --tw-text-opacity:1;
    color:#bfbdbd
}
.text-green-500 {
    --tw-text-opacity:1;
    color:rgb(34 197 94 / var(--tw-text-opacity, 1))
}
.text-orange-500 {
    --tw-text-opacity:1;
    color:rgb(249 115 22 / var(--tw-text-opacity, 1))
}
.text-primary {
    --tw-text-opacity:1;
    color:rgb(44, 91, 100)
}
.text-red-600 {
    --tw-text-opacity:1;
    color:rgb(220 38 38 / var(--tw-text-opacity, 1))
}
.text-white {
    --tw-text-opacity:1;
    color:rgb(255 255 255 / var(--tw-text-opacity, 1))
}
.text-white\/70 {
    color:rgb(255 255 255 / 0.7)
}
.opacity-0 {
    opacity:0
}
.shadow-2xl {
    --tw-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25);
    --tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);
    box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}
.backdrop-blur-md {
    --tw-backdrop-blur:blur(12px);
    -webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}
.transition-all {
    transition-property:all;
    transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration:150ms
}
.transition-colors {
    transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration:150ms
}
.transition-opacity {
    transition-property:opacity;
    transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration:150ms
}
.duration-300 {
    transition-duration:300ms
}
.hover\:bg-gray-700:hover {
    --tw-bg-opacity:1;
    background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))
}
.hover\:bg-primary\/90:hover {
    background-color:rgb(90, 171, 184)
}
.hover\:text-primary:hover {
    --tw-text-opacity:1;
    color:rgb(90, 171, 184)
}
.hover\:text-white:hover {
    --tw-text-opacity:1;
    color:rgb(255 255 255 / var(--tw-text-opacity, 1))
}
.focus\:outline-none:focus {
    outline:2px solid transparent;
    outline-offset:2px
}
.focus\:ring-2:focus {
    --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}
.focus\:ring-primary:focus {
    --tw-ring-opacity:1;
    --tw-ring-color:rgb(255 60 0 / var(--tw-ring-opacity, 1))
}
.group:hover .group-hover\:opacity-100 {
    opacity:1
}
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
    .sm\:grid-cols-3 {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }
    .sm\:flex-row {
        flex-direction:row
    }
}
@media (min-width: 768px) {
    .md\:mb-0 {
        margin-bottom:0px
    }
    .md\:flex {
        display:flex
    }
    .md\:hidden {
        display:none
    }
    .md\:grid-cols-4 {
        grid-template-columns:repeat(4, minmax(0, 1fr))
    }
    .md\:flex-row {
        flex-direction:row
    }
    .md\:text-2xl {
        font-size:1.5rem;
        line-height:2rem
    }
    .md\:text-4xl {
        font-size:2.25rem;
        line-height:2.5rem
    }
}
@media (min-width: 1024px) {
    .lg\:w-1\/2 {
        width:50%
    }
    .lg\:grid-cols-3 {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }
    .lg\:grid-cols-5 {
        grid-template-columns:repeat(5, minmax(0, 1fr))
    }
    .lg\:grid-cols-6 {
        grid-template-columns:repeat(6, minmax(0, 1fr))
    }
    .lg\:flex-row {
        flex-direction:row
    }
}

/* Lyrics language toggle buttons */
.lyrics-lang-btn {
    transition: all 0.3s ease;
    color: #9ca3af;
}

.lyrics-lang-btn.active {
    background-color: rgb(44, 91, 100);
    color: white;
    font-weight: 600;
}

/* Lyrics text styling */
.lyrics-container p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.lyrics-container p:not(:first-child) {
    font-size: 0.95rem;
}

/* Video Section Styles */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Optionnel: Animation au survol */
.aspect-w-16 {
    transition: transform 0.3s ease;
}

.aspect-w-16:hover {
    transform: scale(1.02);
}

/* Breadcrumb styles */
.breadcrumb-container {
    position: fixed;
    top: 64px; /* Hauteur du header */
    left: 0;
    right: 0;
    z-index: 40; /* En dessous du header mais au-dessus du contenu */
}

/* Ajustement pour le contenu principal */
#home {
    padding-top: 0px;
}

/* Microdata styling for breadcrumb */
.breadcrumb-container ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-container li {
    display: inline;
}

.breadcrumb-container li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #6b7280;
}

/* Back to top button - Right aligned */
#backToTop {
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s, bottom 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#backToTop.with-cookie-banner {
    bottom: 6rem; /* Position ajustée lorsque la bannière est visible */
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: rgb(44, 91, 100, 0.9);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #backToTop {
        right: 4;
        bottom: 6;
        width: 44px;
        height: 44px;
    }
}

/* Vertical Anchor Menu */
.anchor-menu {
    position: fixed;
    left: 20px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 30;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anchor-menu.collapsed {
    width: 40px;
    overflow: hidden;
}

.anchor-menu.collapsed .anchor-link span {
    display: none;
}

.anchor-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.anchor-link:hover {
    background-color: rgba(44, 91, 100, 0.5);
}

.anchor-link i {
    font-size: 18px;
    min-width: 18px;
}

.anchor-link.active {
    background-color: rgb(44, 91, 100);
}

.toggle-menu {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgb(44, 91, 100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: white;
    z-index: 2;
}

@media (max-width: 1024px) {
    .anchor-menu {
        display: none;
    }
}

/* Afficher uniquement sur desktop */
@media (min-width: 1025px) {
    .anchor-menu {
        display: flex;
    }
}

/* Lyrics language tabs */
.lyrics-lang-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.lyrics-lang-btn.active {
    background-color: rgb(44, 91, 100);
    color: white;
    font-weight: 600;
}

.lyrics-lang-btn:not(.active) {
    background-color: rgb(31 41 55);
    color: #9ca3af;
}

.lyrics-content {
    display: block;
}

.lyrics-content.hidden {
    display: none;
}

.lyrics-container p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Correction pour iPhone en mode paysage */
@media only screen
and (max-device-width: 896px) /* iPhone XR/11, XS Max/11 Pro Max */
and (orientation: landscape) {
    #home .w-48,
    #home .h-48 {
        width: 150px !important;
        height: 150px !important;
    }

    #home .text-5xl {
        font-size: 2rem !important;
    }

    #home .text-xl {
        font-size: 1rem !important;
    }
}

/* Pour les anciens modèles d'iPhone */
@media only screen
and (max-device-width: 736px) /* iPhone 6/7/8 Plus */
and (orientation: landscape) {
    #home .w-48,
    #home .h-48 {
        width: 120px !important;
        height: 120px !important;
    }
}

#home .container.mx-auto.px-4.z-10.text-center {
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (orientation: landscape) and (max-height: 414px) {
    section#home {
        background-size: contain;
        background-position: center center;
        padding-top: 20px;
    }
    .breadcrumb-container {
        background-color: transparent; /* Rendre le fond transparent */
        backdrop-filter: none; /* Supprimer le flou si présent */
        padding: 10px 0; /* Ajustez selon vos besoins */
    }
}

/* Pour les tablettes en mode paysage */
@media only screen
and (min-device-width: 768px)  /* Largeur minimale tablette */
and (max-device-width: 1024px) /* Largeur maximale tablette */
and (orientation: landscape)   /* Mode paysage uniquement */ {

    /* Agrandir l'image */
    #home .w-48,
    #home .h-48 {
        width: 220px !important;  /* Taille ajustée */
        height: 220px !important; /* Taille ajustée */
    }

    /* Ajuster l'espacement si nécessaire */
    #home .mb-6 {
        margin-bottom: 2rem !important;
    }

    header {
        height: 60px; /* Réduire légèrement la hauteur du header */
    }

    .container.py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Animation fadeIn + zoom */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Appliquez l'animation à l'image */
#home .w-48.h-48 img {
    animation: fadeInZoom 1s ease-out forwards;
    opacity: 0; /* Initialement invisible */
}

/* Délai pour un effet plus harmonieux */
#home .text-5xl {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#home .w-48.h-48 {
    will-change: transform, opacity; /* Prépare le navigateur à l'animation */
}

.font-\[\'Pacifico\'\] {
    font-family:'Pacifico'
}