/* =====================
   Conglutes Verts - style.css
   Creative Artistic Flexbox-Only Design
   ===================== */

/* === CSS RESET & NORMALIZE === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.6;
  background: #F5FAF7;
  color: #23563A;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F6D465;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: #23563A;
  line-height: 1.08;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  color: #23563A;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  color: #23563A;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.12rem;
  color: #23563A;
}
p, li {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #23563A;
}
/* Artistic text highlight */
mark, .highlight {
  background: #F6D465;
  color: #23563A;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 700;
}

/* Artistic creative font flavour */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Lato:wght@400;700&display=swap');

/* Container */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Main Layouts & Wrappers */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 26px 0 rgba(35,86,58,0.07);
  position: relative;
}
/* Artistic paint stroke decoration */
.section::before {
  content: '';
  position: absolute;
  left: -32px;
  top: -28px;
  width: 72px;
  height: 28px;
  background: #F6D465;
  border-radius: 15px;
  opacity: 0.11;
  z-index: 1;
}

/* Spacing rules for cards & containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,86,58,0.09);
  padding: 30px 22px;
  transition: box-shadow .25s cubic-bezier(.79,.14,.15,.86), transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(246,212,101,0.16);
  transform: translateY(-6px) scale(1.017);
}
.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;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF9ED;
  box-shadow: 0 3px 13px 0 rgba(35,86,58,0.075);
  border-radius: 18px 38px 18px 18px;
  border-left: 7px solid #F6D465;
  max-width: 580px;
  font-style: italic;
  color: #232D18;
}
.testimonial-card span {
  font-style: normal;
  font-size: 1rem;
  color: #23563A;
  letter-spacing: 0.02em;
}

/* Feature Items (with icons) */
.feature-item, .content-wrapper > ul > li, .content-wrapper > ol > li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
  font-weight: 500;
  color: #23563A;
  line-height: 1.55;
}
.feature-item img, .content-wrapper > ul > li img, .content-wrapper > ol > li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 5px;
}

/* Artistic List Dots for About/Features */
.content-wrapper > ul > li::before {
  content: '';
  display: inline-block;
  background: #F6D465;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  margin-right: 12px;
}
.content-wrapper > ul > li img {
  margin-left: 0;
}

/* Newsletter Signup & Forms */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
input[type="email"],
input[type="text"],
input[type="search"],
select,
textarea {
  background: #f4f6ee;
  color: #23563A;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 15px;
  border: 1.6px solid #D3E0C4;
  border-radius: 9px;
  transition: border-color .21s, box-shadow .18s;
  outline: none;
  min-width: 200px;
}
input:focus, textarea:focus, select:focus {
  border-color: #F6D465;
  box-shadow: 0 0 0 2px #F6D46544;
}
button, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .20s, color .16s, transform .16s, box-shadow .18s;
  box-shadow: 0 2px 7px 0 rgba(35,86,58,0.08);
}
.btn-primary {
  background: #23563A;
  color: #FFF9ED;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F6D465;
  color: #23563A;
  transform: scale(1.04);
  box-shadow: 0 8px 20px 0 rgba(246,212,101,0.18);
}
.btn-secondary {
  background: #F6D465;
  color: #23563A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D3E0C4;
  color: #23563A;
  transform: scale(1.03);
}
button:active, .btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* === HEADER AND MAIN NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 13px 0 rgba(211, 224, 196,0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px 16px 14px 16px;
}
.logo {
  height: 46px;
  width: auto;
  margin-right: 30px;
}
.main-nav ul {
  display: flex;
  gap: 17px;
}
.main-nav ul li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.main-nav ul li a {
  color: #23563A;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background 0.14s, color 0.15s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus, .main-nav ul li a.active {
  background: #F6D465;
  color: #23563A;
}
.btn-primary {
  margin-left: 14px;
}

/* Burger Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #23563A;
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 210;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.19s, color 0.18s;
}
.mobile-menu-toggle:focus {
  background: #D3E0C4;
  outline: 2px solid #F6D465;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 50px 0 rgba(35,86,58,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding-top: 40px;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.79,.14,.15,.86);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #23563A;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10010;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-close:focus {
  background: #D3E0C4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 44px 0 0 36px;
  width: 80vw;
  max-width: 360px;
}
.mobile-nav a {
  font-size: 1.33rem;
  padding: 11px 0;
  color: #23563A;
  border-bottom: 2px solid #D3E0C4;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.13s;
  border-radius: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D3E0C4;
  color: #23563A;
}

@media (max-width: 1050px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  .main-nav {
    max-width: 100%;
    padding: 13px 8px 10px 8px;
  }
}
@media (max-width: 980px) {
  .main-nav ul {
    gap: 8px;
  }
}
@media (max-width: 870px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 680px) {
  .logo {
    height: 35px;
    margin-right: 10px;
  }
}

/* ========== FLEX LAYOUTS FOR CONTENT GRIDS ========== */
.article-cards, .articles-preview, .service-list, .workshop-list, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.article-cards > div,
.articles-preview > div,
.service-list > div,
.workshop-list > div,
.category-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(35, 86, 58, 0.09);
  padding: 26px 20px 18px 20px;
  min-width: 270px;
  flex: 1 1 285px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .14s;
}
.article-cards > div:hover, .service-list > div:hover, .workshop-list > div:hover, .category-grid > div:hover {
  transform: translateY(-4px) scale(1.0123);
  box-shadow: 0 8px 32px 0 rgba(246,212,101,0.14);
  z-index: 3;
}
.category-grid > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.category-grid > div img {
  width: 38px;
  height: 38px;
}

/* ATELIER and SERVICES price tags */
.service-price {
  margin-top: 9px;
  background: #F6D465;
  color: #23563A;
  border-radius: 9px;
  padding: 5px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  display: inline-block;
}

.workshop-list time {
  display: block;
  font-size: 0.99rem;
  color: #839469;
  margin-top: 6px;
}

/* Filter Bar */
.article-filter {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}
.article-filter label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #23563A;
  margin-bottom: 5px;
}
.article-filter input[type="search"] {
  min-width: 140px;
}

/* ===== FOOTER ===== */
footer {
  background: #23563A;
  color: #fff;
  padding: 48px 17px 28px 17px;
  margin-top: 70px;
  border-radius: 38px 38px 0 0;
  position: relative;
  z-index: 2;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 25px;
  justify-content: center;
  margin-bottom: 23px;
}
.footer-nav a {
  color: #F6D465;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  max-width: 420px;
  margin: 0 auto 17px auto;
}
.text-section img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.footer-logo img {
  width: 65px;
  height: auto;
}
footer address, footer p, footer a {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
}
footer address {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

/* === Cookie Consent Banner & Modal === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #FFF9ED;
  color: #23563A;
  box-shadow: 0 -2px 18px 0 rgba(35,86,58,0.10);
  padding: 22px 18px 14px 18px;
  z-index: 10020;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 1.01rem;
  transition: transform .38s cubic-bezier(.79,.14,.15,.86), opacity .34s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.closed {
  transform: translateY(210px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn-cookie {
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #F6D465;
  color: #23563A;
  transition: background .16s, color .13s, box-shadow .15s;
  box-shadow: 0 2px 6px rgba(246,212,101,0.08);
}
.cookie-banner .btn-cookie.accept {
  background: #23563A;
  color: #FFEBA8;
}
.cookie-banner .btn-cookie.accept:hover {
  background: #317955;
  color: #fff;
}
.cookie-banner .btn-cookie.reject {
  background: #D3E0C4;
  color: #23563A;
}
.cookie-banner .btn-cookie.reject:hover {
  background: #F6D465;
}
.cookie-banner .btn-cookie.settings {
  background: transparent;
  border: 2px solid #F6D465;
}
.cookie-banner .btn-cookie.settings:hover {
  background: #F6D465;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  z-index: 10099;
  background: rgba(35,86,58,0.20);
  width: 100vw; height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #23563A;
  border-radius: 22px;
  box-shadow: 0 4px 40px 0 rgba(35,86,58,0.14);
  max-width: 370px;
  width: 95vw;
  padding: 34px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 3px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #23563A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #23563A;
  width: 1.15em;
  height: 1.15em;
}
.cookie-category .locked {
  font-weight: 700;
  color: #839469;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 13px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #23563A;
  cursor: pointer;
  border-radius: 999px;
}
.cookie-modal-close:focus {
  background: #D3E0C4;
}

/* ========== MEDIA QUERIES FOR MOBILE FIRST ========== */
@media (max-width: 1050px) {
  .footer-nav {
    gap: 16px;
  }
  .content-grid,
  .article-cards, .articles-preview, .service-list, .workshop-list, .category-grid {
    gap: 13px;
  }
}
@media (max-width: 870px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .section, .container {
    padding: 0 4vw;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.52rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.17rem;
    margin-bottom: 10px;
  }
  .container {
    padding: 0 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .footer-logo {
    margin-top: 16px;
  }
  .section {
    padding: 20px 6px;
    margin-bottom: 40px;
  }
  .card-container,
  .article-cards, .articles-preview, .service-list, .workshop-list, .category-grid {
    flex-direction: column;
    gap: 17px;
  }
  .article-cards > div,
  .articles-preview > div,
  .service-list > div,
  .workshop-list > div,
  .category-grid > div {
    min-width: 0;
    width: 100%;
    padding: 17px 12px;
  }
  form {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.93rem;
  }
}
@media (max-width: 480px) {
  .container, .content-wrapper {
    padding: 0 2px;
  }
  .section {
    padding: 9px 1px;
    margin-bottom: 24px;
    border-radius: 16px;
  }
  .footer-nav {
    gap: 2px;
  }
}

/* Artistic Details */
.card::before, .article-cards > div::before, .service-list > div::before, .workshop-list > div::before {
  content: '';
  position: absolute;
  left: -13px;
  top: -17px;
  width: 27px;
  height: 15px;
  background: #F6D465;
  opacity: 0.13;
  border-radius: 11px 15px 14px 11px;
  z-index: 0;
}

/* Micro-interactions */
input[type="email"]:hover, input[type="text"]:hover, textarea:hover, select:hover {
  border-color: #F6D465;
}
button:disabled, .btn-primary:disabled, .btn-secondary:disabled, .btn-cookie:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* Extra - Success / Error Feedback */
input:invalid, textarea:invalid {
  border-color: #F6A09D;
}

/* Accessibility extras */
@media (pointer: coarse) {
  .btn-primary, .btn-secondary, .btn-cookie, .mobile-nav a {
    min-height: 48px;
    min-width: 44px;
  }
}

/* Hide visually when not shown */
[hidden] { display: none !important; }

/* ======================
   END Conglutes Verts CSS
   ====================== */
