/* Confirmation/Cancellation Modal Styles */
.confirm-popup {
    color: #111 !important; /* Black text for modal message */
}
/* Corps de page */
/* Animations pour le texte et le bouton */
.low-battery-text {
    margin-top: 80px;
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 2em;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.low-battery-text span {
    display: inline-block;
    opacity: 0;
}

.text-part1 {
    animation: fadeInGlow 1s ease-out forwards;
}

.text-part2 {
    animation: fadeInGlow 1s ease-out 1s forwards;
}

.animate-btn {
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
    margin-top: 30px;
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #f5f5f5;
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Désactive le scroll vertical UNIQUEMENT sur la page d'accueil */

hero, .hero-content {
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

body::before {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    pointer-events: none;
}

/* Ajout d'un pseudo-élément pour le fond */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/static/backgrounds.png") no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    z-index: -1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Barre de navigation */
.navbar {
    display: flex;
    align-items: center;
    padding: 1em 2em;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent; /* Suppression du fond noir */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
    margin-top: -26px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(75, 71, 71); /* Lisibilité sur fond transparent */
    font-weight: bold;
    font-size: 1em;
}

/* Hero */
.hero {
    height: calc(100vh - 0px); /* Réserve 100px pour afficher le footer */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(19, 17, 17);
}
.hero-content {
    position: relative;
    min-height: 100vh; /* Occupe toute la hauteur de la page */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 100px; /* Espace en haut pour le contenu */
}
.hero-content h1 {
    font-size: 4em; /* Taille du texte pour un impact visuel */
    font-weight: 700; /* Texte en gras */
    letter-spacing: 2px; /* Espacement entre les lettres */
    margin-bottom: 0,6em; /* Espacement sous le titre */
    font-family: 'Poppins', sans-serif; /* Police moderne */
    color: #ffffff; /* Couleur blanche par défaut */
    text-align: center; /* Centre le texte horizontalement */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Ombre subtile pour un effet 3D */
}

.hero-content h1 span {
    display: inline-block;
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Dégradé moderne */
    -webkit-background-clip: text; /* Préfixe pour Chrome, Safari */
    -moz-background-clip: text; /* Préfixe pour Firefox */
    background-clip: text; /* Standard */
    -webkit-text-fill-color: transparent; /* Préfixe pour Chrome, Safari */
    font-weight: 900; /* Texte plus gras pour le mot "Flowstate" */
}

.hero-content h1 .studio {
    color: #50a3a2; /* Couleur différente pour "studio" */
    font-weight: 400; /* Texte moins gras pour "studio" */
    font-style: italic; /* Style italique pour un effet créatif */
}
.hero-content p {
    font-size: 1.3em;
    margin-bottom: 1,6em;
    color: #161414; /* Couleur blanche pour le texte */
}
.hero-content .copyright {
    position: absolute;
    bottom: -166px; /* Positionne le texte à 10px du bas de la page */
    left: 50%; /* Centre horizontalement */
    transform: translateX(-50%); /* Ajuste pour centrer parfaitement */
    font-size: 0.9em; /* Taille de texte légèrement réduite */
    color: #2e2d2d; /* Couleur du texte */
    white-space: nowrap; /* Empêche les retours à la ligne */
}

/* Styles responsifs pour le texte Low Battery */
@media screen and (max-width: 768px) {
    .hero-content {
        padding-top: 150px; /* Plus d'espace en haut sur mobile */
    }
    
    .low-battery-text {
        margin-top: 70px !important; /* Force la marge supérieure */
        margin-bottom: 50px;
        font-size: 1.5em;
        color:whitesmoke;
        position: relative;
        z-index: 1;
    }
}
.btn-main {
    background: transparent;
    color: #ffffff;
    padding: 1em 3em;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    position: relative;
    backdrop-filter: blur(5px);
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-main:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

/* Sections */
.section {
    padding: 5em 2em;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(31,38,135,0.2);
    color: white;
    text-align: center;
    margin-bottom: 2em;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.section ul {
    list-style-type: none;
    padding: 0;
}

.section ul li {
    margin: 0.5em 0;
    font-size: 1.1em;
}



/* Notes de disponibilité */
.availability-note {
    margin-top: 5px;
    font-size: 0.8em;
    color: #50a3a2;
}

.availability-note.no-seances {
    color: #d32f2f;
}

.auth-section {
    padding: 2em;
    background-color: #f5f5f5;
    text-align: center;
    margin-top: 11em;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.auth-container h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #161515;
}

.auth-container p {
    font-size: 1em;
    margin-bottom: 1.5em;
    color: #161616;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.btn-auth {
    background-color: #8d4a3b;
    color: white;
    padding: 0.75em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.btn-auth:hover {
    background-color: #6c3a2d;
}
.btn-connection {
    text-decoration: none;
    color: #1b1919; /* Couleur du texte */
    font-weight: bold;
    font-size: 1,8em;
    margin-left: 540px; /* Aligne le bouton à droite */
    margin-top: -55px;
    padding: 0.5em 1em;
    background: none; /* Pas de fond */
    border: none; /* Pas de bordure */
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-connection:hover {
    color: #50a3a2; /* Couleur au survol */
}

.booking-container {
    width: 94%;
    max-width: 900px;
    margin: auto; /* Centre horizontalement */
    margin-top: 130px; /* Décale le cadre vers le bas */
    background-color: rgba(223, 226, 226, 0.966); /* Fond blanc semi-transparent */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(219, 11, 11, 0.1); /* Ombre légère */
    text-align: center; /* Centre le texte à l'intérieur */
}
/* Style pour le titre principal (Séances pour le ...) */
.booking-container header h1 {
    color: #11ace0; /* Couleur bleue */
    font-size: 1.2em; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    margin-bottom: 20px; /* Espacement sous le titre */
}

.seance-item {
    display: block;
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    background: none;
    border-radius: 0;
}

.seance-info {
    color: #222;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.seance-form {
    display: block;
    margin-top: 8px;
    gap: 0;
    align-items: stretch;
}

.seance-form input,
.seance-form label {
    font-size: 1em;
    margin-right: 6px;
}

.seance-button {
    background: #50a3a2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 18px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.seance-button:hover {
    background: #3b8d84;
}

/* Champs slim pour la modale de réservation */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="number"] {
    height: 29px;         /* Hauteur réduite */
    padding: 2px 2px;     /* Moins d'espace interne */
    font-size: 0.95em;    /* Texte plus petit */
    border-radius: 4px;
}
.modal-content label {
    font-size: 0.97em;    /* Labels plus petits */
    margin-bottom: 2px;
}  
.signup-form {
    width: 314px;
    margin: 600px; /* Supprime les marges */
    margin: 0 auto;
    padding: 20px; /* Supprime l'espacement interne */
    background-color: transparent; /* Supprime le fond */
    border: none; /* Supprime la bordure */
    box-shadow: none; /* Supprime l'ombrage */
    text-align: left; /* Aligne le contenu à gauche */
    color: #090a09;
    margin-top: 70px;
    margin-left: 520px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.4);
}
.modal-content {
    background: #fff;
    margin: 8% auto;
    padding: 30px 24px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #222;
}
.close {
    position: absolute;
    top: 12px; right: 18px;
    color: #aaa;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
}
.close:hover { color: #d32f2f; }
.modal-content label { display: block; margin-top: 10px; }
.modal-content input { width: 100%; margin-bottom: 10px; }

.signup-form .form-group {
    margin-bottom: 20px; /* Augmente l'espacement entre les champs */
}

.signup-form label {
    display: block; /* Force le label à occuper toute la largeur */
    font-size: 0.8em; /* Augmente la taille du texte */
    font-weight: bold; /* Texte en gras */
    margin-bottom: 5px; /* Ajoute un espacement sous le label */
    color: #333333; /* Couleur du texte */
}
.signup-form input {
    width: 95%; /* Champ occupe toute la largeur */
    padding: 12px; /* Ajoute un espacement interne */
    font-size: 1em; /* Taille du texte */
    border: 1px solid #ccc; /* Bordure légère */
    border-radius: 5px; /* Coins arrondis */
    box-sizing: border-box; /* Inclut le padding dans la largeur */
    background-color: #ffffff; /* Fond blanc pour les champs */
}

.signup-form input:focus {
    border-color: #50a3a2; /* Couleur de la bordure au focus */
    outline: none; /* Supprime l'effet de focus par défaut */
    box-shadow: 0 0 5px rgba(80, 163, 162, 0.5); /* Ombre légère au focus */
}

.signup-form .btn-auth {
    width: 78%;
    padding: 10px;
    background-color: #50a3a2;
    color: white;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 28px;
}

.signup-form .btn-auth:hover {
    background-color: #3b8d84;
}



/* Style pour l'image avec animation */
.signup-image {
    position: relative;
    animation: float 3s ease-in-out infinite; /* Animation flottante */
}

.signup-image img {
    max-width: 100%; /* L'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Conserve les proportions de l'image */
    border-radius: 10px; /* Coins arrondis pour l'image */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ombre légère */
    width: 300px; /* Largeur fixe pour l'image */
    transition: transform 0.3s ease; /* Transition pour l'effet au survol */
    margin-bottom: -560px;
    margin-left: -46px;
}


.signup-image img:hover {
    transform: scale(1.05); /* Agrandit légèrement l'image au survol */
}

/* Animation flottante */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}


.flash-messages {
    margin: 20px auto;
    max-width: 400px;
    text-align: center;
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
/* Style pour le formulaire d'inscription */
.auth-form {
    max-width: 400px;
    padding: 50px;
    background-color:transparent; /* Fond blanc */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
    text-align: center;
    margin-top: 140px;
    margin-left: 520px;
}

.auth-form .form-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.auth-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.auth-form label {
    display: block;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: #50a3a2;
    outline: none;
    box-shadow: 0 0 5px rgba(80, 163, 162, 0.5);
}

.auth-form .btn-auth {
    width: 100%;
    padding: 10px;
    background-color: #50a3a2;
    color: white;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-form .btn-auth:hover {
    background-color: #3b8d84;
}


/* Style pour le formulaire Sign In */
.signin-container {
    width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 60px; /* Ajout d'une marge en haut pour compenser la navbar */
}

/* Ajoutez cette classe au body de la page signin */
body.signin-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.signin-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.signin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #555;
    font-size: 16px;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #50a3a2;
    outline: none;
}

.btn-auth {
    background: #50a369;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-auth:hover {
    background: #428b8a;
}

/* Style général pour la page de confirmation */
body.confirmation-page {
    background: linear-gradient(135deg, rgba(80, 163, 162, 0.2), rgba(96, 165, 250, 0.1)), url('../static/pilatgiiirl.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start; /* Change de center à flex-start */
    justify-content: center;
}

/* Conteneur principal de confirmation */
main.confirmation-container {
    width: 90%;
    max-width: 500px;
    margin: 50px auto; /* Marge fixe en haut */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carte de confirmation */
section.confirmation-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    top: 0; /* Assure que la carte reste en haut */
}

section.confirmation-card h2 {
    color: #180d0d;
    font-size: 1.6em;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

section.confirmation-card p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    margin: 1rem 0;
    line-height: 1.6;
    font-size: 1.1em;
     display: flex;
    justify-content: left;
    align-items: left;
   
}

section.confirmation-card .confirmation-message {
    font-size: 1.3em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
     display: flex;
    justify-content: center;
    align-items: center;
}

section.confirmation-card .confirmation-message strong {
    color: #f0f0f7;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
}

section.confirmation-card strong {
    color: #080808;
    font-weight: 500;
}

section.confirmation-card .confirmation-thanks {
    color: #fdfafa;
    font-style: italic;
    margin-top: 2rem;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Lien de retour */
.back-to-home {
    color: #080808;
    text-decoration: none;
    margin-top: 2rem;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.back-to-home:hover {
    background: rgba(252, 251, 251, 0.2);
    transform: translateY(-2px);
}

/* Media Query pour mobile et tablette */
@media screen and (max-width: 767px) {
    /* Navigation */
    .navbar {
        flex-direction: column;
        padding: 10px;
        background: transparent;
    }
    .logo img {
        height: 60px;
        margin: 0;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 10px;
        margin-left: -5px !important; /* Décale les liens du menu vers la gauche */
        text-align: left;
    }

    /* Hero section */
    .hero {
        padding: 20px;
        height: auto;
        margin-top: 120px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-content .copyright {
        position: static;
        margin-top: 40px;
    }

    /* Forms */
    .auth-form,
    .signup-form,
    .signin-form,
    .contact-form {
        width: 90%;
        margin: 120px auto 20px;
        padding: 15px;
    }

    /* Images */
    .signup-image img,
    .signin-image img {
        width: 90%;
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }

    /* Containers */
    .booking-container,
    .about-container {
        width: 95%;
        margin: 120px auto 20px;
        padding: 15px;
    }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        font-size: 14px;
    }

    /* Boutons */
    .btn-connection {
        margin: 10px auto;
        width: auto;
        display: block;
        text-align: center;
    }
    
    /* Alerts */
    .alert-success,
    .alert-danger {
        margin: 10px auto;
        width: 90%;
        text-align: center;
    }



    /* Navigation */
    .menu-toggle {
        display: flex;
        width: 25px;
        height: 20px;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        right: 18px;
        left: auto;
        top: 15px;
        z-index: 1002;
        cursor: pointer;
    }

    .menu-toggle span {
        height: 2px;
        width: 100%;
        background-color: #0e0d0d;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .navbar {
        padding: 10px;
        background: transparent;
    }

    .logo img {
        height: 180px;
        margin-bottom: -4rem;
        filter: drop-shadow(0 0 10px rgba(80,163,162,0.3));
    }

    /* Par celui-ci */
    body:not(.seance-page) .logo img {
        height: 380px;
        margin-bottom: -8rem;
        filter: drop-shadow(0 0 10px rgba(80,163,162,0.3));
    }

    /* De même pour l'effet hover */
    body:not(.seance-page) .logo:hover img {
        animation-play-state: paused;
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 25px rgba(80,163,162,0.6));
    }
    
    /* Style pour le menu mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -200px;
        width: 150px;
        max-width: 70vw;
        height: auto;
        min-height: 33vh;
        background: rgba(210, 214, 208, 0.98);
        flex-direction: column;
        padding: 60px 0px 20px;
        gap: 8px;
        z-index: 1001;
        border-radius: 20px 0 0 20px;
        box-shadow: -2px 0 15px rgba(0,0,0,0.1);
        margin: 0;
        transition: right 0.3s ease;
        overflow-x: hidden;
    }

    .nav-links.active {
        display: flex;
        right: 0; /* Le menu apparaît depuis la droite */
    }

    .nav-links a {
        color: #333;
        font-size: 1em;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
        width: 90%;
        margin: 0 0 0 auto;
        text-align: right;
        word-break: break-word;
        max-width: 170px;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }
   

    /* Menu hamburger animation */
   .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* Hero section */
    .hero {
        padding: 20px;
        height: auto;
        margin-top: 100px;
        display: flex;
        flex-direction: column;
    }

    .hero-content h1 {
        display: none;
    }

    .hero-content p {
        margin-top: 250px;
        font-size: 1.2em;
        color: #161414;
        text-align: center;
        padding: 0 20px;
    }

    .hero-content .copyright {
        position: fixed;
        bottom: 20px;
        left: 40%;
        right: 0;
        text-align: center;
        margin: 0;
        padding: 10px;
        font-size: 0.9em;
        color: #2e2d2d;
        z-index: 100;
    }

    /* Formulaires */
    .auth-form,
    .signup-form,
    .signin-form,
    .contact-form {
        width: 90%;
        margin: 100px auto 20px;
        padding: 15px;
    }

    /* Images */
    .signup-image img,
    .signin-image img {
        width: 90%;
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }

    /* Containers */
    .booking-container,
    .about-container {
        width: 95%;
        margin: 100px auto 20px;
        padding: 15px;
    }

    /* Boutons */
    .btn-main {
        width: 30%;
        margin-top: 20px;
        text-align: center;
        padding: 15px 0;
        font-size: 1.1em;
    }

    
    .btn-main {
        padding: 0.8em 2.5em;
        font-size: 0.8em;
    }

    .btn-connection {
        margin: 10px auto;
        width: auto;
        display: block;
        text-align: center;
    }

    .btn-connection-mobile {
        width: 80%;
        margin: 10px auto;
        padding: 8px;
    }

    /* Affichage conditionnel */
    .mobile-only { display: block; }
    .desktop-only { display: none; }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        font-size: 14px;
    }

    /* Alerts */
    .alert-success,
    .alert-danger {
        margin: 10px auto;
        width: 90%;
        text-align: center;
    }

    /* Style des séances version mobile */
    
    .seance-item {
        background: white;
        border-radius: 10px;
        padding: 15px;
        margin: 10px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .seance-info {
        color: #333;
        font-size: 1.1em;
        font-weight: 500;
        margin-bottom: 10px;
        text-align: center;
    }

    .seance-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .seance-form label {
        font-size: 0.9em;
        color: #666;
        margin-bottom: 5px;
    }

    .seance-form input[type="number"] {
        width: 80%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
        text-align: center;
    }

    .seance-button {
        width: 80%;
        background: #50a3a2;
        color: white;
        padding: 12px;
        border: none;
        border-radius: 5px;
        font-size: 1em;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .seance-button:hover {
        background: #3b8d84;
        transform: scale(1.02);
    }

    /* Modal de réservation version mobile */
    .modal-content {
        width: 90%;
        margin: 20px auto;
        padding: 20px;
        border-radius: 10px;
    }

    .modal-content label {
        display: block;
        margin: 10px 0 5px;
        color: #333;
        font-size: 0.9em;
    }

    .modal-content input {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
    }

    .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #666;
        cursor: pointer;
    }

    /* Messages de confirmation */
    .confirmation-message {
        text-align: center;
        color: #50a3a2;
        font-size: 1.1em;
        margin: 15px 0;
        padding: 10px;
        background: rgba(80,163,162,0.1);
        border-radius: 5px;
    }

}

/* Ajustements pour tous les mobiles */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
    body::before {
        position: absolute;
        background-attachment: scroll;
        background-position: 50% 50%;
    }
}

/* Ajustements spécifiques pour les iPhones et autres mobiles */
@media only screen and (max-width: 926px) and (orientation: portrait) {
    body::before {
        background-size: auto 100%;
    }
}

/* Spécifique pour iPhone 11 et similaires */
@media only screen 
    and (device-width: 414px) 
    and (device-height: 896px) 
    and (-webkit-device-pixel-ratio: 2),
    only screen 
    and (device-width: 390px) 
    and (device-height: 844px) 
    and (-webkit-device-pixel-ratio: 3) {
    body::before {
        background-size: auto 100vh;
        background-position: center top;
        height: 100vh;
    }
}

/* Pour les écrans très larges */
@media only screen and (min-aspect-ratio: 16/9) {
    body::before {
        background-size: 100vw auto;
    }
}

/* Styles supplémentaires pour la page de réservation */
.logo img, .no-home-logo img {
    height: 190px;
    margin-right: 50px;
    margin-left: -688px;
    margin-top: -42px;
}