/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* beige clair */
    color: #4e4b43; /* marron foncé */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Bandeau principal avec image et effet parallax */
.banner {
    background-image: url('photo site.webp'); /* Vérifie le chemin de l'image */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Hauteur de l'écran */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInBanner 2s ease-in-out;
}

/* Animation pour l'apparition */
@keyframes fadeInBanner {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Titre en marron */
.banner h1 {
    font-size: 4rem;
    margin: 0;
    font-weight: bold;
    color: #4e4b43 !important; /* Marron - Utilisation de !important pour forcer la couleur */
}

/* Texte explicatif en marron */
.banner p {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #4e4b43 !important; /* Marron - Utilisation de !important pour forcer la couleur */
}

/* Forcer la couleur du texte dans la bannière (pas d'héritage) */
.banner * {
    color: #4e4b43 !important; /* Marron - Appliquer à tous les enfants dans la bannière */
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Menu de navigation avec effet dynamique */
nav {
    background-color: #4e4b43; /* marron foncé */
    text-align: center;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c69c6d; /* marron clair */
    text-decoration: underline;
}

nav.scrolled {
    background-color: #3e3a32; /* Un marron plus foncé quand on scroll */
}

/* Section "Contact" avec formulaire interactif */
.contact-form {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Barre d'email stylisée et centrée */
.email-bar {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.email-bar h2 {
    font-size: 1.5rem;
    color: #4e4b43; /* Marron pour le titre */
    margin-bottom: 10px;
}

.email-bar p {
    font-size: 1rem;
    color: #4e4b43; /* Marron pour le texte */
    margin-bottom: 20px;
}

.email-bar input {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #4e4b43; /* Bordure marron */
    border-radius: 5px;
    margin-right: 10px;
    width: 70%; /* Champ de saisie plus large */
    transition: border-color 0.3s ease;
}

.email-bar input:focus {
    border-color: #3a3531; /* Changement de couleur au focus */
    outline: none; /* Retirer le contour par défaut */
}

.email-bar button {
    padding: 12px 25px;
    background-color: #FFA500; /* Orange pour le bouton */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.email-bar button:hover {
    background-color: #e69500; /* Changement de couleur au survol */
}

/* Pied de page avec animations */
footer {
    background-color: #4e4b43;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    animation: fadeIn 2s ease-in-out;
}

footer p {
    font-size: 1rem;
}

/* Effet Parallax pour l'arrière-plan */
@media (min-width: 768px) {
    .banner {
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
    }
/* Flèche de retour */
.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    text-decoration: none;
    color: #4e4b43; /* Marron */
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.3s ease;
    z-index: 10; /* S'assurer que la flèche soit au-dessus du contenu */
}

/* Icône flèche et effet de hover */
.back-arrow::before {
    content: "←"; /* Icône de flèche */
    font-size: 2rem;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

/* Effet de survol */
.back-arrow:hover {
    color: #8b6f47; /* Marron plus clair au survol */
    transform: translateX(-5px) scale(1.1); /* Agrandir légèrement la flèche au survol */
}
}
