/* ==============================
   RESET & VARIABLES
   ============================== */
/* Déclaration de la police téléchargée depuis DaFont */
@font-face {
    font-family: 'Lemon Milk';
    src: url('css/fonts/LEMONMILK-Light.otf') format('opentype'); /* vérifie l'extension .otf ou .ttf */
    font-weight: normal;
    font-style: normal;
}
   
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0d0d0d;
    --text-color: #f5f5f5;
    --accent-color: #e67e22; /* Orange style "Saturne" */
    --card-bg: #1a1a1a;
    --nav-bg: rgba(13, 13, 13, 0.95);
    /* ... garde tes couleurs existantes ... */
    
    /* Ajout des variables de polices */
    --font-heading: 'Lemon Milk', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;

    /* ... garde tes autres styles pour le body ... */
    font-family: var(--font-body);
    font-weight: 300;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #f4f1ea; /* Un blanc ivoire chic et élégant */
}

a {
    text-decoration: none;
    color: inherit;
}
    

/* ==============================
   HEADER & NAVIGATION
   ============================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: 12px 0; /* On réduit fortement la hauteur haut/bas */
    display: flex;
    justify-content: space-between; /* Espace le logo à gauche et le menu/burger à droite */
    align-items: center; /* Aligne tout parfaitement au milieu verticalement */
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 30px; /* Ajuste l'écart par rapport au bord gauche */
    width: auto;
}

.brand-img {
    width: 50px; /* On réduit un peu la taille du logo pour affiner l'en-tête */
    height: auto;
}

nav {
    margin-top: 0;
    padding-left: 0;
    margin-right: 30px; /* Aligne le menu par rapport au bord droit */
}

nav ul.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Centre les liens du menu */
    gap: 30px;
    flex-wrap: wrap; /* Pratique sur mobile pour que le menu passe à la ligne sans casser */
}

nav ul li a {
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; /* Important pour ne pas faire déborder les images */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 18s infinite; /* 18s total pour 3 images */
}

/* Le dégradé sombre par-dessus les images */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Pour passer devant les images */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tes images */
.bg-1 { background-image: url('assets/droite.jpg'); animation-delay: 0s; }
.bg-2 { background-image: url('assets/gauche.jpg'); animation-delay: 6s; }
.bg-3 { background-image: url('assets/haut.jpg'); animation-delay: 12s; }

@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }  /* Apparition */
    33% { opacity: 1; }  /* Reste visible */
    43% { opacity: 0; }  /* Disparition */
    100% { opacity: 0; }
}


.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

/* ==============================
   LECTEUR AUDIO CUSTOM
   ============================== */
.audio-player {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Légère bordure dorée/chic */
    padding: 15px 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
    min-width: 280px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-color); /* Utilise ton orange ou ta couleur chic */
    border-radius: 3px;
    transition: width 0.1s linear;
}

.track-info span {
    font-family: var(--font-body);
    color: #f4f1ea; /* Ton blanc ivoire */
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Les styles généraux pour tous les boutons */
.control-btn {
    background: transparent;
    border: none;
    color: #f4f1ea;
    font-size: 1rem; /* Petites flèches discrètes pour skip */
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.control-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Style unique pour le bouton Play / Pause (plus grand, dans un cercle chic) */
.play-control {
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); /* Fond très léger */
    border: 1px solid rgba(212, 175, 55, 0.4); /* Contour discret couleur ivoire/or */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px; /* Petite astuce pour centrer optiquement l'icône triangle play */
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.play-control:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* ==============================
   CONTRÔLE DE VOLUME
   ============================== */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    width: 100%;
    justify-content: center;
}

.volume-icon {
    font-size: 0.9rem;
    color: #aaa;
}

#volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: transform 0.2s;
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}


/* ==============================
   SECTIONS (Expérience, Matériel)
   ============================== */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.experience-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

/* Matériel Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.card p {
    color: #ccc;
}

/* ==============================
   FOOTER
   ============================== */
footer {
    background: #111;
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid #333;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.socials a {
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent-color);
}

footer p {
    color: #777;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }


    .contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
    gap: 40px;
}

}

/* ==============================
   SECTION CONTACT & TARIFS (2 colonnes)
   ============================== */
.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Passe en colonne sur petit écran */
    max-width: 1100px;
    margin: 0 auto;
}

.contact-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.col-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

/* Style de la carte des coordonnées (colonne de gauche) */
.contact-card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Style de la grille tarifaire (colonne de droite) */
.pricing-card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

.price-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.price-row span {
    color: #ccc;
    font-size: 1.05rem;
}

.price-row .price {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==============================
   RESPONSIVE & MENU BURGER
   ============================== */

/* Par défaut, le bouton burger est caché sur grand écran */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Adaptation pour les écrans mobiles (smartphones) */
@media (max-width: 768px) {
    header {
        flex-direction: row; /* Aligne le logo à gauche et le burger à droite */
        justify-content: space-between;
        padding: 15px 20px;
    }

    .brand {
        padding-left: 0;
        width: auto;
    }

    .menu-toggle {
        display: flex; /* Affiche le bouton burger sur mobile */
    }

    /* Le menu caché par défaut sur mobile */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
        border-bottom: 1px solid #222;
        padding-left: 0;
    }

    /* Classe activée en JS pour dérouler le menu */
    nav.active {
        max-height: 300px; 
    }

    nav ul.nav-list {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
    }

    /* Ajustement de la grille contact/tarifs sur mobile pour passer en 1 colonne */
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-column {
        width: 100%;
        max-width: 100%;
    }
}