/* assets/style.css */

:root {
    --primary: #FF5733; 
    --secondary: #FFC300; 
    --text-dark: #2c3e50;
    --bg-light: #fffaf0;
    --radius-lg: 25px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light); 
    color: var(--text-dark);
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden; /* Important pour ne pas avoir de barre de scroll horizontale avec les effets */
}

/* --- Navigation --- */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1rem 2rem;
    /* J'ai supprimé le border-top ici comme demandé */
}
.nav-link { font-weight: 600; color: var(--text-dark) !important; }
.nav-link:hover { color: var(--primary) !important; }

.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
}
.btn-primary:hover { filter: brightness(110%); }

/* --- Hero Wave Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding-top: 5rem;
    padding-bottom: 9rem; 
    position: relative;
    text-align: center;
    transition: background 0.5s ease;
    z-index: 1; /* Important pour que la neige passe derrière le texte si besoin */
}

/* --- GESTION DES VAGUES (HAUT ET BAS) --- */
/* Cela va colorer TOUTES les formes de vagues (clip-path ou SVG) avec la couleur de fond du thème */
.hero-wave, .bottom-wave, .footer-wave svg path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* La vague du haut utilise bg-light pour fondre l'image dans le contenu */
    background-color: var(--bg-light); 
    fill: var(--bg-light) !important; /* Pour les SVG du bas */
    transition: background-color 0.5s ease, fill 0.5s ease;
}

/* Spécifique pour la vague du haut faite en CSS */
.hero-wave {
    height: 80px;
    clip-path: ellipse(65% 100% at 50% 100%);
}

/* --- Cards & Layout --- */
.card-custom {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    background: white;
    margin-bottom: 2rem;
}
.card-custom:hover { transform: translateY(-5px); }
.card-img-top { height: 200px; object-fit: cover; }

/* --- Masonry --- */
.masonry-grid { column-count: 3; column-gap: 1.5rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.5rem; }
@media(max-width: 992px) { .masonry-grid { column-count: 2; } }
@media(max-width: 576px) { .masonry-grid { column-count: 1; } }

/* --- Audio --- */
audio { width: 100%; border-radius: 30px; margin-top: 10px; }

/* --- Tags --- */
.badge-tag { 
    background-color: #eee; 
    color: var(--text-dark); 
    border-radius: 15px; padding: 5px 12px; margin-right: 5px; font-size: 0.85rem; text-decoration: none;
}
.badge-tag:hover { background-color: var(--secondary); color: white; }