/* Kzenitho - Main Styles */

:root {
    --vert-doux: #D4EDDA; /* Soft Green */
    --jaune-ocre: #F0C808; /* Ocre Yellow */
    --bleu-ciel-clair: #A8DADC; /* Light Sky Blue */
    --brun-terreux: #8D6A5A; /* Earthy Brown */
    --text-color: #333;
    --heading-color: #222;
    --light-grey: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Lora', serif; /* Body text */
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-grey);
    margin-top: 56px; /* Space for fixed header */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Titles */
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

/* Layout and Spacing */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 992px) {
    .section-padding {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

.bg-vert-doux {
    background-color: var(--vert-doux);
}

.bg-bleu-ciel-clair {
    background-color: var(--bleu-ciel-clair);
}

.bg-light-grey {
    background-color: var(--light-grey);
}

/* Header */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--brun-terreux) !important;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: .5rem 1rem;
}

.nav-link:hover {
    color: var(--jaune-ocre) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--jaune-ocre);
    border-color: var(--jaune-ocre);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #E0B407; /* Slightly darker ocre */
    border-color: #E0B407;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

.btn-outline-secondary {
    color: var(--brun-terreux);
    border-color: var(--brun-terreux);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--brun-terreux);
    color: var(--white);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--heading-color);
    font-size: 1.25rem;
}

/* Custom List Bullets */
ul.custom-bullets li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

ul.custom-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--jaune-ocre);
    border-radius: 50%;
}

/* Image Composition */
.img-fluid-section {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-banner-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.hero-banner h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .hero-banner {
        height: 300px;
    }
    .hero-banner h1 {
        font-size: 2rem;
    }
    .hero-banner p {
        font-size: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .card-img-top {
        height: 150px;
    }
}

/* Footer */
.footer {
    background-color: var(--brun-terreux);
    color: var(--white);
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer a {
    color: var(--bleu-ciel-clair);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

/* Cookie Banner */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 15px 20px;
    text-align: center;
    z-index: 1050;
    display: none; /* Hidden by default */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#cookieConsentBanner p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

#cookieConsentBanner .btn {
    margin: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
}

#cookieConsentBanner .btn-accept {
    background-color: var(--jaune-ocre);
    border-color: var(--jaune-ocre);
    color: var(--white);
}

#cookieConsentBanner .btn-accept:hover {
    background-color: #E0B407;
    border-color: #E0B407;
}

#cookieConsentBanner .btn-reject {
    background-color: #dc3545;
    border-color: #dc3545;
    color: var(--white);
}

#cookieConsentBanner .btn-reject:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

#cookieConsentBanner .btn-info {
    background-color: transparent;
    border: 1px solid var(--bleu-ciel-clair);
    color: var(--bleu-ciel-clair);
}

#cookieConsentBanner .btn-info:hover {
    background-color: var(--bleu-ciel-clair);
    color: var(--brun-terreux);
}

/* Generic content sections */
.content-block {
    margin-bottom: 3rem;
}

.content-block img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.text-center-desktop {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-desktop {
        text-align: left;
    }
}

.limitations-context {
    background-color: var(--bleu-ciel-clair);
    padding: 30px;
    border-radius: 8px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    color: var(--brun-terreux);
}

.limitations-context h3 {
    color: var(--brun-terreux);
    margin-bottom: 1rem;
}

.icon-feature {
    text-align: center;
    margin-bottom: 30px;
}

.icon-feature i {
    font-size: 3rem;
    color: var(--jaune-ocre);
    margin-bottom: 15px;
}

.icon-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.icon-circle {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--jaune-ocre);
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.icon-circle-small {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--bleu-ciel-clair);
    color: var(--brun-terreux);
    font-size: 1.2rem;
    margin-right: 10px;
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--brun-terreux);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
}

.cta-section {
    background-color: var(--vert-doux);
    text-align: center;
    padding: 60px 0;
    border-radius: 8px;
}

.cta-section h2 {
    color: var(--brun-terreux);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 10px;
}
