html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #efaf4f;
    --text-main: black;
    --text-muted: white;
    --accent: #156654;
    --red:#a2000a;
}

* {
    box-sizing: border-box;
}

/* ===============================
   Base
   =============================== */

body {
    margin: 0;
    font-family: "Rubik", system-ui, sans-serif;
    background-color: #efaf4f;
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.visible {
    background:#efaf4fac;
    backdrop-filter: blur(8px);
}

/* ===============================
   Navigation
   =============================== */

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav a {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background 0.25s ease, color 0.25s ease;
}

/* HOVER */

.nav a:hover {
    background: #efaf4fba;
    color: var(--text-main);
    text-decoration: none;
}

.nav a:focus {
    outline: none;
    text-decoration: none;
}


/* SECTION ACTIVE */

.nav a.active {
    background: rgba(214, 162, 106, 0.35);
    color: var(--text-main);
}

/* MOBILE */

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
}


/* VISUEL */

.alert-message {
    background-color: var(--red);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.info {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    color: var(--red);
    text-align: center;
    font-weight: 500;
}

.typography-zone .big-word {
position: absolute;
}

/* INTRO */

.intro {
    padding: 6rem 2rem 4rem;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ===============================
   Hero / Typography
   =============================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero img {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.hero-title {
    margin-top: 2rem;
    font-size: clamp(2.8rem, 10vw, 8rem);
    letter-spacing: 0.18em;
}


/* ZONE TYPO CENTRALE */

.typography-zone {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 12rem;
}

/* TITRE */

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2.8rem, 10vw, 8rem);
    letter-spacing: 0.18em;
    font-weight: 400;
    margin: 0;
    z-index: 3;
}

/* TYPOGRAPHIE GRAPHIQUE */

.big-word {
    position: absolute;
    font-size: clamp(4rem, 11vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.1;
    white-space: nowrap;
    z-index: 1;
}

    /* Ligne haute */

    .left {
        top: -25%;
        left: -15%;
        font-size: clamp(4.5rem, 12vw, 9rem);
        letter-spacing: 0.12em;
        animation: drift-left 18s ease-in-out infinite alternate;
    }

    /* Ligne basse */

    .right {
        top: 50%;
        right: -20%;
        transform: translateY(2.5rem);
        font-size: clamp(3.2rem, 8vw, 6rem);
        letter-spacing: 0.04em;
        animation: drift-right 20s ease-in-out infinite alternate;
    }

@media (max-height: 900px) {
    .left {
        top: -30%;
        font-size: clamp(4rem, 11vw, 8rem);
    }

    .right {
        top: 25%;
        font-size: clamp(3rem, 7.5vw, 5.5rem);
    }
}

@media (max-width: 768px) {
    .typography-zone {
        height: 9rem;
    }

    .left {
        top: -10%;
        left: -10%;
        font-size: clamp(2.4rem, 9vw, 4rem);
        animation-duration: 26s;
    }

    .right {
        top: 55%;
        right: -10%;
        font-size: clamp(2rem, 7vw, 3.5rem);
        animation-duration: 28s;
    }
}

/* ===============================
   Animations
   =============================== */

@keyframes drift-left {
    from { transform: translate(-20%); }
    to   { transform: translate(20%); }
}

@keyframes drift-right {
    from { transform: translateY(2.5rem) translateX(20%); }
    to   { transform: translateY(2.5rem) translateX(-20%); }
}

/* CONTENT */

main {
    max-width: 820px;
    margin: 4rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    letter-spacing: 0.06em;
    background: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

h3 {
    font-size: 2rem;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    font-family: "Cedarville Cursive", cursive;
    font-weight: 400;
    font-style: normal;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    background-color: var(--red);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.sous-titre12 {
    font-family: "Cedarville Cursive", cursive;
    color: white;
    text-align: right;
    font-size: 1.2rem;
}
.sous-titre18 {
    font-family: "Cedarville Cursive", cursive;
    color: white;
    text-align: right;
    font-size: 1.8rem;
}

/* SECTION MUSICIENS */

.musicians {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 3rem;
}

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

.musicians p {
    background-color: #ffffff; /* White background */
    color: #a2000a; /* Dark red text */
    text-align: center; /* Centered text */
    padding: 1rem; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
}

.musician-card img {
    width: 100%;
    max-width: 320px;
    border-radius: 14px;
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: zoom-in;
}

.musician-card img:hover {
    transform: scale(1.75);
    opacity: 1;
}

/* SECTION PRATIQUE */
.pratique {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 3rem;
}

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


.recommandation {
    background-color: var(--accent); /* background */
    color: white; /* text */
    padding: 1rem; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
}

.titre-journee {
    background-color: white; /* background */
    color: var(--red); /* text */
    padding: 0.5rem; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
    text-align: center;
}
.titre-recommandation {
    background-color: white; /* background */
    color: var(--accent); /* text */
    padding: 0.5rem; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
    text-align: center;
}   

.journee-type {
    background-color: var(--red); /* background */
    color: white; /* text */
    padding: 1rem; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
}

/* SECTION VIDÉOS */

.media-section {
    max-width: 1000px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.video {
    position: relative;
}

.video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}   

.footer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
}

.icon-30 { width: 30px; height: auto; }
.icon-40 { width: 40px; height: auto; }

.icon-130 { width: 130px; height: auto; }

.icon-130-rounded {
    width: 130px;
    height: auto;
    border-radius: 8px;
}

.icon-binioufous {
    width: 130px;
    height: auto;
    background-color: var(--accent);
    padding: 0.5rem;
    border-radius: 8px;
}
