/* ==========================================
   BASE.CSS — Commun à toutes les pages
   (reset, variables, navbar, footer, éléments partagés)
   ========================================== */

/* --- 1. Réinitialisation & variables globales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0c0c0e;
    --bg-card: #16161a;
    --primary-color: #00e6ff; /* Bleu électrique / néon initial */
    --text-color: #ffffff;
    --text-muted: #a0a0a5;
}

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

/* --- 2. Barre de navigation (navbar) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(12, 12, 14, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

/* --- Logo 3D isométrique --- */
.logo-3d-container {
    text-decoration: none;
    display: inline-block;
    perspective: 1000px;
    cursor: pointer;
}

.text-3d {
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: skew(60deg, 330deg) rotateX(45deg);
}

.row-3d {
    display: flex;
    transform-style: preserve-3d;
}

.row-3d:last-child {
    margin-top: -10px;
}

.letter {
    width: fit-content;
    height: fit-content;
    transform-style: preserve-3d;
    padding: 0 3px;
    color: #8a8a93;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.letter span {
    display: block;
    font-family: 'Poppins', 'Franklin Gothic Medium', sans-serif;
    font-size: 32px;
    font-weight: 200;
    text-transform: uppercase;
    text-shadow:
        -1px 1px 0px #020302, -2px 2px 0px #020302, -3px 3px 0px #020302,
        -4px 4px 0px #020302, -5px 5px 0px #020302, -6px 6px 0px #020302,
        -7px 7px 0px #020302, -8px 8px 1px #020302;
    transition: text-shadow 0.3s ease;
}

/* Survol harmonisé en rouge */
.letter:hover {
    color: #ff2a2a;
}

.letter:hover span {
    text-shadow:
        -1px 1px 0px #800000,
        -2px 2px 0px #800000,
        -3px 3px 0px #800000,
        -4px 4px 0px #800000,
        -5px 5px 0px #660000,
        -6px 6px 0px #660000,
        -7px 7px 0px #4d0000,
        -8px 8px 10px rgba(255, 42, 42, 0.3);
}

/* --- Liens du menu --- */
nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

nav a.active {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

/* --- Boutons génériques réutilisés sur plusieurs pages --- */
.btn-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.4);
}

/* --- Conteneurs de mise en page génériques --- */
.section-container {
    padding: 60px 8% 80px 8%;
}

.section-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Conteneur de largeur fixe réutilisable (voir admin.php) */
.content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* --- Pied de page --- */
footer {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-color);
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 8px rgba(0, 230, 255, 0.4);
}

/* --- Bannière de page (hauteur 250px), réutilisée sur plusieurs pages --- */
.contact-banner {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('../Images/tutomusical.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), var(--bg-color));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 1.05rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 300;
}
