/* =======================================================
   Courtdisen Botanique CSS — Professional Corporate Style
   =======================================================
   - Blue/gray palette + botanical greens (brand colors)
   - Flexbox layouts only — NO GRID, NO COLUMNS
   - Modern, formal, responsive, and accessible
   - Includes mobile menu & cookie banner
======================================================= */

/* RESET & NORMALIZE  -------------------------------------------------*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F6EB;
  color: #2C3642;
  min-height: 100vh;
  line-height: 1.6;
}
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 700;
  color: #2C5334;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5 { font-size: 1rem; }

p, li, ul, ol, em { font-family: 'Open Sans', Arial, Helvetica, sans-serif; }
p { margin-bottom: 16px; color: #2C3642; }
ul, ol { margin-bottom: 16px; margin-left: 1.25em; }
li { margin-bottom: 8px; }
em { color: #6C8C5A; }
strong { color: #2C5334; font-weight: bold; }
a { color: #2C5334; text-decoration: none; transition: color 0.22s; }
a:hover, a:focus { color: #174524; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ============================
    LAYOUT SECTIONS & SPACING
============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(65,86,112,0.045);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #F5F6EB;
  border: 1px solid #D3D7DA;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(44,83,52,0.06);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px rgba(44,83,52,0.14);
  border-color: #6C8C5A;
}

.text-section {
  margin-bottom: 24px;
}

/* ============================================
    BUTTONS & CALLS-TO-ACTION
============================================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #2C5334;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  padding: 14px 32px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 12px rgba(44,83,52,0.08);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, transform 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #15401c;
  box-shadow: 0 4px 22px rgba(44,83,52,0.18);
  transform: translateY(-2px) scale(1.035);
  color: #fff;
  text-decoration: none;
}
.cta-link {
  font-size: 1rem;
  color: #2C5334;
  font-weight: 600;
  border-bottom: 1.5px solid #6C8C5A;
  padding-bottom: 2px;
  transition: border-color 0.19s, color 0.17s;
}
.cta-link:hover, .cta-link:focus {
  color: #174524;
  border-color: #2C5334;
}

/* ====================
   FLEX UTILITY CLASSES
======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(44,83,52,0.10);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
  padding: 26px 20px;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44,83,52,0.16);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F6EB;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(65,86,112,0.04);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.09rem;
  color: #2C3642;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================================
      HEADER & MAIN NAVIGATION
====================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e3e6eb;
  box-shadow: 0 1px 8px rgba(44,83,52,0.06);
  position: sticky;
  top: 0;
  z-index: 102;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img[alt='Courtdisen Botanique'] {
  height: 40px;
  width: auto;
  margin-right: 26px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #27503c;
  font-weight: 500;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  transition: color 0.19s, border-bottom 0.14s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #174524;
  border-bottom: 2px solid #6C8C5A;
}

/* =============================
     MOBILE NAV MENU
============================== */
.mobile-menu-toggle {
  background: #2C5334;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: none;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #174524;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,83,52,0.98);
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  margin: 18px 28px 0 0;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A0BF93;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 32px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 0;
  transition: color 0.17s;
  border-bottom: 1px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A0BF93;
  border-bottom: 1px solid #A0BF93;
}

/* =======================
    FOOTER
======================== */
footer {
  background: #fafbfa;
  border-top: 1.5px solid #E3E6EB;
  margin-top: 60px;
  padding: 36px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-contact {
  min-width: 210px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.98rem;
  color: #273e31;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
}
.footer-nav a {
  color: #2C5334;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6C8C5A;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-social img {
  height: 28px;
  width: 28px;
  transition: filter 0.14s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.3);
}

/* =========================
    CARDS & TESTIMONIALS
========================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
/* Testimonials -- use .testimonial-card from flex utility */
.testimonial-card {
  background: #F1F5F9;
  color: #172237;
  border-left: 6px solid #6C8C5A;
  box-shadow: 0 2px 16px rgba(44,83,52,.09);
  margin-bottom: 22px;
}
.testimonial-card .author {
  font-weight: 700;
  color: #2C5334;
  margin-left: 18px;
  font-size: 0.98rem;
}

/* ==========================
     FAQ / ACCORDION (Contact)
============================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #F5F6EB;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(44,83,52,0.055);
  padding: 18px 22px;
  border-left: 4px solid #6C8C5A;
  color: #2C3642;
}
.faq-accordion h3 {
  margin-bottom: 6px;
  font-size: 1.13rem;
  color: #2C5334;
}
.faq-accordion p {
  font-size: 1rem;
}

/* ================================
    FORMS (Newsletter, Search)
================================= */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  max-width: 370px;
  padding: 11px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #B9C9BB;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(44,83,52,0.06);
  transition: border-color 0.18s, box-shadow 0.12s;
  background: #fff;
  color: #222;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #6C8C5A;
  outline: none;
}

/* ===========================
   COOKIE BANNER & MODAL
============================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F5F6EB;
  color: #2C3642;
  border-top: 2px solid #6C8C5A;
  box-shadow: 0 -2px 20px rgba(44,83,52,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 16px;
  z-index: 1234;
  transition: transform 0.26s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-btn, .cookie-btn-secondary {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(44,83,52,0.06);
  transition: background 0.15s, color 0.2s;
}
.cookie-btn {
  background: #2C5334;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #174524;
}
.cookie-btn-secondary {
  background: #fff;
  border: 1.5px solid #6C8C5A;
  color: #2C5334;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #6C8C5A;
  color: #fff;
}
.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(45,67,54,0.58);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-settings-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  min-width: 320px;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(44,83,52,0.13);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.38rem;
  color: #2C5334;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e3e6eb;
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch span {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ddd;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-switch span:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(44,83,52,0.08);
  transition: transform 0.2s;
}
.cookie-switch input:checked + span {
  background-color: #6C8C5A;
}
.cookie-switch input:checked + span:before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #2C5334;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #6C8C5A;
}

/* =====================
   PAGINATION
====================== */
nav[aria-label*="Pagination"] {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0 0;
  font-size: 1rem;
  color: #2C5334;
}
nav[aria-label*="Pagination"] a {
  background: #E6EDEA;
  border-radius: 7px;
  padding: 4px 18px;
  color: #2C5334;
  font-weight: 600;
  transition: background 0.13s;
}
nav[aria-label*="Pagination"] a:hover, nav[aria-label*="Pagination"] a:focus {
  background: #A0BF93;
  color: #174524;
  text-decoration: none;
}

/* =======================
   RESPONSIVE DESIGN
======================== */
@media (max-width: 990px) {
  .container { max-width: 95vw; }
  header .container, footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 11px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
    border-radius: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 14px;
    border-left: 3px solid #6C8C5A;
    margin-bottom: 18px;
    font-size: 1rem;
  }
  .footer-nav, .footer-contact, .footer-social {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  header .container, footer .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-banner {
    padding: 16px 4px;
    font-size: 0.98rem;
  }
  .cookie-modal-content {
    min-width: 0;
    width: 100vw;
    max-width: 95vw;
    padding: 18px 8px 16px 8px;
  }
}

/* ================
   PRINT STYLES
================== */
@media print {
  body, .container, header, footer, .section, .feature-grid, .card {
    all: unset;
    color: #222;
    background: #fff;
    font-size: 12pt;
  }
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-settings-modal {
    display: none !important;
  }
}

/* =======
 Utility
======== */
.hide { display: none !important; }

/* ==========
  ARIA ALERTS
=========== */
[role="alert"] {
  color: #b30000;
  background: #fff0f0;
  border-left: 4px solid #b30000;
  padding: 14px 18px;
  border-radius: 7px;
  margin: 12px 0 22px 0;
}

/* =====================
   CUSTOM SCROLLBARS
======================== */
::-webkit-scrollbar {
  width: 8px;
  background: #e9f0ea;
}
::-webkit-scrollbar-thumb {
  background: #A0BF93;
  border-radius: 16px;
}

/* ================================
  BRAND COLORS AS CSS VARIABLES
================================= */
:root {
  --cb-primary: #2C5334;
  --cb-secondary: #6C8C5A;
  --cb-accent: #F5F6EB;
  --cb-bluegray: #2C3642;
  --cb-bg: #F5F6EB;
}

