* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #101010;
    color: #f5f1e8;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #080808;
    padding: 25px 8%;
    text-align: center;
    border-bottom: 1px solid #b99a5b;
}

header h1 {
    color: #d6b46a;
    font-size: 30px;
    letter-spacing: 4px;
}

header p {
    color: #c9c9c9;
    margin: 5px 0 20px;
    letter-spacing: 3px;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #d6b46a;
}

section {
    padding: 70px 8%;
    text-align: center;
}

#accueil {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #242018, #080808);
}

#accueil h2 {
    color: #d6b46a;
    font-size: clamp(30px, 5vw, 52px);
    margin-bottom: 15px;
}

#accueil p {
    margin-bottom: 25px;
}

#accueil a {
    background-color: #d6b46a;
    color: #101010;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
}

section h2 {
    color: #d6b46a;
    margin-bottom: 25px;
    font-size: 30px;
}

article {
    display: inline-block;
    vertical-align: top;
    background-color: #1b1b1b;
    border: 1px solid #51432b;
    padding: 25px;
    margin: 12px;
    width: 220px;
}

article h3 {
    color: #d6b46a;
    margin-bottom: 10px;
}

article a {
    display: inline-block;
    color: #d6b46a;
    margin-top: 15px;
}

#services,
#contact {
    background-color: #171717;
}

#services p,
#contact p {
    margin: 10px 0;
}

footer {
    padding: 25px;
    text-align: center;
    color: #bdb6a7;
    border-top: 1px solid #51432b;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    nav {
        gap: 15px;
    }

    section {
        padding: 45px 5%;
    }

    article {
        width: 100%;
        margin: 10px 0;
    }
}
/* --- PRESTATIONS (GRID & IMAGES) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: #141414;
    border: 1px solid #c5a059;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 180px; /* Redimensionne les images */
    object-fit: cover; /* Évite que l'image soit déformée */
    border-radius: 8px;
    margin-bottom: 12px;
}

.service-card h3 {
    color: #f5f5f5;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.price {
    color: #c5a059;
    font-weight: bold;
    font-size: 1.2rem;
}



/* --- SECTION NOS SALONS (Style Exact de l'Image) --- */

.badge-sans-rdv {
    display: inline-block;
    background-color: #e2c044;
    color: #000;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 4px;
    margin: 0 auto 20px auto;
    font-size: 0.95rem;
    text-transform: uppercase;
}

#salons {
    text-align: center;
    padding: 40px 20px;
}

#salons h2 {
    color: #e2c044;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

#salons .subtitle {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 35px;
}

/* Grille des Salons */
.salons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Carte Salon avec Border Doré */
.salon-card {
    background-color: #1a1a1a;
    border: 1px solid #c5a059;
    border-radius: 4px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.salon-card:hover {
    transform: translateY(-5px);
    border-color: #e2c044;
}

.salon-card h3 {
    color: #e2c044;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: bold;
}

.salon-card p {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Bouton Choisir ce salon */
.btn-salon {
    color: #e2c044;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.btn-salon:hover {
    color: #ffffff;
}
/* --- BOUTON GALERIE & FOOTER --- */
.btn-galerie {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #e2c044;
    border: 2px solid #e2c044;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-galerie:hover {
    background-color: #e2c044;
    color: #000;
}

footer {
    background-color: #0d0d0d;
    border-top: 1px solid #c5a059;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

footer h3 {
    color: #e2c044;
    margin-bottom: 15px;
}

footer p {
    color: #ffffff;
    margin: 8px 0;
}

footer a {
    color: #e2c044;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    color: #777777 !important;
    font-size: 0.85rem;
    margin-top: 20px !important;
}
/* --- FIX TAILLE IMAGES GALERIE --- */
#galerie-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.gallery-img {
    width: 100%;
    height: 200px; /* Taille fixe pour toutes les photos */
    object-fit: cover; /* Pour ne pas déformer l'image */
    border-radius: 6px;
    border: 1px solid #c5a059;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.04);
    border-color: #e2c044;
}
/* --- LIGHTBOX (ZOOM IMAGE) --- */
.gallery-img {
    cursor: pointer; /* Affiche une main au survol pour indiquer qu'on peut cliquer */
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid #e2c044;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(226, 192, 68, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #e2c044;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ffffff;
}
/* --- DESIGN DES PAGES SALONS & TARIFS --- */
.salon-detail-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Horaires */
.salon-info-box {
    text-align: center;
    margin-bottom: 50px;
}

.salon-info-box h2 {
    font-size: 2.2rem;
    color: #e2c044;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.horaires-card {
    background: #141414;
    border: 1px solid #c5a059;
    border-radius: 12px;
    padding: 25px 35px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.horaires-card h3 {
    color: #e2c044;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.horaires-card p {
    font-size: 1.05rem;
    margin: 8px 0;
    color: #e0e0e0;
}

.horaires-card .fermeture {
    color: #e74c3c;
    font-weight: bold;
}

/* Section Tarifs */
.tarifs-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tarif-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    padding: 20px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.tarif-card:hover, .tarif-card:active {
    border-color: #e2c044;
    background: #222018;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(226, 192, 68, 0.2);
}

.service-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2c044;
    background: rgba(226, 192, 68, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(226, 192, 68, 0.2);
}

/* Bouton Retour */
.btn-galerie {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: #e2c044;
    border: 2px solid #e2c044;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-galerie:hover {
    background-color: #e2c044;
    color: #000000;
}
/* Curseur zoom 3la l-images w les vidéos kamlin */
.gallery-grid img, .gallery-grid video {
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-grid video:hover {
    border-color: #e2c044;
    transform: scale(1.02);
}
/* --- BOUTONS NAVIGATION LIGHTBOX --- */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #e2c044;
    border: 1px solid #e2c044;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1000;
}

.lightbox-btn:hover {
    background: #e2c044;
    color: #000;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}
/* Styling dyal l-Lightbox l-jdid */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* L-contenu dyal l-media ( photo / video ) */
.lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    max-height: 90vh;
}

/* L-photo w l-video y-akho taille dyalhom nishan blla bordure zayd */
.lightbox-content img, 
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 2px solid #e2c044;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(226, 192, 68, 0.4);
}
<div style="border: 2px solid #e2c044; border-radius: 15px; padding: 20px; max-width: 450px; margin: 20px auto; background-color: rgba(20, 20, 20, 0.8); text-align: center;">
    <h3 style="color: #e2c044;">⚪ Horaires d'ouverture</h3>
    <p><strong>Du Mardi au Samedi :</strong> 09h00 – 19h00</p>
    <p><strong>Dimanche :</strong> 10h00 – 16h00</p>
    <p><strong style="color: #ff4d4d;">Lundi : Fermé</strong></p>
</div>
/* ================= RESPONSIVE UNIVERSEL (MOBILE, TABLETTE, IPAD) ================= */

/* Protection générale contre le débordement */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* Images & Vidéos : Ajustement automatique à l'écran */
img, video {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

/* --- ADAPTATION POUR TABLETTES ET IPAD (jusqu'à 1024px) --- */
@media screen and (max-width: 1024px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 colonnes sur iPad */
        gap: 15px;
        padding: 15px;
    }
}

/* --- ADAPTATION POUR SMARTPHONES / TÉLÉPHONES (jusqu'à 768px) --- */
@media screen and (max-width: 768px) {
    
    /* Header & Navigation */
    header {
        padding: 15px 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a {
        font-size: 0.85rem;
        padding: 5px 8px;
    }

    /* Titres principaux */
    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.2rem !important;
    }

    p, .subtitle {
        font-size: 0.9rem !important;
    }

    /* Grille de la Galerie (2 colonnes propres sur mobile) */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 10px;
    }

    /* Boîtes des Salons & Horaires */
    .horaires-box, .salon-card {
        width: 90% !important;
        margin: 15px auto !important;
        padding: 15px !important;
    }
}