/* ============================
   STYLES MOBILE SIMPLIFIÉ
   ============================ */

/* Reset pour mobile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Playfair', sans-serif;
    color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}

/* Cacher la sidebar desktop */
.sidebar {
    display: none !important;
}

/* Overlay sombre quand menu ouvert */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Bouton hamburger mobile - À DROITE */
.hamburger-btn {
    position: fixed;
    top: 5px !important;
    right: 5px !important;
    width: 50px;
    height: 50px;
    background-color: #1b1b1c;
    border: 2px solid #52c500;
    border-radius: 10px;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu déroulant mobile - GLISSEMENT DEPUIS LA DROITE */
.dropdown-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 280px;
    height: 100%;
    background-color: #1b1b1c;
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    border-left: 1px solid #52c500;
}

.dropdown-menu.active {
    right: 0;
}

/* En-tête du menu */
.menu-header {
    padding: 20px;
    background-color: rgba(82, 197, 0, 0.1);
    border-bottom: 1px solid rgba(82, 197, 0, 0.2);
    text-align: center;
}

.menu-title {
    color: #52c500;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.menu-subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* Liste du menu */
.menu-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
    list-style: none;
}

.menu-list li {
    margin: 0 10px 5px 10px;
}

.menu-item {
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.menu-item.active {
    background-color: rgba(82, 197, 0, 0.2);
    border-left: 3px solid #52c500;
}

.menu-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: #52c500;
}

.menu-text {
    font-size: 17px; /* Texte agrandi */
    font-weight: 500;
    flex: 1;
}

/* Pied du menu */
.menu-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.menu-footer-text {
    color: #888;
    font-size: 13px;
    margin: 0;
}

/* Contenu principal */
.content {
    margin-left: 0 !important;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.tab {
    width: 100%;
    min-height: 100vh;
    padding: 20px 15px !important;
    background-color: #303030;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-snap-align: start;
}

/* Styles généraux - TEXTES AGRANDIS */
h1, h2 {
    margin-bottom: 20px;
    font-size: 1.8rem !important; /* Plus grand */
    line-height: 1.3;
}

h3 {
    font-size: 1.4rem !important;
    margin-bottom: 15px;
}

p, li {
    font-size: 16px !important; /* Plus grand */
    margin-bottom: 12px;
    line-height: 1.5;
}

/*------------------Onglet Acceuil-------------------*/
#accueil {
    padding: 15px !important;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.titre {
    position: relative;
    top: 40px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 60px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.description {
    position: relative;
    top: 10px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 90% !important;
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
    border-radius: 15px;
}

.logo-gauche {
    position: relative;
    margin: 40px auto 20px !important;
    text-align: center;
}

#Imge {
    width: 130px !important;
}

.droite {
    position: relative;
    margin-top: auto;
    margin-bottom: 40px;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    display: flex;
    align-items: center;
}

.service-container,
.rdv-container {
    width: 90% !important;
    padding: 12px 15px !important;
    margin-bottom: 8px;
    border-radius: 12px;
    height: auto;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-container h2,
.rdv-container h2 {
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.service-container p,
.rdv-container p {
    display: none !important;
}

.btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    margin-top: 0 !important;
    border-radius: 8px;
    align-self: center;
    min-width: 100px;
}

.widget-avis {
    display: none !important;
}

/* Indicateur "Aujourd'hui" pour mobile SEULEMENT */

    .today-indicator {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2px 0;
    }
    
    .today-text {
        font-size: 6px !important;
        font-weight: 700;
        color: #ffffff !important;
        background-color: #ff3333;
        line-height: 1.1;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 3px;
        padding: 2px 4px;
        position: absolute;
        top: 1px !important; /* Positionné plus haut */
        left: 70%;
        transform: translateX(-50%);
        z-index: 10;
        white-space: nowrap;
    }
    
    /* Positionnement relatif des boutons jours sur mobile */
    #dayButtons button {
        position: relative;
        padding-top: 20px !important; /* Espace pour l'indicateur */
        padding-bottom: 10px !important;
        height: auto !important;
        min-height: 65px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Ajustement des autres éléments dans le bouton */
    .day-name {
        margin-top: 2px;
        font-size: 14px !important;
    }
    
    .day-date {
        margin-top: 2px;
        font-size: 12px !important;
    }
    
    /* Style pour desktop ne s'appliquera pas sur mobile */
    .day-today {
        display: none !important;
    }


/* Pour desktop - pas d'indicateur spécial */
@media screen and (min-width: 769px) {
    .today-indicator,
    .today-text,
    .today-dot {
        display: none !important;
    }
    
    /* Si vous voulez garder le badge "Aujourd'hui" sur desktop */
    .day-today {
        display: block;
        background: #4CAF50;
        color: white;
        padding: 2px 6px;
        border-radius: 10px;
        font-size: 10px;
        margin-bottom: 5px;
    }
}

/*------------------Onglet Horaires-------------------*/
#horaires {
    padding: 15px !important;
    max-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.horaires-wrapper {
    flex-direction: column;
    gap: 0;
    flex: 0;
    display: flex;
    flex-direction: column;
}

.horaires-left {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.horaires-left h2 {
    font-size: 1.6rem !important;
    margin-bottom: 5px;
}

.horaires-description {
    font-size: 13px !important;
    margin-bottom: 5px !important;
}

.status-badge {
    font-size: 13px !important;
    padding: 6px 14px !important;
    margin: 0 auto 10px auto;
    border-radius: 20px;
    display: inline-block;
}

.horaires-container {
    padding: 10px !important;
    border-radius: 10px;
    width: 100%;
    margin-top: -35px;
    display: block !important;
}

.horaire-row {
    padding: 6px 8px !important;
    font-size: 13px !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.status-double {
    display: flex;
    width: 220px;
    height: 60px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin: 5px auto;
}

/*------------------Onglet Contact-------------------*/
#contact {
    padding: 15px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-wrapper {
    flex-direction: column;
    gap: 15px;
    flex: 0;
    display: flex;
    flex-direction: column;
}

.contact-left {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.contact-left h2 {
    font-size: 1.6rem !important;
    margin-bottom: 5px;
}

.contact-description {
    font-size: 13px !important;
    margin-bottom: 10px !important;
}

.contact-btn-rdv {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border-radius: 25px;
    margin-bottom: 15px;
}

#contact {
    padding: 15px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-wrapper {
    flex-direction: column;
    gap: 0;
    flex: 0;
    display: flex;
    flex-direction: column;
}

.contact-left {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}

.contact-left h2 {
    font-size: 1.6rem !important;
    margin-bottom: 5px;
}

.contact-description {
    font-size: 13px !important;
    margin-bottom: 5px !important;
}

.contact-btn-rdv {
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 20px;
    margin-bottom: 10px;
}

.contact-info-grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    margin: 5px auto 0 auto;
    margin-top: -60px !important;
}

.contact-item {
    padding: 10px !important;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    border-radius: 8px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    flex: 0 0 auto;
    min-width: 140px;
    width: 140px;
}

.contact-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.1rem !important;
}

.contact-label {
    font-size: 11px !important;
}

.contact-value {
    font-size: 13px !important;
    word-break: break-word;
}

.contact-social {
    margin-top: 10px;
    text-align: center;
}

.contact-social-title {
    font-size: 12px !important;
    margin-bottom: 8px;
    color: #ccc;
}

.contact-social-grid {
    gap: 8px;
    margin-top: 5px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.social-link {
    width: 35px !important;
    height: 35px !important;
    font-size: 1rem !important;
    border-radius: 50%;
}

.contact-icon {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.2rem !important;
}

.contact-label {
    font-size: 12px !important;
}

.contact-value {
    font-size: 14px !important;
    word-break: break-word;
}

.contact-social-grid {
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.social-link {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
    border-radius: 50%;
}

/*------------------Onglet Présentation-------------------*/
#presentation {
    padding: 20px 15px !important;
    gap: 20px;
}

.presentation-header {
    flex-direction: column;
    gap: 15px;
}

.pres-title {
    font-size: 1.7rem !important;
    padding-bottom: 8px;
}

.pres-meta {
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

.meta-line {
    font-size: 14px !important;
    padding: 10px 12px !important;
    border-radius: 8px;
}

.presentation-body {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px !important;
}

.img-card {
    width: 100% !important;
    max-width: 100%;
    padding: 15px !important;
    border-radius: 15px;
}

.main-img {
    height: 200px !important;
    border-radius: 10px;
}

.arrow {
    opacity: 1 !important;
    visibility: visible !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    border-radius: 50%;
}

#card-center, #card-right {
    display: none !important;
}

/*------------------Onglet RDV-------------------*/
#rdv {
    padding: 12px 15px 0 15px !important;
    min-height: 100vh;
}

#rdv h2 {
    font-size: 1.7rem !important;
    margin-bottom: 10px !important;
}

.rdv-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px !important;
    margin-bottom: 15px !important;
}

.legend-small {
    font-size: 11px !important;
    padding: 5px 8px !important;
    gap: 5px !important;
    width: 100%;
    border-radius: 6px;
}

.week-navigation {
    flex-direction: column;
    padding: 8px !important;
    gap: 5px !important;
    margin-bottom: 14px !important;
    border-radius: 8px;
}

.week-nav-btn {
    width: 100%;
    padding: 8px !important;
    font-size: 14px !important;
    border-radius: 6px;
    max-height: 36px !important;
}

.week-display {
    font-size: 15px !important;
    padding: 5px 0 !important;
}

#dayButtons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 5px !important;
    margin-bottom: 13px !important;
    width: 100% !important;
    height: auto !important;
}

#dayButtons button {
    padding: 5px 3px !important;
    font-size: 13px !important;
    min-height: 50px !important;
    max-height: 55px !important;
    border-radius: 6px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.day-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 7px !important;
    text-align: center !important;
    width: 100% !important;
}

.day-date {
    font-size: 12px !important;
    opacity: 0.9 !important;
    text-align: center !important;
}

.day-today {
    display: none !important;
}

#dayButtons button[data-date="today"] {
    border: 2px solid #ff6b6b !important;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3) !important;
}

#dayButtons button:nth-child(n+7) {
    display: none !important;
}

#dayContainer {
    padding: 12px !important;
    border-radius: 8px;
    margin-bottom: 0 !important;
}

#dayContainer ul {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 5px !important;
    max-height: 290px !important;
    overflow-y: auto !important;
    padding: 5px !important;
}

.slotBtn {
    padding: 3px 3px !important;
    font-size: 15px !important;
    min-height: 35px !important;
    border-radius: 5px !important;
}

.modal-content {
    padding: 10px !important;
    width: 95% !important;
    margin: 8px !important;
    border-radius: 10px !important;
}

.close {
    top: 20px !important;
    right: 12px !important;
    width: 27px !important;
    height: 35px !important;
    border-radius: 50% !important;
    font-size: 17px !important;
}

.rdv-info {
    margin-top: 15px !important;
    font-size: 14px !important;
    padding: 5px 0 0 0 !important;
    line-height: 1.3 !important;
}

#dayContainer ul::-webkit-scrollbar {
    width: 3px !important;
}

#dayContainer ul::-webkit-scrollbar-thumb {
    border-radius: 1.5px !important;
}

/* Supprime tout espace en bas */
#rdv-bloc {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#rdv::after {
    display: none !important;
}

/*------------------Onglet Services-------------------*/
#services {
    padding: 20px 15px !important;
    min-height: 100vh;
}

#services h2 {
    font-size: 1.7rem !important;
    margin-bottom: 18px;
}

.services-container {
    grid-template-columns: 1fr !important;
    gap: 15px;
    max-height: none;
    height: auto;
}

.service-column {
    padding: 15px !important;
    max-height: 180px;
    border-radius: 15px;
}

.service-column h3 {
    font-size: 1.2rem !important;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.service-list li {
    padding: 8px 0 !important;
    font-size: 14px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.service-name {
    font-size: 14px !important;
}

.service-details {
    width: 100%;
    justify-content: space-between;
}

.duration {
    font-size: 12px !important;
    padding: 3px 8px !important;
    border-radius: 5px;
}

.price {
    font-size: 14px !important;
    padding: 5px 10px !important;
    min-width: 45px;
    border-radius: 15px;
}

/*------------------Onglet Avis (MOBILE AVEC BOUTONS)-------------------*/
#avis {
    padding: 20px 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.avis-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.avis-header-section {
    text-align: center;
    margin-bottom: 25px;
}

.avis-header-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #52c500;
}

.avis-cta .btn {
    padding: 14px 25px;
    font-size: 16px;
    width: 100%;
    max-width: 280px;
    border-radius: 30px;
    margin: 0 auto 10px auto;
    background: linear-gradient(135deg, #52c500, #3a8d00);
    border: none;
}

.avis-info {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.avis-info i {
    color: #52c500;
}

.avis-main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    max-height: 340px;
}

.avis-container-wrapper {
    flex: 1;
    max-width: 100%;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avis-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.avis-card {
    background: rgba(27, 27, 28, 0.9);
    border: 2px solid rgba(82, 197, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: auto;
    min-height: 320px;
    margin: 0 auto;
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.avis-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avis-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #52c500, #3a8d00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.avis-meta strong {
    font-size: 16px;
    color: white;
}

.avis-date {
    font-size: 13px;
    color: #aaa;
    margin-top: 2px;
}

.avis-rating {
    display: flex;
    gap: 2px;
}

.avis-rating .fa-star {
    font-size: 16px;
}

.avis-rating .fa-star.filled {
    color: #FFD700;
}

.avis-rating .fa-star.empty {
    color: #666;
}

.avis-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 20px;
    background: rgba(82, 197, 0, 0.1);
    color: #52c500;
    margin-bottom: 15px;
    border: 1px solid rgba(82, 197, 0, 0.3);
    width: fit-content;
}

.avis-service i {
    font-size: 12px;
}

.avis-nav-btn {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: none !important;
    background: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border: none;
    z-index: 10;
}

.avis-nav-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

#prevAvis {
    left: 5px;
}

#nextAvis {
    right: 5px;
}

.avis-nav-btn i {
    font-size: 18px;
}

.avis-comment {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
    flex: 1;
    overflow-y: auto;
    max-height: 180px;
    min-height: 80px;
    word-wrap: break-word;
}

.avis-comment::-webkit-scrollbar {
    width: 4px;
}

.avis-comment::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.avis-comment::-webkit-scrollbar-thumb {
    background: #52c500;
    border-radius: 2px;
}

.no-avis {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.no-avis i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #52c500;
    opacity: 0.5;
}

.no-avis p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 300px;
}