@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary: #6b8e23;
    /* Olive Green */
    --primary-dark: #556b2f;
    --accent: #d2b48c;
    /* Tan/Sand */
    --text: #2f2f2f;
    --text-light: #666;
    --bg: #fdfaf5;
    /* Warm White/Cream */
    --bg-alt: #f4efea;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --container: 1100px;
    --header-height: 140px;
    --header-bg: transparent;
    --header-text: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

h1,
h2,
h3,
.likeH1,
.serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Header */
header.site-header {
    height: var(--header-height);
    background: var(--header-bg);
    display: flex;
    align-items: center;
    position: absolute;
    /* Pour survoler le Hero */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    /* Pas d'ombre sur header transparent */
    color: var(--header-text);
}

header.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 100px;
    /* Plus grand */
    width: auto;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav.main-nav ul li a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--header-text);
}

nav.main-nav ul li a:hover {
    color: var(--accent);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--header-text);
    z-index: 1001;
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1,
.hero .likeH1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Main Content */
.content-area {
    background: var(--white);
}

.content-area h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
}

.html-content {
    font-size: 1.1rem;
    margin: 0 auto;
}

.html-content p {
    margin-bottom: 20px;
}

.html-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.html-content ul,
.html-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.html-content li {
    margin-bottom: 10px;
}

/* Tables Styling */
.html-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.html-content th {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    text-align: left;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.html-content td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--bg-alt);
}

.html-content tr:last-child td {
    border-bottom: none;
}

.html-content tr:nth-child(even) {
    background-color: #fafbfc;
}

.html-content tr:hover {
    background-color: #f1f5f9;
}

/* Responsive Table */
@media (max-width: 600px) {
    .html-content {
        overflow-x: auto;
    }

    .html-content table {
        min-width: 500px;
    }
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-paragraph {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: var(--text);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-col p {
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-bottom: 40px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details i {
    color: var(--primary);
    width: 20px;
}

.contact-form {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 12px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.contact-form textarea {
    height: 150px;
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Photothèque / Galerie Photos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: var(--white);
    transition: all 0.3s ease;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox overlay */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#lightbox-overlay.active #lightbox-img {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .likeH1 {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    nav.main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        /* Fond noir opaque */
        backdrop-filter: blur(10px);
        /* Rendu premium */
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 100px 40px;
    }

    nav.main-nav.active {
        right: 0;
    }

    nav.main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav.main-nav ul li a {
        font-size: 1.2rem;
        color: white !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        height: 180px;
    }
}

/* Avis Google Public Section */
.google-reviews-section {
    padding: 60px 0;
    background: #fdfdfd;
    border-radius: 20px;
    margin: 40px 0;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-header h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rating-value {
    font-size: 3rem;
    font-weight: 800;
    color: #f59e0b;
}

.rating-summary .stars {
    color: #f59e0b;
    font-size: 1.2rem;
}

.rating-summary .count {
    color: #64748b;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-top: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-header h2 {
        font-size: 1.8rem;
    }

    .rating-value {
        font-size: 2.25rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}