/* Language Selector */
.lang-selector {
    position: fixed;
    top: 22px;
    right: 75px; /* Positioned to the left of the menu toggle */
    z-index: 1001;
    background-color: transparent;
    padding: 0;
    transition: top 0.3s ease-in-out;
}

.lang-selector a {
    color: #e3001d; /* Gruiiiik Red */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 8px;
    border-radius: 5px;
    background-color: rgba(250, 249, 246, 0.7); /* Subtle background */
    transition: background-color 0.3s ease;
}

.lang-selector a:hover {
    background-color: rgba(250, 249, 246, 1); /* Solid on hover */
    color: #b80017;
}

/* Basic Reset & Typography */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #FAF9F6; /* Warm off-white */
    color: #4a4a4a; /* Dark gray for text */
    scroll-behavior: smooth;
    font-size: 1.1rem;
    line-height: 1.6;
}

h1, h2 {
    font-family: 'Anton', sans-serif;
    font-weight: bold;
    color: #e3001d; /* Gruiiiik Red for headings */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* Header */
header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: url('../assets/images/background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.header-content {
    background-color: #FAF9F6; /* Solid warm off-white */
    padding: 2rem;
    border-radius: 10px;
}

.header-content .logo {
    max-width: 250px;
    margin-bottom: 1rem;
}

.header-content h1 {
    font-size: 3.5rem;
    margin: 0;
    color: #e3001d; /* Gruiiiik Red */
}

.header-content h2 {
    font-size: 1.5rem;
    color: #6b5b53; /* Lighter brown */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 1px;
}

/* Retractable Menu */
.menu-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #e3001d; /* Gruiiiik Red */
    margin: 6px 0;
    transition: 0.4s;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -250px; /* Hidden by default */
    width: 250px;
    height: 100%;
    background: #EAE6E1; /* Light beige */
    padding-top: 60px;
    transition: right 0.5s ease;
    z-index: 1000;
    border-left: 2px solid #DCD6CF;
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #e3001d; /* Gruiiiik Red */
    font-size: 1.2rem;
}

/* General Section Styling */
main {
    padding: 0;
    margin: 0;
}

section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-family: 'Anton', sans-serif;
    font-weight: bold;
    color: #e3001d; /* Gruiiiik Red for headings */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

section h3 {
    font-size: 1.5rem;
    color: #b80017; /* Softer red accent */
    margin-bottom: 20px;
}

.youtube-player {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.youtube-player img {
    object-fit: cover;
}

.youtube-player img,
.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Carousel Section */
#carousel {
    max-width: 100%; /* Full width for the carousel container */
    padding-left: 0;
    padding-right: 0;
}

.swiper {
    width: 100%;
    height: 60vh;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Affiche l'image entière sans la couper */
}

.swiper-pagination-bullet-active {
    background: #b80017;
}

.swiper-button-next, .swiper-button-prev {
    color: #b80017;
}


/* Recordings Section */
section#recordings .albums-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    section#recordings .albums-container {
        grid-template-columns: 1fr;
    }
}

section#recordings .album-item {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.album-item img {
    max-width: 100%;
    border-radius: 5px;
    display: block;
}

.album-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #e3001d;
}

.album-item p {
    font-size: 0.9rem;
    color: #6b5b53;
    line-height: 1.4;
}

.album-credits {
    margin-top: 1rem;
    padding: 0 10px;
}

.album-credits p {
    font-size: 0.9rem;
    color: #aaa;
    text-align: left;
    margin: 0.3rem 0;
}

.album-credits p strong {
    color: #ccc;
}

/* Videos Section */
#videos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    cursor: pointer;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container .play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Footer */
footer {
    background-color: #EAE6E1; /* Light beige */
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid #DCD6CF;
}

footer p {
    margin: 10px 0;
    color: #6b5b53; /* Lighter brown */
}

footer a.email-link {
    color: #b80017;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a.email-link:hover {
    color: #e3001d; /* Gruiiiik Red on hover */
}

/* Static Gallery */
.static-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.static-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.static-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    border-radius: 5px;
}

/* Main Navigation */
.main-nav {
    background-color: #FAF9F6;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #ddd;
    transition: top 0.3s ease-in-out;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.main-nav li {
    margin: 5px 15px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #e3001d; /* Red accent color */
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content h2 {
        font-size: 1.2rem;
    }

    header {
        background-attachment: scroll; /* Fix for mobile background display */
    }

    .lang-selector {
        top: auto;
        bottom: 15px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        transition: none; /* Disable scroll animation on mobile */
    }

    .lang-selector a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }

    section {
        padding: 40px 15px;
    }
}




/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    body {
        font-size: 1rem;
    }

    #bio p, #live p, #recordings p {
        text-align: left;
    }
}

.full-width-photo {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Media Section */
.streaming-logos {
    text-align: center;
}

.streaming-logos a {
    display: block;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #b80017;
    text-decoration: none;
    transition: color 0.3s ease;
}

.streaming-logos a:hover {
    color: #e3001d;
}
