/* =========================
   HEADER / NAVBAR
   ========================= */
.header-section {
    background-color: #bfa49b;
    color: white;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.header-logo {
    max-height: 320px;
    height: auto;
}

.header-section .nav-item .btn {
    color: white;
    font-size: 1.2rem;
    padding: 8px 20px;
    font-weight: bold;
    border: none;
    background: none;
}

.header-section .nav-item .btn:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-section .nav-item .btn.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Dropdown au survol (desktop) */
.header-section .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.header-section .dropdown-menu {
    background-color: #ffffff;
    color: #000000;
}

.header-section .dropdown-menu .dropdown-item {
    color: #000000;
}

.header-section .dropdown-menu .dropdown-item:hover {
    background-color: #f2f2f2;
}

/* =========================
   BOUTONS PRINCIPAUX
   ========================= */
.btn-reserver {
    background-color: #764f59;
    color: #fff;
    font-weight: bold;
    transition: none;
}

.btn-reserver:hover {
    background-color: #764f59;
    color: #fff;
}

.btn-big {
    font-size: 1.5rem;
    padding: 12px 30px;
    border-radius: 8px;
}

/* =========================
   TITRE + SÉPARATEUR
   ========================= */
.separator {
    width: 100px;
    height: 5px;
    background-color: #5e3f47;
    border: none;
    margin: 30px auto;
}

.title-spacing {
    margin-top: 100px;
}

/* =========================
   TYPO / BODY
   ========================= */
@font-face {
    font-family: 'Shreed-Bold';
    src: url('fonts/ShreeDev0714-Bold.woff2') format('woff2'),
         url('fonts/ShreeDev0714-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #fff6f3;
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Shreed-Bold', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* =========================
   SECTION À PROPOS
   ========================= */
.text-section {
    margin-top: 150px;
}

.services-title {
    color: #999999;
}

.small-text {
    font-size: 1rem;
}

/* =========================
   CONTACT BAR (sous À propos)
   ========================= */
.contact-section {
    background-color: #ffede7;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #764f59;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    font-size: 18px;
}

/* =========================
   FOOTER
   ========================= */
.footer-main {
    background-color: #bfa49b;
}

.footer-bottom {
    background-color: #806d68;
    color: #fff;
    padding: 1rem 0;
}

.footer a,
.footer-link {
    color: #d3d3d3;
    text-decoration: none;
}

.footer a:hover,
.footer-link:hover {
    color: #ffffff;
}

.footer-bottom .social-icons i {
    color: #d3d3d3;
    transition: color 0.3s, transform 0.3s;
}

.footer-bottom .social-icons i:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* =========================
   BOUTON RETOUR EN HAUT
   ========================= */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
    border-radius: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    background-color: #593b43;
    border: none;
    transform: translateY(20px);
}

#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: scale(1.2);
}

/* =========================
   SECTIONS PAR ONGLET
   ========================= */
.content-section {
    display: block;
}

/* =========================
   BLOCS / FORM / MAP
   ========================= */
.shadow-box {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-form-block {
    background-color: #ffede7;
}

.map-container iframe {
    border-radius: 10px;
}

/* Bouton envoyer formulaire contact */
#contactForm .btn-reserver {
    background-color: #764f59;
    border: none;
}

#contactForm .btn-reserver:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Code anti-spam */
#captcha-code {
    background-color: #e6e6e6;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 2px;
    font-family: monospace;
    user-select: none;
}

/* =========================
   SECTION OÙ NOUS TROUVER
   ========================= */
.ou-nous-trouver {
    min-height: 400px;
    background-color: #bfa49b;
    border-radius: 0.5rem;
}

.ou-nous-trouver .col-md-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ou-nous-trouver iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   GALERIE
   ========================= */
.galerie-item {
    position: relative;
}

.galerie-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 0.9 / 1;
    border: 10px solid #fff;
    border-radius: 0;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Overlay à l'intérieur du cadre */
.overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 0 0 5px 5px;
}

.overlay span {
    opacity: 0;
    transform: translateY(100%);
    transition: 0.3s ease;
    text-align: center;
    padding: 0 5px;
    font-size: 0.8rem;   /* 🔹 au lieu de 1rem si tu veux garder petit */
}

.galerie-item:hover .overlay {
    height: 7%;
}

.galerie-item:hover .overlay span {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.8rem;   /* 🔹 au lieu de 1rem si tu veux garder petit */
}

/* GLightbox description */
.gdesc-inner {
    padding: 0 !important;
}

.gslide-description {
    background: none !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 40px !important;
}

.gslide-title {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 40px !important;
    display: inline-block !important;
}

.glightbox-counter {
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 40px !important;
    display: inline-block !important;
}

/* =========================
   PRODUITS
   ========================= */
.produit-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.produit-img {
    max-width: 100%;
    height: 280px;
    display: block;
    transition: transform 0.3s ease;
    margin: 0 auto;
    object-fit: cover;
}

.produit-title {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.produit-item:hover {
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Navigation détail produit */
.product-nav-buttons a {
    font-weight: normal;
    text-decoration: none;
    color: #000;
    margin-left: 15px;
    font-size: 16px;
    padding: 0;
}

.product-nav-buttons a:hover {
    color: #007bff;
}

.product-nav-buttons .prev {
    margin-right: 10px;
}

.product-nav-buttons .next {
    margin-left: 10px;
}

#detail-price {
    font-weight: bold;
}

#detail-img:hover {
    opacity: 0.9;
    cursor: pointer;
    transition: 0.3s;
}

/* Lightbox produit solo */
.single-product-lightbox .gprev,
.single-product-lightbox .gnext {
    display: none !important;
}

.single-product-lightbox img {
    cursor: zoom-in;
}

/* Séparateur catégories produits */
.product-category-separator {
    position: relative;
    text-align: center;
    margin: 80px 0 50px 0;
}

.product-category-separator h2 {
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 0 20px;
    letter-spacing: 1px;
}

/* Traits gauche et droit */
.product-category-separator h2::before,
.product-category-separator h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 400px;
    height: 2px;
    transform: translateY(-50%);
}

/* Trait gauche */
.product-category-separator h2::before {
    left: -420px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
}

/* Trait droit */
.product-category-separator h2::after {
    right: -420px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
}

/* =========================
   RÉSERVATIONS
   ========================= */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    transition: transform 0.2s ease-in-out;
    text-align: center;
    max-width: 320px;
    margin-bottom: 20px;
}

.service-card img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
    margin-bottom: 10px;
}

.service-card.selected img {
    border-color: #007bff;
}

.service-card h4 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.length-select {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
    height: 55px;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #ccc;
}

.service-options-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

/* Bouton Calendly */
.btn-custom {
    background-color: #764f59;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #764f59;
    color: white;
}

/* Containers options par service (taille texte) */
#optionsContainer-SechageNaturel,
#optionsContainer-Brushing,
#optionsContainer-HairmonyCurlyCut,
#optionsContainer-ChignonCoiffureMariage,
#optionsContainer-Coloration,
#optionsContainer-Mèches,
#optionsContainer-Patine,
#optionsContainer-Permanente,
#optionsContainer-Balayages,
#optionsContainer-Lissage,
#optionsContainer-SoinCapillaire,
#optionsContainer-Coupe-Homme,
#optionsContainer-Coupe-Tondeuse,
#optionsContainer-Permanente-Homme,
#optionsContainer-Garçons,
#optionsContainer-Filles,
#optionsContainer-HairmonyCurlyCutEnfant {
    font-size: 1.2rem;
}

/* Boîtes prix par service */
#price-SechageNaturel,
#price-Brushing,
#price-HairmonyCurlyCut,
#price-ChignonCoiffureMariage,
#price-Coloration,
#price-Mèches,
#price-Patine,
#price-Permanente,
#price-Balayages,
#price-Lissage,
#price-SoinCapillaire,
#price-Coupe-Homme,
#price-Coupe-Tondeuse,
#price-Permanente-Homme,
#price-Garçons,
#price-Filles,
#price-HairmonyCurlyCutEnfant {
    font-size: 1.5rem;
    font-weight: bold;
}

.service-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

/* Séparateur catégories réservations */
.reservation-category-separator {
    position: relative;
    text-align: center;
    margin: 80px 0 50px 0;
}

.reservation-category-separator h2 {
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 0 20px;
    letter-spacing: 1px;
}

.reservation-category-separator h2::before,
.reservation-category-separator h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 400px;
    height: 2px;
    transform: translateY(-50%);
}

.reservation-category-separator h2::before {
    left: -420px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
}

.reservation-category-separator h2::after {
    right: -420px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
}

/* =========================
   MENU BURGER MOBILE
   ========================= */
.burger-btn {
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    font-size: 40px;
    padding: 8px 14px;
    margin-top: -20px; /* Ajuste jusqu'à ce que ce soit parfait */
}

/* Panneau latéral mobile */
#hm-menu-panel {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    color: #000;
    z-index: 1000;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    text-align: left;
}

#hm-menu-panel.open {
    left: 0;
}

#hm-menu-close {
    font-size: 28px;
    cursor: pointer;
    display: block;
    text-align: right;
    margin-bottom: 10px;
}

.hm-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hm-menu-list > li {
    margin-bottom: 10px;
}

.hm-menu-list a,
.hm-menu-list span {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Liens de menu principal (niveau 1) */
.hm-menu-list > li > a {
    display: block;
    font-weight: 700;              /* plus gras */
    padding: 10px 0;
}

/* Barre de séparation entre chaque menu principal */
.hm-menu-list > li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.hm-submenu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.hm-submenu li {
    margin-bottom: 5px;
}

.hm-submenu a {
    font-weight: 400;              /* plus léger que le menu principal */
    font-size: 0.95rem;
    padding: 3px 0;
    display: block;
    border: none;                  /* pas de séparation pour les sous-menus */
    opacity: 0.85;
}

.hm-submenu a:hover {
    opacity: 1;
}


/* =========================
   RESPONSIVE
   ========================= */

/* Traits des séparateurs produits/réservations en mobile */
@media (max-width: 768px) {
    .product-category-separator h2::before,
    .product-category-separator h2::after,
    .reservation-category-separator h2::before,
    .reservation-category-separator h2::after {
        width: 80px;
    }

    .product-category-separator h2::before,
    .reservation-category-separator h2::before {
        left: -100px;
        right: auto;
    }

    .product-category-separator h2::after,
    .reservation-category-separator h2::after {
        right: -100px;
        left: auto;
    }

    .product-category-separator h2,
    .reservation-category-separator h2 {
        font-size: 1.4rem;
        padding: 0 10px;
    }
}

/* Petits écrans (smartphones) */
@media (max-width: 575.98px) {

    .title-spacing {
        margin-top: 40px;
    }

    .text-section {
        margin-top: 60px;
    }

    .product-category-separator,
    .reservation-category-separator {
        margin: 40px 0 30px 0;
    }

    .service-card {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card img {
        width: 70vw;
        height: 70vw;
        max-width: 320px;
        max-height: 320px;
    }

    .produit-img {
        height: auto;
        max-height: 260px;
        object-fit: cover;
    }

    .galerie-img {
        border-width: 6px;
    }

    .ou-nous-trouver {
        min-height: auto;
    }

    .ou-nous-trouver .col-md-6:first-child {
        margin-bottom: 1.5rem;
    }

    /* Centrer le burger au-dessus du logo si besoin */
    .header-section {
        position: relative;
    }

    .burger-btn {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Boutons A-Propos — Affichage mobile propre */
@media (max-width: 576px) {
    .a-propos-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px; /* espace vertical */
    }

    .a-propos-buttons .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        white-space: normal; /* permet retour à la ligne propre */
        font-size: 16px;
        padding: 12px 16px;
    }    
}

/* =========================
   GALERIE & PRODUITS — MOBILE 2 PAR LIGNE
   ========================= */
@media (max-width: 768px) {

    /* Conteneur galerie */
    .galerie-section .row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px !important;
    }

    .galerie-section .col-md-3 {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Images galerie */
    .galerie-section .galerie-img {
        width: 100%;
        aspect-ratio: 1/1 !important;
        object-fit: cover;
        border-width: 4px !important;
    }

    /* Conteneur produits */
    .produits-section .row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px !important;
    }

    .produits-section .col-md-3,
    .produits-section .col-md-4 {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Images produits */
    .produits-section .produit-img {
        width: 100%;
        aspect-ratio: 1/1 !important;
        object-fit: cover;
    }
}

/* Liens spécifiques dans À propos */
.apropos-link {
    color: #764f59; /* couleur identique à tes boutons */
    font-weight: bold;
    text-decoration: none;
}

.apropos-link:hover {
    text-decoration: underline;
    color: #593b43; /* un léger assombrissement au survol */
}

/* Titres des produits dans la page produits */
.produit-title {
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 600;
}

/* Si le titre est dans un lien (<a>) */
.produit-title a {
    color: #000 !important;
    text-decoration: none !important;
}

/* Au survol : rester noir, pas souligné */
.produit-title a:hover {
    color: #000 !important;
    text-decoration: none !important;
}

/* Section partenaires : marges et taille des logos */
.partners-section {
    margin-top: 3rem;    /* espace au-dessus des logos partenaires */
    margin-bottom: 3rem; /* espace en dessous, avant la section contact */
}

.partner-logo {
    max-height: 60px;    /* logos plus petits */
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Un peu plus d'air autour de la section contact aussi si tu veux */
.contact-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Alignement propre des contacts sur mobile */
@media (max-width: 768px) {
    .contact-section .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        padding-left: 50px !important; /* Ajuste la valeur si tu veux plus/moins */
    }

    .contact-section .container > div {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .contact-section .d-flex {
        flex-direction: row;
        align-items: flex-start !important;
        width: 100%;
    }

    .icon-button {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .contact-section span {
        line-height: 1.3;
    }

    /* Petit padding à gauche pour éviter que ça touche le bord */
    .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Conteneur centré */
.length-info {
    margin: 1.5rem auto 0 auto;
    display: inline-block;   /* pour que le bloc se centre proprement */
}

/* Chaque ligne : label | : | texte */
.length-row {
    display: flex;
    align-items: flex-start;
    margin: 3px 0;
}

/* Colonne "Cheveux courts / mi-longs / ..." */
.length-row .label {
    font-weight: 600;
    text-align: right;
    min-width: 170px;   /* 🔧 ajuste cette valeur si tu veux plus ou moins d'espace */
    margin-right: 6px;
}

/* Colonne ":" fixe */
.length-row .sep {
    width: 12px;
    text-align: center;
    margin-right: 6px;
}

/* Colonne texte explicatif */
.length-row .value {
    text-align: left;
}