/* ==============================
   Reset global
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

/* ==============================
   Header & Menu (toutes pages)
================================ */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    font-weight: bold;
}

.menu li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ==============================
   Page Accueil - Hero Section
================================ */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    background: url('../images/photo-mateus-pontes.avif') no-repeat center center/cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #003d80;
}

/* ==============================
   Accueil - Présentation Section
================================ */
.presentation {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.presentation h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.presentation p {
    font-size: 18px;
    color: #555;
}

/* ==============================
   Carousel (géré par JS donc réduit ici)
================================ */
.carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 700px; /* Ajuste selon ta préférence */
}

.carousel-container {
    display: flex;
    width: max-content;
}

.carousel-container img {
    width: 100vw;
    height: 700px;
    object-fit: cover;
}

/* ==============================
   Sections communes avec banner
================================ */

.banner-services {
    background: url('../images/photo-carte-glenn-carstens.avif') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.banner-perso{
    background: url('../images/arc-en-ciel.avif') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.banner-qui {
    background: url('../images/histoire.avif') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.banner-destinations {
    background: url('../images/map.avif') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.banner-contact {
    background: url('../images/telephones.avif') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

/* ==============================
   Page Services
================================ */
.services {
    padding: 50px 20px;
    background-color: #fff;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-intro {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left; /* Texte aligné à gauche dans chaque bloc */
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #0056b3;
}

.service-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.cta {
    text-align: center;
    margin-top: 30px;
}


/* ==============================
   Page Personnalisation
================================ */
.form-intro {
    text-align: center;
    padding: 50px 20px;
}

.form-placeholder {
    padding: 50px 20px;
    background-color: #f0f0f0;
    text-align: center;
    font-style: italic;
}

/* ==============================
   Page Qui sommes-nous
================================ */
.about-us {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-block {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-block h2 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 24px;
}

.about-block p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.about-block ul {
    padding-left: 20px;
}

.about-block li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

@media screen and (max-width: 768px) {
    .about-us {
        padding: 15px;
    }
}

/* ==============================
   Page Destinations
================================ */
.destinations {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.destinations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.destination-item {
    width: 300px;
    background-color: #f9f9f9;
    overflow: hidden;
    border-radius: 10px;
}

/* ==============================
   Page Contact
================================ */
.contact {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* ==============================
   Footer (toutes pages)
================================ */
footer {
    text-align: center;
    padding: 15px 0;
    background-color: #0056b3;
    color: white;
    margin-top: 30px;
}

/* ==============================
   Espacements généraux entre sections
   ============================== */

   section {
    margin-bottom: 30px;
}

.carousel {
    margin-bottom: 50px;
}

/* ==============================
   Menu burger responsive (mobile)
   ============================== */

/* Cache le bouton burger par défaut */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Cacher le menu sur mobile par défaut */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Affichage en mode mobile */
@media screen and (max-width: 768px) {
    nav {
        position: relative;
    }

    .burger-menu {
        display: block; /* Le burger s'affiche */
    }

    .menu {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        padding: 10px;
    }

    .menu.active {
        display: flex; /* Quand le menu est ouvert */
    }

    .menu li {
        margin-bottom: 10px;
    }
}

/* ==============================
   Centrage et mise en page générale
================================ */

/* Centrer tout ce qui est texte, form, et contenu principal */
section {
    text-align: center;
}

section h2, section h3 {
    text-align: center;
    margin-bottom: 15px;
}

/* Centrer les boutons */
.btn {
    display: inline-block;
    margin: 15px auto;
}

/* Centrer les blocs de texte (cas "Qui sommes-nous" ou services) */
.about-us, .services {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.services h2, .services p {
    text-align: center;
}

/* Centrer les sections avec texte centré (par exemple présentation ou intro) */
.presentation, .form-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Formulaire de contact bien centré */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: left;
}

/* Gestion des inputs pour qu’ils prennent la largeur */
.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Bouton centré dans le formulaire */
.contact form button {
    display: block;
    margin: 0 auto;
}

/* ==============================
   Responsive - Ajustement petits écrans
================================ */

@media screen and (max-width: 768px) {
    section {
        padding: 30px 15px;
    }

    .presentation, .form-intro, .about-us, .services {
        padding: 20px;
    }

    .contact form {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==============================
   Effets hover avancés - Services & Qui sommes-nous
================================ */

/* Blocs de la page Nos Services */
.service-item {
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.1); /* Léger voile bleu */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f1f8ff; /* Fond bleu très clair */
    border-color: #0056b3; /* Bordure bleue */
}

.service-item:hover::before {
    opacity: 1; /* Apparition d’un léger filtre de couleur */
}

/* Blocs de la page Qui sommes-nous */
.about-block {
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.1); /* Même effet voile */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.about-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f1f8ff; /* Fond bleu très clair */
    border-color: #0056b3; /* Bordure bleue */
}

.about-block:hover::before {
    opacity: 1;
}

/* ==============================
   Effet hover avancé - Section présentation accueil
================================ */

.presentation {
    padding: 50px 20px;
    background-color: #fff;
    max-width: 900px;
    margin: 30px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.presentation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.1); /* Léger voile bleu */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.presentation:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f1f8ff; /* Bleu très clair */
    border-color: #0056b3; /* Bordure bleue */
}

.presentation:hover::before {
    opacity: 1;
}

/* ==============================
   Page Contact - Séparation infos et formulaire
================================ */

/* Section des coordonnées */
.contact-info {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info h2 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Section du formulaire */
.contact-form {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form h2 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Formulaire de contact propre */
.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.contact-form button:hover {
    background-color: #003d80;
}

/* ==============================
   Effet hover avancé - Sections Contact
================================ */

.contact-info, .contact-form {
    padding: 30px;
    background-color: #fff;
    max-width: 900px;
    margin: 30px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-info::before, .contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.1); /* Léger voile bleu */
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.contact-info:hover, .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f1f8ff; /* Bleu très clair */
    border-color: #0056b3; /* Bordure bleue */
}

.contact-info:hover::before, .contact-form:hover::before {
    opacity: 1; /* Léger voile qui apparaît */
}

/* Ajout d'un petit style pour séparer le formulaire */
.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.contact-form button:hover {
    background-color: #003d80;
}

/* ==============================
   Formulaire de personnalisation
================================ */

.form-section {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
}

.form-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.05);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f1f8ff;
    border-color: #0056b3;
}

.form-section:hover::before {
    opacity: 1;
}

.custom-form {
    text-align: left;
    margin-top: 20px;
}

.custom-form .form-group {
    margin-bottom: 15px;
}

.custom-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.custom-form textarea {
    resize: none;
}

.custom-form button {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 20px auto 0;
}

.custom-form button:hover {
    background-color: #003d80;
}

/* ==============================
   Formulaire Wizard (Personnalisation) - Version complète avec transitions
================================ */
.form-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

/* Boutons d’étape */
.wizard-toggle {
    width: 100%;
    padding: 15px;
    background-color: #0056b3;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.wizard-toggle:hover {
    background-color: #003d80;
    transform: translateY(-2px);
}

/* Icône "+" et "-" */
.wizard-toggle::before {
    content: "+";
    font-weight: bold;
    font-size: 18px;
}

.wizard-step.open .wizard-toggle::before {
    content: "-";
}

/* Contenu caché par défaut */
.wizard-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    transition: max-height 0.6s ease, opacity 0.5s ease, padding 0.3s ease;
}

/* Contenu visible quand ouvert */
.wizard-step.open .wizard-content {
    opacity: 1;
    max-height: 500px; /* Une valeur large, mais suffisante pour contenir les inputs */
    padding: 15px 20px;
}

/* Espacement entre les champs */
.wizard-content .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Style des champs */
.wizard-content input,
.wizard-content select,
.wizard-content textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

/* Textarea plus propre */
.wizard-content textarea {
    resize: vertical;
    min-height: 80px;
}

/* Placeholder stylé */
.wizard-content textarea::placeholder {
    color: #888;
    font-style: italic;
}

/* Bouton final */
.wizard-submit {
    text-align: center;
    margin-top: 20px;
}

