/* Couleurs */
:root {
    --color-white: #fff;
    --color-green: #005f30;
    --color-gold: #e8dfc8;
    --color-black: #000000;
}

/* Styles généraux */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--color-black);
}

body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-gold);
}

/* Header */
header {
    background-color: var(--color-gold);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 5%;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--color-green);
    padding: 0.5em 1em;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--color-white);
}

/* Section Détails du Voyage */
.details-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-green);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.details-box {
    margin: 0 auto;
    max-width: 900px;
}

/* Bloc titre principal */
.details-box h1 {
    font-size: 2.5em;
    color: var(--color-black);
    margin-bottom: 20px;
}

/* Mise en forme du premier bloc d'infos (bandeau Nusuk) */
.details-box > .details-info:first-of-type {
    background-color: #f7f1df;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--color-green);
    text-align: left;
}

/* Contenu principal */
.details-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.details-info {
    flex: 1;
    text-align: left;
}

.details-info p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.details-info h2,
.details-info h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-green);
}

.details-info ul {
    margin-left: 20px;
    margin-bottom: 10px;
    padding-left: 0;
}

.details-info ul li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Images */
.details-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bouton principal (réservation / pré-inscription) */
.reserve-button {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.reserve-button:hover {
    background-color: var(--color-black);
    transform: translateY(-1px);
}

/* Bouton secondaire (guide) */
.guide-button {
    display: inline-block;
    background-color: transparent;
    color: var(--color-green);
    text-decoration: none;
    padding: 10px 25px;
    font-size: 1.1em;
    border-radius: 5px;
    margin-top: 15px;
    border: 2px solid var(--color-green);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Pour gérer à la fois <button class="guide-button"> et <a class="guide-button"> */
a.guide-button {
    line-height: 1.2;
}

.guide-button:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Footer */
footer {
    background-color: var(--color-gold);
    text-align: center;
    padding: 1em 0;
    margin-top: 50px;
    font-size: 1em;
    color: var(--color-black);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .details-content {
        flex-direction: column;
    }

    .details-box h1 {
        font-size: 2em;
    }

    .details-info p {
        font-size: 1em;
    }

    .reserve-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    .guide-button {
        font-size: 1em;
        padding: 8px 18px;
    }

    .details-box > .details-info:first-of-type {
        text-align: left;
    }
}
