body {
    font-family: 'Gowun Batang', serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    background-image: url('/assets/images/lac.jpg');
    background-size: cover;
    background-position: center;
}

header {
   
    padding: 20px;
    height: auto;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}


main {
    background-color: rgba(249, 249, 249, 0.9); /* 0.9 = 90% d'opacité */
    font-size: 1.1rem;
}


/* Header */


.left-header {
    display: flex;
    align-items: center;
    flex-direction: column;
}


.right-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.up-menu {
    margin-bottom: 5%;
    padding: 20px;
    padding-bottom: 2px;
    padding-top: 2px;
    color: rgb(69, 95, 17);
    background-color: rgba(249, 249, 249, 0.3); 
}

/* Gestion des images */

.profile-pic {
    position:relative;
    top: 10px;
    left: 10px;
    width: 180px;
    height: 180px;
    object-fit: contain;
}


.cabinet-pics {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet-pic {
    height: 250px;
    border-radius: 10%;
    width: auto;
    padding: 10px;
}

/* Articles de blog*/

.photo-container {
    position: relative; /* ✅ Nécessaire pour positionner le copyright par rapport à l'image */
    display: inline-block;
    max-width: 100%;
    text-align: center;
    margin: auto;
}

.photo-container img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: auto;
}

/* Copyright sur image */
.photo-container .copyright {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 4px;
}




/*Modif papa et emilia*/
/* Conteneur global */
.cabinet-pics {
    display: flex;
    gap: 20px;
}

/* Chaque image et son texte */
.cabinet-item {
    position: relative;
    display: inline-block;
    text-align: center;
}

/* Effet d'agrandissement */
.cabinet-pic {
    transition: transform 0.3s ease-in-out;
    width: 200px; /* Ajuste la taille de l'image */
    cursor: pointer;
}

.cabinet-item:hover .cabinet-pic {
    transform: scale(2);
}

/* Texte caché */
.hidden-text {
    opacity: 0;
    position: absolute;
    bottom: -25px; /* Ajuste la position */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.3s ease-in-out;
}

/* Affichage du texte au survol */
.cabinet-item:hover .hidden-text {
    opacity: 1;
}



.logos img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}



/* Menu */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


.presentation, .services {
    text-align: center;
    padding: 30px;
}

/* Boutons */

.btn, #contact-form button {
    display: inline-block;
    font-size: 1.2rem;
    color: white;
    background-color: #6B705C;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
.btn:hover, #contact-form button:hover {
    background-color: #8D6E63;
}

.menu-link, #contact-form button {
    display: inline-block;
    font-size: 1.2rem;
    color: white;
    background-color: #6B705C;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
.menu-link:hover,
#contact-form button:hover {
  background-color: #8D6E63;
}

.menu-link.new-page, #contact-form button {
    display: inline-block;
    font-size: 1.2rem;
    color: white;
    background-color: #6B705C;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
.menu-link.new-page:hover,
#contact-form button:hover {
  background-color: #8D6E63;
}

/* Animation de rebond pour le bouton de nouvelle page */

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  .new-page {
    animation: bounce 1s infinite;
  }
  
  

.btn1 {
    background-color: #3d3f36!important;;
    color: white!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn1:hover {
    background-color: #8D6E63!important;;
}

.btn2 {
    background-color: #ebece6!important;;
    color: rgb(27, 23, 23)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn2:hover {
    background-color: #8D6E63!important;;
}
.btn3 {
    background-color: #61c5ac!important;; 
    color: rgb(53, 43, 43)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn3:hover {
    background-color: #8D6E63!important;;
}

.btn4 {
    background-color: #b3c0bd!important;; 
    color: rgb(53, 43, 43)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn4:hover {
    background-color: #8D6E63!important;;
}

.btn5 {
    background-color: #0c6450!important;; 
    color: rgb(255, 255, 255)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn5:hover {
    background-color: #8D6E63!important;;
}

.btn6 {
    background-color: #63f0cd!important;; 
    color: rgb(53, 43, 43)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn6:hover {
    background-color: #8D6E63!important;;
}

.btn7 {
    background-color: #69968b!important;; 
    color: rgb(53, 43, 43)!important;;
    display: inline-block;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn7:hover {
    background-color: #8D6E63!important;;
}

/*Spécifique aux pages*/

.actualites, .qui-suis-je, .articles, .temoignages, .info-pratiques, .pratiques, .deroulement_seance, .reservation, .mentions_legales, .rgpd, .cgu, .mediation_de_la_consommation,.sexotherapie, .sexo_hommes, .sexo_femmes, .sexo_queer, .sexo_couples {
    /* color: #323f0c; */
    padding: 30px;
}

.info-pratiques {
    text-align: center;
}

.info-pratiques ul {
    list-style-type: none;
    padding: 0;
}




/* Nouveaux boutons */
/* From Uiverse.io by alexmaracinaru */ 
.cta {
    position: relative;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #b1dae7;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
  }
  
  .cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #316723;
  }
  
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #296723;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .cta:hover:before {
    width: 100%;
    background: #b1e7b1;
  }
  
  .cta:hover svg {
    transform: translateX(0);
  }
  
  .cta:active {
    transform: scale(0.95);
  }
  

/* 🌿 MENU DÉROULANT PRINCIPAL */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Contenu du menu déroulant */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    padding: 10px;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Affichage au survol */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Liens du premier niveau */
.dropdown-content > li > a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    background-color: white;
}

.dropdown-content > li > a:hover {
    background-color: #f0f0f0;
}

/* 🌿 SOUS-MENU (deuxième niveau) */
.dropdown-sub {
    position: relative;
}

/* Sous-menu caché par défaut */
.dropdown-sub-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* collé à droite du parent */
    background-color: white;
    min-width: 260px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 9999;
}
/* Empêche le sous-menu de disparaître trop tôt */
.dropdown-sub {
    position: relative;
}

.dropdown-sub:hover,
.dropdown-sub:hover > .dropdown-sub-content,
.dropdown-sub-content:hover {
    display: block;
}

/* Reste visible tant que la souris est dans le parent OU dans le sous-menu */
.dropdown-sub:hover .dropdown-sub-content,
.dropdown-sub-content:hover {
    display: block;
}

/* Liens du sous-menu */
.dropdown-sub-content li a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
}

.dropdown-sub-content li a:hover {
    background-color: #eaeaea;
}

/* ⚙️ Harmonisation des styles avec les boutons .cta */
.dropdown-content a.cta,
.dropdown-sub-content a.cta {
    margin: 6px 0;
    width: 100%;
    display: block;
    text-align: left;
}

/* ✅ Fix : pour que les liens parents (dropdown-sub > a) restent visibles et survolables */
.dropdown-sub > a {
    display: block;
    position: relative;
    z-index: 2;
}



/* Visible seulement en mode mobile */
#menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 30px;
    position: absolute;
    top: 15px;
    
    color: white;
    cursor: pointer;
}


/* Erreurs */
.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.input-error {
    border: 2px solid red !important;
    background-color: #ffecec;
}

/* */
.pratiques_categories {
    display: flex;
    flex-wrap: column;
    flex-direction: column;
    justify-content: left;
    gap: 20px;
}


/* Prise de rdv */


.rdv {
    max-width: 1400px;
    height: 1200px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(249, 249, 249, 0.7); /* 0.7 = 70% d'opacité */
}


.plus_gros {
    font-size: 2rem;
    font-weight: bolder;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*#type_rdv {
    font-weight: bold;
    font-size: 1.2rem;
    
}
*/

/* Bas de page */

footer {
    background-color: #6B705C;
    text-align: center;
    padding: 15px;
    color: white;
    margin-top: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    padding: 5px;
}

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




/*Formulaire de contact*/
#contact-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#contact-form label {
    font-weight: bold;
    margin-top: 10px;
}

#contact-form input, 
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


/* Mise en évidence du clic sur un créneau */
.highlight-message {
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajout d'un effet de survol sur les créneaux */
.fc-event {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.3s;
}

.fc-event:hover {
    transform: scale(1.05);
    background-color: #2196F3 !important; /* Couleur plus visible */
}


/* PAGE CALENDAR.PHP */

/* Centrer et élargir le calendrier */
#calendar_container {
    width: 100%;
    max-width: 900px; /* Ajuste selon ta mise en page */
    margin: 20px auto;
    overflow: hidden; /* ✅ Empêche le débordement */
}

/* Forcer le calendrier à s'adapter */
#calendar {
    width: 100% !important;
    min-height: 500px;
}

/* Fix pour FullCalendar */
.fc-view-container {
    width: 100% !important;
}


/* Centrer le contenu */
.reservation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Réparer l'affichage du calendrier */
#calendar_container {
    width: 100%;
    max-width: 900px;  /* Ajuste selon la mise en page */
    margin: 20px auto;
}

/* Amélioration du message de sélection */
.highlight-message {
    display: none;
    background-color: yellow;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    margin: 10px auto;
}

.fc-daygrid-day.fc-day-today {
    background-color: #ffeb99 !important; /* Couleur de fond pour la journée actuelle */
}

.fc-daygrid-day[data-date] .fc-daygrid-day-top {
    position: relative;
}


.bandeau-domicile {
    background: #ffcc00;
    color: #333;
    text-align: center;
    padding: 3px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 14px;
}




/* DEBUG OVH */
.fc-icon {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}




/* Message de confirmation */


#confirmation-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;

}


.success-message {
    background-color: #28a745; /* Vert */
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 20px auto;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animation d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}




/* Survol pour desktop */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}


/* SECTIONS TYPE TOGGLE */

.toggle-section {
    display: none; /* Caché par défaut */
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 5px;
}

.toggle-section ul {
    list-style-type: none;
    padding: 0;
}

.toggle-button {
    background-color: #12161231;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    display: block;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
}

.toggle-button:hover {
    background-color: #2b3541c0;
}





/* MISE EN FORME MOBILE */


@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #6B705C;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }
    
    img {
        height: auto;
    }

    nav ul.show {
        display: flex;
    }

    #menu-toggle {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        position: absolute;
        top: 15px;
        left: 15px;
        color: black;
    }

    h1, h2, h3, p {
        text-align: center;
        padding: 10px;
    }

    .up-menu {
        font-size: smaller ;
    }

    .cabinet-pics {
        flex-direction: column;
    }


    .left-header, .right-header {
        width: 100%;
        text-align: center;
    }

    .profile-pic {
        width: 100px; /* Taille plus adaptée */
        height: 100px;
        position: static; /* Supprime le positionnement problématique */
        display: block;
        margin: 0 auto; /* Centre l’image */
    }

    .dropdown {
        position: relative;
    }

    .dropdown-content {
        position: static;
        width: 100%;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Activation du menu déroulant au clic sur mobile */
    .dropdown-content.show {
        display: block;
        position: static;
        width: 100%;
    }

    .petit {
        font-size: smaller;
       
    }

    .btn {
        display: block;
        margin: 10px auto;
        font-size: 1rem;
        width: 80%;
        text-align: center;
    }
    footer {
        text-align: center;
        padding: 10px;
    }

    footer a {
        display: block;
        padding: 5px 0;
    }
}

@media (max-width: 768px) {
    .fc .fc-daygrid-day-frame {
        min-width: 100%; /* Évite que les jours se superposent */
    }
    
    .fc .fc-scrollgrid-sync-inner {
        min-width: 100%;
    }

    .fc-timeGridWeek-view .fc-col-header-cell {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Empêche le chevauchement des jours */
    }
}

