/* --- CONFIGURATION GÉNÉRALE --- */
:root {
    --primary-color: #00d4ff; /* Bleu éclatant */
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- FOND EFFET MIROIR / DYNAMIQUE --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #1a1a1a 0%, #000 100%);
    z-index: -2;
}

/* --- NAVIGATION --- */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- SECTION HERO (ACCUEIL) --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* --- BOUTONS --- */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

.btn-select {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
}

.btn-select:hover {
    background: var(--primary-color);
    color: #000;
}

/* --- CARTES EFFET MIROIR (Services & Blog) --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.service-category, .blog-post, .contact-form, .about, .recap-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- GRID LAYOUTS --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-post img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* --- FORMULAIRE & INPUTS --- */
form input, form textarea, form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
}

form select option {
    background: #0a0a0a;
    color: white;
}

form button {
    cursor: pointer;
    width: 100%;
}

/* --- RÉCAPITULATIF RÉSERVATION --- */
.recap-box {
    border: 1px dashed var(--primary-color);
    margin: 20px 0;
}

.recap-box p {
    margin-bottom: 10px;
}

.warning-text {
    font-size: 0.85rem;
    color: #ffcc00;
    margin-top: 10px;
}

/* --- RÉSEAUX SOCIAUX --- */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* --- MODAL (FENÊTRE SURGISSANTE) --- */
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-bg);
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 600px;
    margin: 5% auto;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    color: white;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- CALENDRIER --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Bleu : Libre */
.slot-free {
    background-color: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.slot-free:hover {
    background-color: var(--primary-color);
    color: black;
}

/* Rouge : Réservé */
.slot-busy {
    background-color: rgba(255, 0, 0, 0.3);
    color: #ff4d4d;
    border-color: #ff4d4d;
    cursor: not-allowed;
}

/* Sélectionné (Verte) */
.slot-selected {
    background-color: #00ff88 !important;
    color: black !important;
    box-shadow: 0 0 15px #00ff88;
}

/* --- ADMIN PANEL SPECIFIC --- */
#appointment-list {
    font-size: 0.9rem;
    max-height: 300px;
    overflow-y: auto;
}

/* --- CLASSES UTILITAIRES --- */
.hidden {
    display: none !important;
}

.text-center { 
    text-align: center; 
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h1 { font-size: 2rem; }
    .container { padding: 40px 20px; }
}