/* styles.css */

/* Couleurs */
:root {
    --color-bg: #000;
    --color-text: #fff;
    --color-accent: #b89b5e;
}

/* Polices */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html, body {
    height: 100%;
}

/* Conteneur général */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Liens */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #9f8545;
    text-decoration: underline;
}

/* En-tête */
header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 16px;
}

nav ul li a:hover {
    color: var(--color-accent);
}

/* Bouton menu mobile */
.menu-toggle {
    display: none;
}

.menu-toggle i {
    font-size: 24px;
}

/* Sélecteur de langue */
.language-selector {
    color: var(--color-text);
    font-size: 14px;
}

.language-selector a {
    color: var(--color-text);
    margin: 0 5px;
}

.language-selector a:hover {
    color: var(--color-accent);
}

/* Contenu principal */
.main-content {
    flex: 1 0 auto;
    padding-top: 100px; /* Pour compenser la hauteur du header */
}

/* Sections */
section {
    padding: 100px 0;
}

section .container {
    /* Contenu des sections */
}

/* Section Héroïque */
.hero-section {
    background: url('images/hero.jpg') no-repeat center center/cover;
    text-align: center;
    color: var(--color-text);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 24px;
    margin-bottom: 40px;
}

.btn {
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #9f8545;
}

/* Section About */
#about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 18px;
}

#about img {
    display: block;
    margin: 50px auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

/* Section Services */
.services-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-item {
    flex: 1 1 45%;
    background-color: #111;
    padding: 30px;
    margin: 15px;
    border-radius: 10px;
    text-align: center;
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Section Testimonials */
#testimonials {
    background-color: #000;
    color: var(--color-text);
    padding: 80px 0;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item p {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-item h4 {
    font-weight: bold;
}

/* Section Contact */
form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #222;
    border: 1px solid #444;
    color: var(--color-text);
    border-radius: 5px;
}

form button {
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 15px 40px;
    border: none;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #9f8545;
}

/* Pied de page */
footer {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
}

footer .container {
    /* Contenu du footer */
}

footer p {
    margin: 0;
    color: var(--color-text);
}

footer a {
    color: var(--color-accent);
}

footer a:hover {
    text-decoration: underline;
}

.social-media {
    margin-top: 10px;
}

.social-media a {
    color: var(--color-text);
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: var(--color-accent);
}

/* Section Erreur 404 */
#error-404 {
    text-align: center;
    padding: 100px 0;
}

#error-404 h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

#error-404 p {
    font-size: 18px;
    margin-bottom: 40px;
}

#error-404 .btn {
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s;
}

#error-404 .btn:hover {
    background-color: #9f8545;
}

/* Styles personnalisés améliorés pour Cookie Consent */

/* Bouton "I agree" / "Accepter" */
.cc-nb-okagree {
    background-color: #b89b5e !important; /* Couleur d'accent */
    color: #000 !important; /* Texte noir */
    padding: 10px 20px !important;
    border-radius: 30px !important; /* Coins arrondis */
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
    border: none !important; /* Supprimer les bordures */
    margin-right: 10px !important;
}

/* Bouton "I decline" / "Refuser" */
.cc-nb-reject {
    background-color: #444 !important; /* Fond sombre pour le bouton de refus */
    color: #fff !important; /* Texte blanc */
    padding: 10px 20px !important;
    border-radius: 30px !important; /* Coins arrondis */
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
    border: none !important; /* Supprimer les bordures */
    margin-right: 10px !important;
}

/* Bouton "Change my preferences" / "Modifier mes préférences" */
.cc-nb-changep {
    background-color: #b89b5e !important; /* Couleur d'accent */
    color: #000 !important; /* Texte noir */
    padding: 10px 20px !important;
    border-radius: 30px !important; /* Coins arrondis */
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
    border: none !important; /* Supprimer les bordures */
    margin-right: 10px !important;
}

/* Bouton "Save my preferences" / "Enregistrer mes préférences" */
.cc-cp-foot-save {
    background-color: #b89b5e !important; /* Couleur d'accent */
    color: #000 !important; /* Texte noir */
    padding: 10px 20px !important;
    border-radius: 30px !important; /* Coins arrondis */
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
    border: none !important; /* Supprimer les bordures */
    margin-top: 20px !important;
}

/* Bouton de fermeture (✕) */
.cc-pc-head-close {
    color: #fff !important; /* Texte blanc */
    font-size: 24px !important;
    cursor: pointer !important;
    transition: color 0.3s !important;
}

.cc-pc-head-close:hover {
    color: #b89b5e !important; /* Couleur d'accent au survol */
}

/* Styles pour les titres dans le centre de préférences */
.cc-cp-body-content-entry-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #fff !important; /* Texte blanc */
    margin-bottom: 10px !important;
}

/* Styles pour les textes dans le centre de préférences */
.cc-cp-body-content-entry-text {
    font-size: 14px !important;
    color: #fff !important; /* Texte blanc */
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

/* Liens dans le contenu de la bannière */
.cc-cp-body-content-entry-text a.cc-link {
    color: #b89b5e !important; /* Couleur d'accent */
    text-decoration: underline !important;
}

.cc-cp-body-content-entry-text a.cc-link:hover {
    color: #9f8545 !important; /* Couleur légèrement différente au survol */
}

/* Checkbox personnalisée */
.cc-custom-checkbox {
    display: flex !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.cc-custom-checkbox input.cc-custom-checkbox {
    margin-right: 10px !important;
    accent-color: #b89b5e !important; /* Couleur d'accent pour la checkbox */
}

.cc-custom-checkbox label {
    color: #fff !important; /* Texte blanc */
    font-weight: 500 !important;
}

.cc-custom-checkbox label.is-inactive {
    color: #ccc !important; /* Texte gris pour les options inactives */
}

/* Style pour le lien d'ouverture du centre de préférences */
#open_preferences_center {
    color: #b89b5e !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

#open_preferences_center:hover {
    color: #9f8545 !important;
}


/* Responsive */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 200px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        transition: right 0.3s;
    }

    nav ul.show-menu {
        right: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        color: var(--color-text);
    }

    .services-list {
        flex-direction: column;
    }

    .service-item {
        flex: 1 1 100%;
        margin: 15px 0;
    }
}