:root {
    --primary-color: #5D2A42; /* Bordeaux foncé */
    --secondary-color: #7BB3D9; /* Bleu ciel */
    --accent-color: #E67E4A; /* Orange corail */
    --highlight-color: #F4C430; /* Jaune soleil */
    --neutral-color: #F5F0E8; /* Beige/crème */
    --text-color: #333;
    --text-color-light: #666;
    --white-color: #FFFFFF;
    --font-title: 'Poppins', sans-serif;
    --font-text: 'Open Sans', sans-serif;
    --container-width: 1100px;
    --border-radius: 20px;
}

/* --- Base & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-bottom: 0; }

.choice-text {
    display: block;
    font-size: 0.4em;
    color: var(--primary-color);
    font-weight: normal;
    margin-top: -0.5rem; /* Adjusted to pull it closer */
    line-height: 1; /* Tighten line height */
}
.hero-subtitle {
    font-size: 1.1rem; /* Smaller font size */
    color: rgba(255, 255, 255, 0.9); /* Match h2 color */
    font-weight: 400; /* Match h2 font-weight */
    margin-bottom: 2.5rem; /* Match h2 margin-bottom */
}font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-bottom: 3rem; 
p { margin-bottom: 1rem; color: var(--text-color-light); }
a { color: var(--accent-color); text-decoration: none; }
img { max-width: 100%; height: auto; }

section {
    padding: 5rem 0;
}

section:nth-of-type(odd) {
    background-color: var(--neutral-color);
}

/* --- Header & Navigation --- */
header {
    background-color: transparent; /* Transparent by default */
    backdrop-filter: none; /* No blur by default */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.header-active {
    background-color: #6891cc; /* Changed to 6891cc when active */
    backdrop-filter: blur(10px); /* Blur when active */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    height: 80px;
}

nav .logo {
    display: none; /* Hidden on desktop */
}

/* Base (Mobile) Styles */
.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(93, 42, 66, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
}

.nav-links.nav-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    background-color: transparent;
}

.nav-links li {
    margin: 1.5rem 0;
}

.nav-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Remove unwanted background/outline on click for nav links */
.nav-links a:active,
.nav-links a:focus {
    background-color: transparent;
    outline: none;
}

.burger {
    display: block;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 { background-color: var(--white-color); transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { background-color: var(--white-color); transform: rotate(45deg) translate(-5px, -6px); }

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

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Changed to column */
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/hero.jpg') no-repeat center center/cover;
    background-size: cover; /* Ensure it covers the area */
    background-repeat: no-repeat;
    background-position: center center;
    color: var(--white-color);
    padding: 0 1.5rem;
    padding-top: 50px; /* Added to account for fixed header */
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 200px; /* Adjust size as needed */
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); /* Optional shadow for better visibility */
}

#hero h1 {
    color: var(--white-color);
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

#hero h2 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem; /* Reduced margin-bottom */
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1rem; /* Smaller than h2 */
    margin-bottom: 2.5rem;
}

.hero-content .contact-buttons {
    margin-top: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #FF9A6A;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.25);
}

/* --- Présentation & Photo Grid --- */
#presentation p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Gallery --- */
.gallery-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-photo-container {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#main-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* --- Informations Essentielles --- */
.info-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item:first-child { padding-top: 0; }

.info-item .icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
}

.info-item h3 { margin-bottom: 0.25rem; }
.info-item p { text-align: left; margin-bottom: 0; }

/* --- Conseils --- */
.conseils-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.conseil-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.conseil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}



.conseil-card .conseil-icon img {
    max-width: 60px;
    max-height: 60px;
    display: block;
    margin: 0 auto 1rem auto;
}

.conseil-card h3 { margin-bottom: 0.5rem; }
.conseil-card p { font-size: 0.95rem; }

/* --- Points de rendez-vous --- */
.maps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.map iframe {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    height: 350px;
}
.map h3 { text-align: center; }

/* --- Contact --- */
#contact {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/gallery4.jpg') no-repeat center bottom/cover;
    color: var(--white-color);
    text-align: center;
}
#contact h2, #contact p {
    color: var(--white-color);
}
#contact p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}
#contact .cta-button {
    margin-bottom: 2rem;
}
#contact .google-link {
    color: var(--neutral-color);
    text-decoration: underline;
    display: inline-block;
    transition: color 0.3s;
}
#contact .google-link:hover {
    color: var(--white-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.whatsapp-button {
    background-color: #25D366;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

/* --- Reviews Section --- */
#reviews {
    background-color: var(--white-color);
    padding: 5rem 0;
}

#reviews h2 {
    margin-bottom: 3rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.review-rating {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.review-rating .fas.fa-star {
    font-family: "Font Awesome 6 Free"; /* Ensure Font Awesome font is used */
    font-weight: 900; /* For solid stars */
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-rating .fas.fa-star:not(.checked) {
    color: #ccc; /* Light grey for unchecked stars */
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    flex-grow: 1; /* Allow comment to take available space */
}

/* --- Footer --- */
footer {
    background-color: #6891cc;
    color: var(--neutral-color);
    text-align: center;
    padding: 3rem 1.5rem;
}
.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}
footer a {
    color: var(--neutral-color);
    text-decoration: underline;
    transition: color 0.3s;
}
footer a:hover {
    color: var(--white-color);
}
.footer-links {
    margin-top: 1rem;
}

/* --- Media Queries --- */
.mobile-only { display: none !important; }
.desktop-only { display: list-item !important; }

@media (max-width: 768px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }
    section { padding: 3rem 0; }

    nav {
        justify-content: flex-end; /* Move burger to the right */
    }

    .burger {
        display: block;
        z-index: 1001; /* Au-dessus de l'overlay */
    }

    .burger div {
        background-color: var(--white-color); /* Make burger lines white on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #6891cc; /* Changed to 6891cc */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 1000;
    }

    .nav-links.nav-active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        background-color: #6891cc; /* Changed to 6891cc when active */
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        color: var(--white-color);
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Remove unwanted background/outline on click for nav links in mobile */
    .nav-links a:active,
    .nav-links a:focus {
        background-color: transparent;
        outline: none;
    }

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

    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    .language-switcher {
        margin-right: 1rem; /* Espace à droite du bouton burger */
    }

    .language-switcher a {
        background-color: var(--secondary-color);
        color: var(--white-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s;
        transform: none;
        box-shadow: none;
    }

    .language-switcher a:hover {
        background-color: #6AA0C8;
        color: var(--white-color); /* Keep text white on hover */
        transform: none; /* Ensure no transform on hover */
        box-shadow: none; /* Ensure no box-shadow on hover */
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .info-item .icon { margin-right: 0; margin-bottom: 1rem; }
    .info-item p { text-align: center; }

    .conseils-grid, .maps-container { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
    #hero {
        background-position: center center; /* Centre la photo */
    }

    nav {
        justify-content: center;
    }

    .nav-links {
        display: flex !important; /* Ensure flex display */
        list-style: none; /* Remove list bullets */
        gap: 2rem; /* Spacing between items */
        position: static; /* Reset positioning */
        flex-direction: row;
        align-items: center;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        opacity: 1; /* Ensure links are visible */
        margin: 0; /* Reset margin from mobile */
    }

    .nav-links a {
        color: var(--white-color); /* Changed to white */
        font-size: 1rem;
        font-weight: 700;
        padding: 0.7rem 1rem; /* Increased padding */
        transition: color 0.3s, border-bottom 0.3s;
        border-bottom: 2px solid transparent; /* Transparent border by default */
    }

    .nav-links a:hover {
        color: #fccc86; /* Changed hover color to fccc86 */
        border-bottom: 2px solid #fccc86; /* Accent color border on hover */
    }

    .burger { display: none; }

    .language-switcher {
        margin-left: 1rem; /* Space from other nav items */
    }

    .language-switcher a {
        background-color: var(--secondary-color);
        color: var(--white-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s; /* Removed transform from transition */
        border-bottom: none; /* Remove border for language switcher */
        transform: none; /* Remove transform */
        box-shadow: none; /* Remove box-shadow */
    }

    .language-switcher a:hover {
        background-color: #6AA0C8;
        color: var(--white-color); /* Keep text white on hover */
        transform: none; /* Ensure no transform on hover */
        box-shadow: none; /* Ensure no box-shadow on hover */
    }

    .conseils-grid { grid-template-columns: repeat(2, 1fr); }
    .maps-container { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (min-width: 1024px) {
    .conseils-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Legal Mentions Page --- */
#legal-mentions {
    padding-top: 120px; /* Add padding to be below the fixed header */
    padding-bottom: 5rem;
    background-color: var(--neutral-color);
    min-height: 100vh; /* Ensure it takes at least the full viewport height */
}

#legal-mentions .container {
    max-width: 800px; /* More readable line length */
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

#legal-mentions h1 {
    text-align: left;
    margin-bottom: 2rem;
}

#legal-mentions h2 {
    text-align: left;
    font-size: 1.5rem; /* Slightly smaller than main section titles */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

#legal-mentions p {
    line-height: 1.8;
    text-align: left;
    color: var(--text-color-light);
}

#legal-mentions p strong {
    color: var(--text-color);
}

/* Remove top margin for the first h2 */
#legal-mentions h2:first-of-type {
    margin-top: 0;
}
