@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');

/* Couleurs de la palette */
:root {
    --color-1: #26441e;
    --color-2: #e0ada5;
    --color-3: #c0d8c0;
    --color-4: #a5961f;
    --color-5: #494949;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: var(--color-5);
}



.container {
    width: 90%;
    max-width: 960px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo {
    width: auto;
    height: 150px;
    max-width: 200px;
    display: flex;
    align-items: center;
}


#main-nav {
    width: 100%;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

#main-nav nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    gap: 0;
}

#main-nav nav ul li {
    display: flex;
    align-items: center;
}

#main-nav nav ul li + li::before {
    content: "·";
    color: #ccc;
    font-size: 16px;
    padding: 0 2px;
    line-height: 1;
}

#main-nav nav ul li a {
    display: block;
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 3px;
    white-space: nowrap;
}

#main-nav nav ul li a:hover {
    color: #2c3e50;
    background-color: #e8e8e8;
}


/* Barre supérieure discrète */
.top-bar {
    background-color: #2c3e50; /* Un bleu-gris pro */
    padding: 5px 20px;
    display: flex;
    justify-content: flex-end; /* Aligne à droite */
}

.language-selector a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 12px;
    margin-left: 12px;
    font-weight: 300;
    transition: color 0.3s;
}

.language-selector a:hover {
    color: #e0ada5; /* Utilise ta couleur secondaire (rose sable) au survol */
}

.language-selector a.active {
    font-weight: 600;
    border-bottom: 1px solid #e0ada5;
}

/* On ajuste le container pour qu'il ne colle pas à la barre */
.container {
    margin-top: 0px; 
    border-top: none;
}

.logo img {
    height: 100%;
}

.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    color: var(--color-1);
    margin: 0;
    text-align: center;
}

.description-situation {
    text-align: center;
}

.situation-list {
    list-style: none;
    padding: 0;
}

.situation-list li {
    margin-bottom: 5px;
}

.situation-list li i {
    margin-right: 5px;
}

.button-nav {
    background-color: #26441e;
    padding: 10px 0;
    text-align: center;
}

.button-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.button-nav ul li {
    margin: 0 15px;
}

.button-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.button-nav ul li a:hover {
    color: #303030;
}

@media (max-width: 768px) {
    .button-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .button-nav ul li {
        margin: 5px 0;
    }
}


.description-text {
    flex: 1;
}

.activity-image {
    flex: 1;
    text-align: right;
}

.activity-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .description-container {
        flex-direction: column;
        align-items: stretch;
    }

    .activity-image {
        text-align: center;
    }

    .activity-image img {
        max-width: 100%;
    }
}



/* Style pour le slideshow */
.image-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}


.equipments ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.equipments li {
    font-size: 1em;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.equipments li i {
    margin-right: 5px;
    color: var(--color-4);
}


.main-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 10px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease;
}

.thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    position: relative;
}

.thumbnail {
    width: 120px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

.thumbnail.active {
    border: 2px solid #007bff;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .main-image {
        height: 400px;
    }

    .thumbnail {
        width: 90px;
        height: 70px;
    }
}


.characteristics {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.characteristics h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.characteristics p {
    font-size: 1em;
    line-height: 1.4;
}

.description-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 1em;
}

.description-text {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.description-text p b {
    font-size: 1.2em;
    color: var(--color-1);
}

.description-situation {
    text-align: left; /* Aligner à gauche */
}


.google-map {
    margin-top: 10px;
}

.google-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.equipments ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.equipments li {
    font-size: 1em;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.equipments li i {
    margin-right: 5px;
    color: var(--color-4);
}

.footer {
    font-size: 0.8em;
    text-align: center;
    margin-top: 20px;
    padding: 15px 20px;
    color: #555;
    border-top: 1px solid #ddd;
    background-color: #f8f8f8;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer a {
    color: #0073e6;
    text-decoration: none;
}

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

/* Styles pour le modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .site-title {
        font-size: 2em;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
    }
}

/* Optimisation Slideshow Responsive */
.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Garde une proportion constante */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

#main-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit sans déformer */
    transition: opacity 0.3s ease-in-out;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 5px;
}

.nav-btn:hover { background: rgba(0,0,0,0.8); }
.prev { left: 10px; }
.next { right: 10px; }

.thumbnails-container {
    display: flex;
    gap: 10px;
    overflow-x: auto; /* Scroll horizontal sur mobile */
    padding: 10px 0;
    scrollbar-width: thin;
}


      /* Bloc Promotionnel Direct Propriétaire */
@-webkit-keyframes slide-in {
    from { opacity: 0; -webkit-transform: translateY(-20px); transform: translateY(-20px); }
    to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes slide-in {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@-webkit-keyframes pulse-border {
    0%   { -webkit-box-shadow: 0 4px 15px rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-color: #fcc419; }
    50%  { -webkit-box-shadow: 0 6px 30px rgba(252, 196, 25, 0.6); box-shadow: 0 6px 30px rgba(252, 196, 25, 0.6); border-color: #e67e22; }
    100% { -webkit-box-shadow: 0 4px 15px rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-color: #fcc419; }
}
@keyframes pulse-border {
    0%   { box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-color: #fcc419; }
    50%  { box-shadow: 0 6px 30px rgba(252, 196, 25, 0.6); border-color: #e67e22; }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-color: #fcc419; }
}

.promo-direct {
    background-color: #fff9db;
    border: 2px solid #fcc419;
    color: #2c3e50;
    padding: 25px;
    margin: 10px auto; /* était 30px, réduire selon besoin */
    max-width: 900px;
    text-align: center;
    border-radius: 8px;
    -webkit-animation: slide-in 0.6s ease-out both,
                       pulse-border 2.5s ease-in-out 0.6s infinite;
    animation: slide-in 0.6s ease-out both,
               pulse-border 2.5s ease-in-out 0.6s infinite;
}

.promo-direct h2 {
    margin: 0;
    font-size: 18px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 15px;
}

.promo-direct i {
    color: #e67e22;
    font-size: 28px;
}


        /* Sections Paiement */
        .payment-info {
            margin: 40px auto;
            max-width: 900px;
            line-height: 1.6;
        }
        .payment-section {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            border-left: 5px solid #2c3e50;
        }
        .icon-title {
            color: #2c3e50;
            font-size: 18px;
            margin-top: 0;
        }
        .icon-title i { margin-right: 10px; color: #34495e; }

        @media (max-width: 768px) {
            .promo-direct h2 { font-size: 18px; }
        }
   

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 4px;
    transition: 0.3s;
    flex-shrink: 0;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
    border: 2px solid var(--color-1);
}

@media (max-width: 600px) {
    .nav-btn { padding: 10px; font-size: 18px; }
}