/* Styles globaux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f5f1;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #ddd;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header h1 {
    font-size: 2rem;
    color: #bfa980;
    margin-bottom: 20px;
}

.header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.header nav ul li {
    display: inline-block;
}

.header nav ul li a {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #bfa980;
    border-radius: 5px;
    color: #bfa980;
    font-weight: bold;
    transition: all 0.3s ease;
}

.header nav ul li a:hover {
    background-color: #bfa980;
    color: #fff;
}

/* Section principale */
main {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Styles communs pour toutes les sections */
section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 40px auto;
    max-width: 1200px;
    width: 90%;
    box-sizing: border-box;
}

section h2 {
    text-align: center;
    color: #bfa980;
    font-size: 2rem;
    margin-bottom: 20px;
}

section p {
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Section À propos */
#about {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 40px auto; /* Uniformise avec les autres sections */
    max-width: 1200px;
    width: 90%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#about h2 {
    text-align: center;
    color: #bfa980;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 1;
    max-width: 600px;
    text-align: justify;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.about-image {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Galerie */
.gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 10px;
}

/* Section Réalisations */
.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* Cache les images hors du cadre */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Animation fluide pour le défilement */
}

.carousel-slide {
    min-width: 100%; /* Chaque image prend la largeur complète du container */
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Section Tarifs */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.pricing-card {
    background-color: #fff;
    border: 2px solid #bfa980;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(191, 169, 128, 0.2);
}

.pricing-card h3 {
    color: #bfa980;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #bfa98050;
}

.pricing-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-line; /* Permet de conserver les sauts de ligne */
}

/* Style pour le prix */
.pricing-card p:last-child {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #bfa98050;
    font-weight: bold;
    color: #bfa980;
    font-size: 1.2rem;
    text-align: center;
}

/* Formulaire de contact */
form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input, form textarea, form button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background-color: #bfa980;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #a78b65;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border-top: 2px solid #ddd;
    color: #777;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

/* Styles pour le carousel */
#carouselExampleIndicators {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-inner {
    aspect-ratio: 3/2;
}

.carousel-item {
    height: 100%;
    background-color: transparent;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Amélioration des contrôles du carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

.carousel-control-next {
    background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
}

#carouselExampleIndicators:hover .carousel-control-prev,
#carouselExampleIndicators:hover .carousel-control-next {
    opacity: 1;
}

/* Style des indicateurs */
.carousel-indicators {
    margin-bottom: 0;
    padding: 10px 0;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    margin: 0 5px;
}

/* Style spécifique pour les cartes de tarifs */
.pricing-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

.pricing-card h3 {
    color: #bfa980;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.pricing-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Style pour la section contact */
.contact form label {
    color: #555;
    margin-bottom: 5px;
}

.contact form input,
.contact form textarea {
    font-family: Arial, sans-serif;
    color: #555;
}

/* Style pour le carousel des tarifs */
.pricing-carousel {
    padding: 0 60px;
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
}

.pricing-carousel .carousel-inner {
    overflow: visible;
}

.pricing-carousel .pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 10px;
}

.pricing-carousel .carousel-control-prev,
.pricing-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #bfa980;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    position: absolute;
}

.pricing-carousel .carousel-control-prev {
    left: 10px;
}

.pricing-carousel .carousel-control-next {
    right: 10px;
}

/* Ajustement de la taille des cartes pour un meilleur affichage */
.pricing-carousel .pricing-card {
    margin: 5px;
    min-width: 280px;
}

/* Responsive design avec des ajustements */
@media (max-width: 1200px) {
    .pricing-carousel {
        padding: 0 50px;
    }
    
    .pricing-carousel .pricing {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .pricing-carousel .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-carousel .pricing {
        grid-template-columns: 1fr;
    }
    
    .pricing-carousel {
        padding: 0 40px;
    }
}

/* Style pour la section contact */
.contact .container {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #bfa980;
    transition: transform 0.3s ease, color 0.3s ease;
    gap: 10px;
}

.social-link i {
    font-size: 2.5rem;
}

.social-link span {
    font-size: 1rem;
    color: #555;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #a78b65;
}

/* Responsive design pour les liens sociaux */
@media (max-width: 768px) {
    .social-links {
        gap: 30px;
    }
    
    .social-link i {
        font-size: 2rem;
    }
}

/* Style spécifique pour le carousel des iris */
.iris-carousel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.iris-carousel .carousel-item {
    background-color: transparent;
}

.iris-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Amélioration de la visibilité des flèches de navigation */
.iris-carousel .carousel-control-prev,
.iris-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.iris-carousel .carousel-control-prev-icon,
.iris-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

.about-text.text-center {
    text-align: center;
    width: 100%;
}

#iris {
    text-align: center;  /* Centre tout le contenu de la section */
}

#iris .about-content {
    max-width: 800px;    /* Même largeur que le carousel */
    margin: 0 auto;      /* Centre le contenu horizontalement */
    padding: 20px 0;     /* Ajoute un peu d'espace vertical */
}

#iris .about-text {
    width: 100%;         /* Utilise toute la largeur disponible */
}

.iris-carousel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.iris-carousel .carousel-inner {
    aspect-ratio: 3/2;   /* Maintient un ratio d'aspect constant */
}

.iris-carousel .carousel-item {
    height: 100%;
    background-color: transparent;
}

.iris-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.tarifs p.text-center {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;  /* Ajoute un peu d'espace avant le carousel des tarifs */
}

/* Règles générales pour le responsive */
@media screen and (max-width: 768px) {
    /* Header */
    .header h1 {
        font-size: 24px;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    /* Section À propos */
    .about-content {
        flex-direction: column;
    }

    .about-image img {
        max-width: 100%;
        margin: 20px 0;
    }

    /* Section Iris */
    .iris-carousel {
        max-width: 100%;
    }

    .iris-carousel img {
        height: 300px;
    }

    /* Section Tarifs */
    .pricing {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px;
    }

    .pricing-card {
        width: 90%;
        margin: 10px auto;
        padding: 15px;
        font-size: 14px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 8px;
    }

    .pricing-carousel {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .pricing-carousel .carousel-inner {
        overflow: visible;
    }

    .pricing-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #333;
    }

    .pricing-card p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
        white-space: pre-line;
        text-align: left;
    }

    .pricing-carousel .carousel-control-prev,
    .pricing-carousel .carousel-control-next {
        width: 10%;
        opacity: 1;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        padding: 10px;
    }

    /* Section Contact */
    .social-links {
        flex-direction: column;
        gap: 15px;
    }

    .social-link {
        width: 80%;
        margin: 5px auto;
    }

    /* Ajustements des carousels */
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px;
    }

    /* Ajustements section Tarifs */
    .pricing-carousel {
        width: 100%;
        margin: 0 auto;
    }

    .pricing-card {
        width: 90%;
        margin: 10px auto;
        padding: 15px;
        font-size: 14px;  /* Réduction de la taille du texte */
    }

    .pricing-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .pricing-card p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    /* Ajustement de l'espacement des listes */
    .pricing-card ul, 
    .pricing-card p {
        padding: 0 10px;
        text-align: left;
    }

    /* Réduction de la taille du prix */
    .pricing-card p:last-child {
        font-size: 16px;
        font-weight: bold;
        margin-top: 10px;
    }
}

/* Ajustements supplémentaires pour très petits écrans */
@media screen and (max-width: 480px) {
    h2 {
        font-size: 20px;
        padding: 10px;
    }

    .pricing-card h3 {
        font-size: 18px;
    }

    .pricing-card p {
        font-size: 14px;
    }

    .social-link {
        width: 90%;
    }

    .pricing-card {
        width: 95%;
        padding: 10px;
    }

    .pricing-card h3 {
        font-size: 16px;
    }

    .pricing-card p {
        font-size: 12px;
    }
}

/* Ajout du comportement de défilement doux */
html {
    scroll-behavior: smooth;
}

/* Style pour la section tarifs lors du focus */
#tarifs:target {
    animation: highlight 1s ease-out;
    scroll-margin-top: 20px;
}

@keyframes highlight {
    0% {
        background-color: rgba(191, 169, 128, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

/* Ajustement pour mobile */
@media screen and (max-width: 768px) {
    #tarifs {
        scroll-margin-top: 60px;
    }
    
    .pricing-carousel {
        padding: 0 15px;
    }
}

#tarifs {
    transition: background-color 0.5s ease;
    padding-top: 20px;
}

@media screen and (max-width: 768px) {
    #tarifs {
        padding-top: 60px;
    }
}

/* Style pour le lien vers la version mobile */
.mobile-version-link {
    text-align: center;
    margin: 20px 0;
}

.mobile-button {
    display: inline-block;
    background-color: #fff;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 25px;
    border: 2px solid #333333;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-button:hover {
    background-color: #333333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mobile-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ajout d'un espace en bas du carousel des tarifs */
.pricing-carousel {
    margin-bottom: 20px; /* Ajoute un espace en bas du carousel */
}

/* Cacher la section des tarifs sur les petits écrans */
@media (max-width: 768px) {
    .pricing-carousel {
        display: none;
    }
}

/* Styles pour la page mobile des tarifs */
.mobile-pricing-page {
    padding: 20px;
    background-color: #f8f5f1;
    min-height: 100vh;
}

.mobile-pricing-page h1 {
    text-align: center;
    color: #bfa980;
    margin-bottom: 30px;
    font-size: 24px;
}

.mobile-pricing {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.mobile-pricing .pricing-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0;
    width: auto;
}

.back-button {
    display: block;
    text-align: center;
    margin: 30px auto;
    padding: 10px 20px;
    background-color: #bfa980;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content;
}

/* Cacher le lien mobile sur les grands écrans */
@media screen and (min-width: 769px) {
    .mobile-version-link {
        display: none;
    }
}

.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Style renforcé pour les bandes */
.hamburger-button span {
    width: 35px;
    height: 4px;
    background-color: #D4AF37;
    display: block;
    position: absolute;
    border-radius: 2px;
}

/* Position spécifique pour chaque bande */
.hamburger-button span:nth-child(1) {
    top: 0;
}

.hamburger-button span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-button span:nth-child(3) {
    bottom: 0;
}

/* Menu avec fond blanc */
.menu-items {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    padding: 20px;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #D4AF37;
}

.menu-items.active {
    display: block !important;
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin: 10px 0;
}

.menu-items a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.menu-items a:hover {
    background-color: #D4AF37;
    color: #fff;
    border-radius: 3px;
}

/* Style pour la section bain */
#bain {
    text-align: center;
}

#bain .about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

#bain .about-text {
    width: 100%;
}

.bain-carousel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.bain-carousel .carousel-inner {
    aspect-ratio: 3/2;
}

.bain-carousel .carousel-item {
    height: 100%;
    background-color: transparent;
}

.bain-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.bain-carousel .carousel-control-prev,
.bain-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.bain-carousel .carousel-control-prev-icon,
.bain-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}
