/*
 * front.css
 *
 * Description: Feuille de style pour le site Camping Croix Sacker.
 * Author     : Alexandre Boni
 * Date       : 2025
 * Version    : 1.0.0
 * License    : All Rights Reserved – Proprietary. Modification of this code is strictly prohibited.
 */

:root {
    --font: #494949;
    --vert: #3a6300;
    --vert-fonce: #233c00;
}

html, body {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-size: 1.02em;
    letter-spacing: 0.05rem;
    font-weight: 400;
    color: var(--font);
    margin: 0;
    padding: 0;
    background-image: url('/images/background.png');
    background-repeat: repeat;
    background-size: auto;
}

.hidden {
    visibility: hidden;
}

.no-scroll {
    overflow: hidden;
    height: 100%; /* Empêche tout défilement vertical */
}

strong {
    font-weight: 600;
}

.toast {
    background-color: var(--vert-fonce);
    color: #FFFFFF;
    /* Ajoute de l'espace à droite pour la croix */
    padding: 20px 3rem 20px 20px;
    font-size: 1rem;
    position: relative; /* Permet le positionnement absolu du bouton de fermeture */
}

/* Bouton de fermeture du toast en haut à droite */
.toast .btn-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    margin: 0 !important;
}

a.bouton {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

a.bouton-vert {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid var(--vert);
    border-radius: 0.5rem;
    background-color: var(--vert);
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

a.bouton i,
a.bouton-vert i {
    font-size: 0.9rem;
}

a.bouton:hover,
a.bouton-vert:hover {
    background-color: var(--vert-fonce);
    border: 1px solid #233c00;
}

.topbar {
    font-size: 0.9rem;
}

.topbar address a {
    color: inherit;
    text-decoration: none;
}

.topbar address a:hover {
    text-decoration: underline;
}

.topbar nav a img {
    transition: transform 0.3s ease-in-out;
    transform-origin: center center;
}

.topbar nav a:hover img {
    transform: scale(1.25);
}

.menu {
    background-color: var(--vert);
    color: #FFFFFF;
}

.menu small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.menu h1.nom {
    font-size: 1.1rem;
    line-height: 1.1;
    padding: 0;
    margin: 0;
}

.menu .etoile {
    color: #fabd03;
}

.menu .titre-haut {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.menu .titre-bas {
    font-size: 1rem;
    font-weight: 500;
}

.menu .nav-link {
    position: relative;
    padding: 1.5rem 0;
}

.menu .nav-link::before {
    font-family: "Font Awesome 6 Pro Solid", "Font Awesome 6 Pro", "Font Awesome 6", "Font Awesome", sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-180%, -50%);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    color: var(--vert-fonce);
    transition: opacity 0.3s ease-in-out;
}

.menu .nav-link:hover::before {
    opacity: 1;
}

.menu .icon-hiking::before {
    content: "\f6ec";
}

.menu .icon-bed::before {
    content: "\e00d";
}

.menu .icon-camera::before {
    content: "\f030";
}

.menu .icon-map::before {
    content: "\f3c5";
}

.menu .nav-link .titre-haut,
.menu .nav-link .titre-bas,
.menu .nav-link i {
    position: relative;
    z-index: 1;
}

.menu .nav-link i {
    transition: color 0.3s ease-in-out;
}

.menu .nav-link i:hover {
    color: var(--vert-fonce);
}

.menu .nav-link .reserver {
    background-color: #fabc02;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border: 1px solid #FFFFFF;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.menu .nav-link .reserver:hover {
    background-color: #d89300;
    border: 1px solid #FFFFFF;
}

.menu .nav-link .reserver i {
    font-size: 1rem;
}

.menu-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

#hamburger {
    font-size: 1.6em;
    z-index: 1030;
    cursor: pointer;
    width: 45px;
    height: 45px;
    background-color: var(--vert);
    color: white;
    opacity: 1;
    transition: transform 0.3s;
    animation: fadeEffect 1s ease 2.5s forwards;
}

.menu-responsive-menu {
    color: #FFFFFF;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 60%;
    height: 100%;
    overflow-y: auto;
    transition: transform 0.6s ease-in-out;
    z-index: 1040;
    background: linear-gradient(to bottom, var(--vert), var(--vert));
    /*box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);*/
}

.menu-responsive-menu.open {
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(0);
}

.menu-responsive-menu h2 {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.menu-responsive-menu i {
    font-size: 1em;
}

.menu-responsive-menu ul {
    padding: 0;
    margin: 0;
}

.menu-responsive-menu li {
    list-style: none;
    font-size: 0.85rem;
}

.menu-responsive-menu li a {
    color: inherit;
    text-decoration: none;
}

.menu-responsive-menu .menu-icon {
    width: 24px; /* Fixe la largeur des icônes */
    text-align: center; /* Centre les icônes dans leur espace */
    font-size: 0.85rem; /* Ajustez la taille des icônes si nécessaire */
}

.menu-responsive-menu .reserver {
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid #FFFFFF;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.menu-responsive-menu .reserver:hover {
    background-color: var(--vert-fonce);
    border: 1px solid #233c00;
}

.menu-responsive-menu .reserver i {
    font-size: 0.9rem;
}

#diaporama .carousel-item {
    position: relative;
    height: 500px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

#diaporama .carousel-item img {
    height: 100%;
    object-fit: cover;
}

#diaporama .encart {
    border-radius: 0.5rem;
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 60%;
    height: 50%;
    background-color: rgba(58, 99, 0, 0.7);
    z-index: 1;
}

#diaporama .encart h2 {
    color: #FFFFFF;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#diaporama .encart h3 {
    color: #FFFFFF;
    font-size: 2.8rem;
    font-weight: 500;
}

#diaporama-page .carousel-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: no-repeat center center scroll;
    background-size: cover;
    background-position: center;
}

#diaporama-page .carousel-item img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

.a-propos h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.a-propos h5 {
    font-family: ff-market-web, sans-serif;
    font-size: 3.5rem;
}

.a-propos i.icone {
    font-size: 3.5rem;
    color: var(--vert);
}

.a-propos .icone-titre {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    min-height: 3.5rem;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
}

.a-propos .besoin-infos {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    background-color: var(--vert);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out;
}

.a-propos .besoin-infos:hover {
    background-color: var(--vert-fonce);
}

.a-propos .besoin-infos i {
    font-size: 1.5rem;
}

.a-propos ul.row > li figure {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.hebergements h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hebergements .titre {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hebergements .sous-titre {
    font-size: 1rem;
    font-weight: 400;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hebergements .description-tronquee {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 100px;
}

.points-forts h4 {
    font-family: ff-market-web, sans-serif;
    font-size: 2.5rem;
}

.points-forts .icone-point {
    font-size: 3.5rem;
    color: var(--vert);
}

.points-forts .titre-point {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.points-forts .point {
    min-height: 250px;
}

.diaporama-photos {
    background-color: rgba(255, 255, 255, 0.3); /* Fond blanc très léger pour casser le background */
}

.diaporama-photos h4 {
    font-family: ff-market-web, sans-serif;
    font-size: 2.5rem;
}

#diaporama-photos .carousel-item {
    position: relative;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

#diaporama-photos .carousel-item img {
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.diaporama-photos .carousel-inner img {
    height: 500px;
    border: 1px solid var(--vert);
    object-fit: cover;
    overflow: hidden;
}

.footer-site {
    background-color: #2e4d0a;
    color: white;
}

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

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

.footer-site h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer-site .appelez {
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid #FFFFFF;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.footer-site .appelez:hover {
    background-color: var(--vert-fonce);
    border: 1px solid #233c00;
    text-decoration: none;
}

.affiliation-img {
    max-width: 180px;
    height: auto;
}

/* ---------------------------------
 * Styles propres aux pages
 * --------------------------------- */

.page-photos-diaporamas h3,
.page-services-loisirs h3,
.page-situations-alentours h3,
.page-tarifs-hebergements h3,
.page-mentions-legales h3,
.page-contact h3 {
    font-family: ff-market-web, sans-serif;
    font-size: 2.5rem;
}

.page-photos-diaporamas h4,
.page-services-loisirs h4,
.page-situations-alentours h4,
.page-tarifs-hebergements h4,
.page-mentions-legales h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-tarifs-hebergements .photo-hebergement,
.hebergements .photo-hebergement {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 1px solid var(--vert);
}

h5#titre-hebergements {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vert);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-photos-diaporamas ul:not(.list-inline):not(.carousel-indicators),
.page-tarifs-hebergements ul:not(.list-inline):not(.carousel-indicators),
.page-services-loisirs ul:not(.row):not(.list-inline):not(.carousel-indicators) {
    list-style-type: none; /* Retire les puces par défaut */
    padding-left: 10px; /* Supprime l'indentation par défaut */
}

.page-photos-diaporamas ul:not(.list-inline):not(.carousel-indicators) li::before,
.page-tarifs-hebergements ul:not(.list-inline):not(.carousel-indicators) li::before,
.page-services-loisirs ul:not(.row):not(.list-inline):not(.carousel-indicators) li::before {
    font-size: 1rem;
    content: "\2714"; /* Code Unicode pour la flèche droite */
    padding-right: 8px;
    color: var(--bleu-gris);
    font-weight: 800;
}

.page-photos-diaporamas .photo-diapo {
    width: 100%;
    height: 500px;
    border: 1px solid var(--vert);
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-fiche h3 {
    font-family: ff-market-web, sans-serif;
    font-size: 2.5rem;
}

.page-fiche h5 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-fiche .photo-principale {
    border: 1px solid var(--vert);
}

.table.bg-transparent thead,
.table.bg-transparent tbody,
.table.bg-transparent tr,
.table.bg-transparent td,
.table.bg-transparent th {
    background-color: transparent !important;
}

/* Corrige scroll horizontal sur mobile pour les tableaux */
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
}

.table td,
.table th {
    white-space: normal;
    word-break: break-word;
}

.table thead th {
    white-space: normal;
}

.page-contact input,
.page-contact select,
.page-contact textarea {
    font-size: 0.85rem;
    border: none;
    border-bottom: 1px solid var(--vert);
    padding: 15px 20px;
    border-radius: 0;
    color: var(--vert);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-contact input::placeholder,
.page-contact select::placeholder,
.page-contact textarea::placeholder {
    color: var(--vert);
    opacity: 1; /* Assure que le bleu est bien visible */
}

.page-contact button {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid var(--vert);
    border-radius: 0.5rem;
    background-color: var(--vert);
    padding: 0.5rem;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.page-contact button:hover {
    background-color: var(--vert-fonce);
    border: 1px solid #233c00;
}

.page-services-loisirs .carousel-item {
    position: relative;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

.page-services-loisirs .carousel-item img {
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.page-services-loisirs .carousel-inner img {
    height: 500px;
    border: 1px solid var(--vert);
    object-fit: cover;
    overflow: hidden;
}

/* ---------------------------------
 * Responsive : Smartphones (<576px)
 * --------------------------------- */

@media (max-width: 575.92px) {

    a.bouton {
        font-size: 0.7rem;
    }

    a.bouton-vert {
        font-size: 0.7rem;
    }

    a.bouton i,
    a.bouton-vert i {
        font-size: 0.7rem;
    }

    #diaporama .encart {
        border-radius: 0.5rem;
        position: absolute;
        bottom: 10%;
        left: 5%;
        width: 90%;
        height: 35%;
        background-color: rgba(58, 99, 0, 0.7);
        z-index: 1;
    }

    #diaporama .encart h2 {
        color: #FFFFFF;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    #diaporama .encart h3 {
        color: #FFFFFF;
        font-size: 1.6rem;
        font-weight: 500;
    }

    .a-propos h5 {
        font-size: 2.5rem;
    }

    .hebergements .sous-titre {
        font-size: 0.8rem;
    }

    .hebergements .description-tronquee {
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
        text-overflow: initial;
        min-height: auto;
    }

    .points-forts .point {
        min-height: 200px;
    }

    .footer-site {
        font-size: 0.9rem;
    }

    #diaporama-page .carousel-item img {
        height: 100%;
    }

    .table td,
    .table th {
        font-size: 0.80rem;
    }
}

/* ---------------------------------
 * Responsive : Tablettes (≥576px et <1024px)
 * --------------------------------- */
@media (min-width: 576px) and (max-width: 1024px) {

    #diaporama .encart h2 {
        color: #FFFFFF;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    #diaporama .encart h3 {
        color: #FFFFFF;
        font-size: 1.8rem;
        font-weight: 500;
        text-transform: uppercase;
    }
}