/* General Styles */
body {
    font-family: 'Georgia', serif; /* Classic serif for body text */
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    margin: 0;
    padding-top: 56px; /* Space for fixed header */
}

h1, h2, h3 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif; /* Modern sans-serif for titles */
    color: #2e8b57; /* Vert feuille */
    margin-bottom: 1rem;
}

h1 {
    font-weight: 700; /* Bold and impactful */
    font-size: 2.5rem;
}

h2 {
    font-weight: 500; /* Slightly thinner */
    font-size: 2rem;
}

h3 {
    font-weight: 400;
    font-size: 1.5rem;
}

a {
    color: #2e8b57;
    text-decoration: none;
}

a:hover {
    color: #3cb371;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-spacing {
    padding: 60px 0;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.header .navbar-brand {
    color: #2e8b57;
    font-weight: 700;
    font-size: 1.8rem;
}

.header .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.header .nav-link:hover {
    color: #2e8b57;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Section Layouts */
.bg-light-beige {
    background-color: #f5f5dc; /* Beige sable */
}

.bg-soft-blue {
    background-color: #add8e6; /* Bleu ciel doux */
}

.bg-terracotta-orange {
    background-color: #e2725b; /* Orange terre cuite */
    color: #ffffff;
}

.bg-terracotta-orange h2, .bg-terracotta-orange h3 {
    color: #ffffff;
}

.content-block {
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.two-column-layout > div {
    flex: 1 1 100%;
    padding: 15px;
}

@media (min-width: 768px) {
    .two-column-layout > div {
        flex: 1 1 0;
    }
    .two-column-layout.reverse-columns > div:first-child {
        order: 2;
    }
    .two-column-layout.reverse-columns > div:last-child {
        order: 1;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.card-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-item p {
    font-size: 0.95rem;
    color: #555;
}

.icon-list .list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.icon-list .list-item i {
    font-size: 1.8rem;
    color: #2e8b57;
    margin-right: 15px;
    flex-shrink: 0;
}

.icon-list .list-item div {
    flex-grow: 1;
}

.table-responsive {
    overflow-x: auto;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-custom th, .table-custom td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.table-custom th {
    background-color: #f0f0f0;
    font-weight: 600;
}

/* Accordion (FAQ) */
.accordion .card {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion .card-header {
    background-color: #ffffff;
    padding: 0;
    border-bottom: none;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    color: #2e8b57;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.accordion .btn-link:hover {
    background-color: #f9f9f9;
}

.accordion .card-body {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #fdfdfd;
}

/* Buttons */
.btn-primary {
    background-color: #2e8b57;
    border-color: #2e8b57;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #3cb371;
    border-color: #3cb371;
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: #333;
    color: #ffffff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer .contact-info p {
    margin-bottom: 5px;
}

.footer .disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    z-index: 1040;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.cookie-banner .btn {
    background-color: #2e8b57;
    border-color: #2e8b57;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.cookie-banner .btn:hover {
    background-color: #3cb371;
    border-color: #3cb371;
}

.cookie-banner .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.cookie-banner .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.cookie-banner .btn-link {
    color: #ffffff;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

/* Blog Page specific */
.blog-intro {
    text-align: center;
    margin-bottom: 40px;
}

.blog-article-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.blog-article-card:hover {
    transform: translateY(-5px);
}

.blog-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-article-card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-article-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.blog-article-card p {
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

.blog-article-card .btn {
    margin-top: 15px;
    align-self: flex-start;
}

/* Individual Blog Post */
.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

.blog-content-section {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.blog-content-section:last-child {
    border-bottom: none;
}

.blog-content-section h2 {
    color: #2e8b57;
    margin-bottom: 20px;
}

.blog-content-section p {
    margin-bottom: 15px;
}

.blog-content-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-content-section ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-content-section li {
    margin-bottom: 8px;
}

.blog-content-section .image-container {
    text-align: center;
    margin: 30px 0;
}

.blog-content-section .image-container img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .disclaimer-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .section-spacing {
        padding: 40px 0;
    }
    .cookie-banner p {
        text-align: center;
        margin-bottom: 10px;
    }
    .cookie-banner .btn {
        width: 100%;
    }
}
