/* vars.css - Variables CSS */
:root {
    --color-primary: #aa7942;
    --color-secondary: #333333;
    --color-text: #555555;
    --color-bg: #fdfdfd;
    --font-main: "Source Sans Pro", sans-serif;
}

/* style.css - Styles principaux */
body {
    font-family: var(--font-main);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 15px;
}

.navbar a:hover {
    text-decoration: underline;
}


.nav-links {
    display: flex;
    gap: 0px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
}

/* Icône burger - cachée par défaut */
.burger-menu {
    font-size: 30px;
    cursor: pointer;
    display: none; /* Caché sur desktop */
    color: white;
}

/* Affichage mobile */
@media (max-width: 768px) {
    .burger-menu {
        display: block; /* Affiché sur mobile */
    }

    .nav-links {
        display: none; /* Caché par défaut sur mobile */
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        text-align: right;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        color: white;
    }

    .nav-links.active {
        display: flex; /* Afficher quand le menu est ouvert */
    }
}


.photo-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.photo-button:hover {
    background-color: #8c5e2d;
}

.header {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 20px;
}

.info, .description, .features, .gallery, .services {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Rservation -- calendrier\ =======================================================================*/

.reservation {
    max-width: 900px; /* Augmenter la largeur */
    margin: 30px auto;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#calendar {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
}

.flatpickr-calendar {
    font-size: 16px;
    max-width: 800px; /* Ajuste la largeur */
}

.flatpickr-days {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flatpickr-day {
    border-radius: 5px; /* Angles légèrement arrondis */
    padding: 8px;
    transition: 0.3s ease;
}

.flatpickr-day:hover {
    background: #f0f0f0 !important;
}

/* ✅ Ajouter un effet de barré sur les dates réservées */
.flatpickr-disabled {
    position: relative;
    color: #aaaaaa !important;
    background: #f8f8f8 !important;
    cursor: not-allowed !important;
}

.flatpickr-disabled::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgb(8, 6, 6); /* Barre rouge */
    top: 60%;
    left: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .flatpickr-calendar {
        max-width: 100% !important;
    }
}


/* =======================================================================*/

#checkin {
    width: 250px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.calendar {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.details {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.details li {
    background: var(--color-secondary);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 5px;
}

.features ul, .services ul {
    list-style: none;
    padding: 0;
}

.features li, .services li {
    padding: 10px;
    background: #f7f7f7;
    margin: 5px 0;
    border-radius: 5px;
}


/* Galeries photo=======================================================================*/

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-container img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.gallery-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.gallery {
    width: 90%;
    max-width: 900px;
    margin: auto;
    text-align: center;
    overflow: hidden; /* Empêche les images de dépasser */
}

.swiper-container {
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 10px;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Empêche les images trop grandes */
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Ajustement mobile */
@media (max-width: 768px) {
    .swiper-slide img {
        max-height: 200px; /* Images plus petites sur mobile */
    }
}

/* Cacher les flèches de navigation sur la vidéo */
.video-container .swiper-button-next,
.video-container .swiper-button-prev {
    display: none !important;
}


/* Afficher les flèches uniquement dans la galerie */
.fancybox__nav {
    display: flex !important;
}

/* Bouton Voir toutes les photos */
.see-more {
    text-align: center;
    margin-top: 15px;
}

.see-more a {
    text-decoration: none;
    color: #ff5733;
    font-size: 16px;
    font-weight: bold;
}

/* =======================================================================*/


.map {
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
}

#google-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


footer {
    background-color: var(--color-secondary);
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

