/* =================================================================
   CORRECTIONS SENIOR DEV - SITE SHIMZO
   Standardisation des marges et corrections UX/UI
   ================================================================= */

/* RESET ET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* STANDARDISATION DES MARGES ENTRE SECTIONS */
/* Espacement uniforme de 4rem (64px) entre toutes les sections */
section {
    margin: 0 !important;
    padding: 4rem 1.5rem !important; /* 64px top/bottom, 24px left/right */
    display: block;
    position: relative;
}

/* Section Hero - Plein écran sans padding */
#hero-section {
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
}

/* Sections avec espacement standardisé */
#nouveaute,
#playlists,
#tournee,
#merch,
#contact {
    padding: 4rem 1.5rem !important;
    margin: 0 !important;
}

/* Responsive - Réduction des marges sur mobile */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem !important;
    }
    
    #nouveaute,
    #playlists,
    #tournee,
    #merch,
    #contact {
        padding: 3rem 1rem !important;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0.75rem !important;
    }
    
    #nouveaute,
    #playlists,
    #tournee,
    #merch,
    #contact {
        padding: 2rem 0.75rem !important;
    }
}

/* OPTIMISATION DES TRANSITIONS ENTRE SECTIONS */
section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CORRECTION DE L'ESPACEMENT DES CONTENEURS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* AMÉLIORATION DE LA LISIBILITÉ */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* OPTIMISATION DES CARTES ET ÉLÉMENTS INTERACTIFS */
.glassmorphism,
.glassmorphism-dark {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glassmorphism:hover,
.glassmorphism-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* CORRECTION DES GRILLES RESPONSIVE */
.grid {
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid {
        gap: 1.5rem;
    }
}

/* OPTIMISATION DES VIDÉOS */
video {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* AMÉLIORATION DE L'ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* CORRECTION DU FOOTER */
footer {
    margin: 0 !important;
    padding: 2rem 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* OPTIMISATION DES PERFORMANCES */
.card-3d,
.morph-effect {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* CORRECTION DES Z-INDEX */
.particles-container {
    z-index: 1;
}

.stars-container {
    z-index: 1;
}

header {
    z-index: 50;
}

#loading-screen {
    z-index: 10000;
}