@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

*:not(.fas):not(.fab):not(.far):not(.fa)::after,
*:not(.fas):not(.fab):not(.far):not(.fa)::before  {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
}

/* NAVBAR */


.navLogo {
    width: 75px;
}

.navContainer{
    max-width : 1450px;
}

.loginBtn, .registerBtn, .disconnectBtn, .adminBtn, .profileBtn {
    color: white;
    text-decoration: none;
}
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    border: none;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    /*color : #1e6e91;*/
}

.dropdown-item:hover {
    background-color: rgba(30,110,145, 0.3);
}

#dropdownMenuButton{
    border: none;
}
/* HOME */

.homeBanner {
    padding-top: 50px;
    width: 100%;
    min-height: 75vh;
    background: no-repeat center / cover url("../uploads/img_home/parquet04-98c46f6150e11382c7599907f47e2247.png");
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.homeBanner h1 {
    font-size: clamp(30px, 5vw, 100px);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: white;
    text-shadow: 5px 5px 10px black;
}

.homeBanner hr {
    color: white;
    text-shadow: 2px 2px 5px black;
    border: 3px solid white;
    background: none;
}

.homeBanner h3 {
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 10px black;
}

.homeBanner-content {
    text-align: center;
}

.homeBanner-content .btn {
    width: 200px;
    margin-top: 20px;
    display: inline-block;
    border: white 2px solid;
    font-weight: 600;
}

#homeAbout, #homeBooking, #homeContact{
    background: rgba(80,169,223, 0.1);
}
.homeAbout-title {
    color: #50a9df;
    font-weight: bold;
}

.homeAbout .row {
    display: flex;
    align-items: stretch;
}

.homeAbout-content,
.homeAbout-img {
    display: flex;
    align-items: center;
}

.homeAbout-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.homeAbout hr {
    color: #50a9df;
    border: 3px solid #50a9df;
}

.homeServices-title {
    color: #50a9df;
    font-weight: bold;
}

.carousel-control-prev-icon{
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z' stroke='%2317567c' stroke-width='3'/%3e%3c/svg%3e")

}
.carousel-control-next-icon {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z' stroke='%2317567c' stroke-width='3'/%3e%3c/svg%3e ");
}

.homeServices hr {
    color: #50a9df;
    border: 3px solid #50a9df;
}

.homeBooking-title {
    color: #50a9df;
    font-weight: bold;
}

.homeBooking hr {
    color: #50a9df;
    border: 3px solid #50a9df;
}

.homeReviews-title {
    color: #50a9df;
    font-weight: bold;
}

.review-item {
    margin-bottom: 30px;
}

.review-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #f0f0f0;
    margin-bottom: 20px;
}

.review-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

.homeReviews hr {
    color: #50a9df;
    border: 3px solid #50a9df;
}

.homeContact-title {
    color: #50a9df;
    font-weight: bold;
}

.homeContact-text {
    font-size: 1rem;
    color: #5f5f5f;
}

#contactForm .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 10px;
}

#contactForm textarea.form-control {
    resize: none;
}

.btn-primary {
    background-color: #1e6e91;
    border-color: #1e6e91;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.btn-success{
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.homeContact hr {
    color: #50a9df;
    border: 3px solid #50a9df;
}

/* FOOTER */

/*.bg-primary {*/
/*  background-color: #007bff;*/
/*}*/

html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative; /* Important pour le positionnement absolu des éléments enfants */
}

.main-content {
    flex: 1 0 auto;
}

.footer-wrapper {
    flex-shrink: 0;
}
.text-white {
    color: white;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer img {
    margin-right: 10px;
}

.list-unstyled {
    list-style-type: none;
    padding: 0;
}

a.text-white {
    color: white;
    text-decoration: none;
}

a.text-white:hover {
    color: #80cc2b !important;
    text-decoration: underline;
}

footer .social ion-icon {
    width: 40px;
    height: 40px;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

footer .social {
    margin-top: 0.5rem;
    display: flex;
    column-gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a ion-icon {
    font-size: 40px;
    color: white;
}

.social-icons a ion-icon:hover {
    color: #80cc2b;
}

.copyright {
    /*background-color: #343a40;*/
    background: #000;
    color: white;
    padding: 10px 0;
}

/* QUOTE */

#quote{
    min-height : 100vh;
    background: no-repeat center / cover url("../uploads/img_quote/quoteForm-b7d422926005cb680ed090aa8c7b0650.webp")
}

.quoteForm{
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}


/* LOGIN */

.login {
    background: no-repeat center / cover url("../uploads/img_login/img_login01-3b786d88ac4b78700367fd70ac04a779.png");
    position: relative;
}

.formLogin {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
}

/* REGISTRATION */

.registration {
    background: no-repeat center / cover url("../uploads/img_registration/img_registration01-d1dcf84e71b11bd8a1e438a06a213436.webp");
    position: relative;
}

.registrationForm {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

/* RESET PASSWORD */

.resetPassword {
    background: no-repeat center / cover url("../uploads/img_resetPassword/img_resetPassword01-41c80c37dd8b257fcf62f0e15d43e3e2.webp");
    position: relative;
    min-height: 75vh;
}

.resetPasswordForm {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
}

/*RATING REVIEW */


.rating-stars svg{
    width : 2.5em;
    height: 2.5rem;
    cursor: pointer;
    color: #80cc2b /* Couleur des étoiles vides */
}

.rating-stars svg.checked {
    color: #80cc2b; /* Couleur des étoiles pleines */
}

#review{
    min-height : 75vh;
    background: no-repeat center / cover url("../uploads/img_review/review-6b60ceddc94a1cc0e16630a73752a7a7.webp");
}

.reviewForm {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
}

.rating {
    display: flex; /* Aligne les étoiles en ligne */
    justify-content: center; /* Centrer horizontalement */
}

.rating svg, .rating .fa {
    width: 20px; /* Taille des SVG (étoiles pleines) */
    height: 20px; /* Hauteur des SVG */
    margin-right: 5px; /* Espace entre les étoiles */
    color: #80cc2b; /* Couleur des étoiles */
}

.review-item  p{
    font-size : 23px;
    padding:0;
    margin:0;
}

#reviewItalique{
    font-size : 16px;
    font-style: italic;

}


.toggle-password {
    position: absolute;
    top: 48%;
    right: 15px; /* Ajustez la valeur si nécessaire */
    color: #007bff;
    cursor: pointer;
    width: 24px;
}

/* SIDEBAR ADMIN */

.sidebar {
    min-height: 100vh;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #5693a8;
}

.sidebar .nav-link {
    color: #fff;
    padding: .75rem 1rem;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background-color: rgba(0, 0, 0, .05);
}

.sidebar .nav-link.active {
    color: #fff;
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    padding: 1rem;
    color: #dddddd;
}

#navbar-brand {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        z-index: 1050;
        transition: .3s;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        z-index: 1040;
        display: none;
    }

    .sidebar-backdrop.show {
        display: block;
    }

    #homeServicesCarousel .carousel-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #homeServicesCarousel .carousel-item > .row {
        flex-direction: column;
    }

    #homeServicesCarousel .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #homeServicesCarousel .carousel-item img {
        width: 60% !important; /* Réduit l'image */
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    #homeServicesCarousel .carousel-item p {
        font-size: 1.1rem; /* Agrandit le texte */
        padding: 0 1rem;
    }
}

.content {
    min-height: 100vh;
}

#portrait{
    color : #fff;

}

.btn-contact{
    background: #5693a8;
    color : #fff;
}

.btn-green{
    background: #80cc2b;
    color : #fff;
    border : #80cc2b;
}

.btn-green:hover{
    background: #80cc2b;
    color : #fff;
    border : #80cc2b;
}
.btn-purple {
    color: #fff;
    background-color: #a64dff;
    border-color: #a64dff;
}

.btn-purple:hover {
    color: #fff;
    background-color: #a64dff;
    border-color: #a64dff;
}

.bg-main{
    background: rgba(86,147,168, 0.2);
}

/*EDIT CONTACT */

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/*.btn-green {*/
/*  background-color: #28a745;*/
/*  border-color: #28a745;*/
/*  color: white;*/
/*}*/

/*.btn-green:hover {*/
/*  background-color: #218838;*/
/*  border-color: #1e7e34;*/
/*  color: white;*/
/*}*/


/* RESERVATION */
.reservationCalendar {
    min-height: 75vh;
    background: no-repeat center / cover url("../uploads/img_reservation/img_reservation01-934e63d96955ff48b98cf5364dac7c6c.webp");
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-header{
    background : #5693a8;
    color : #fff;
}

/* CALENDRIER DE RESERVATION */

.calendar {
    border-radius: 25px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background-color: #5693a8;
    border-top-left-radius: 15px 15px;
    border-top-right-radius: 15px 15px;
}

.calendar-body {
    padding: 20px;
}

#date-select {
    background-color: #5693a8;
    color : #fff;
    border: 1px solid #ffffff31;
    font-weight: bold;
    font-size: large;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Styles pour les autres checkboxes */
.form-check-input:not(.remember-checkbox, .company-checkbox) {
    display: none;
}

.form-check-input:not(.remember-checkbox, .company-checkbox):checked + .form-check-label {
    background-color: #80cc2b;
    color: #fff;
    border-color: #80cc2b;
    box-shadow: 0 0 5px #80cc2b;
    transform: scale(1.05);
}

.form-check-label:not(.remember-label, .company-label) {
    background-color: #2c3e50;
    border-color: #ecf0f1;
    color: #ecf0f1;
    text-align: center;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-check-label:not(.remember-label, .company-label):hover {
    background-color: #ecf0f1;
    color: #2c3e50;
}


.calendar-header h4 {
    margin: 0;
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-link {
    font-size: 1.8rem;
}

/*.btn-primary {*/
/*  border: none;*/
/*  font-size: 1.2rem;*/
/*  padding: 10px 20px;*/
/*  transition: background-color 0.3s ease;*/
/*}*/

/*.btn-primary:hover {*/
/*  background-color: #80cc2b;*/
/*}*/

.pagination .page-item .page-link {
    border-radius: .25rem;
}

/******************* style de l'attribut help pour le mdp lors de l'inscription *********/
.help-text {
    font-size: 12px;  /* Taille plus petite */
    color: #2c3e50;        /* Texte en rouge */
}

/********** formulaire de contact - gestion des erreurs ***************/
.is-invalid {
    border: 2px solid #D9534F;
    background-color: #fff5f5;
}

/* Affichage des erreurs sous le champ */
.invalid-feedback {
    color: #D9534F;
    font-size: 14px;
    margin-top: 5px;
}