/* =====================================================================
   Glowing Stream – WARM & FRIENDLY FLEXBOX CSS (BRAND + UI)
   ===================================================================== */

/* ==== CSS RESET & BASE ==== */
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 { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F5F3EE;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #F5F3EE;
}
img, svg { max-width: 100%; height: auto; display: block; }

/* ==== BRAND COLORS & FONTS ==== */
:root {
  --brand-primary: #36534C;
  --brand-secondary: #A6AEA7;
  --brand-accent: #F5F3EE;
  --brand-peach: #FCE8D9; /* subtle warmth for cards/backgrounds */
  --brand-sand: #F7F1E7; /* gentle sand for soft highlights */
  --brand-yellow: #FFD99B; /* soft yellow accent */
  --shadow: 0 4px 20px rgba(54,83,76,0.08);
  --radius: 18px;
  --radius-small: 10px;
  --transition: all 0.22s cubic-bezier(.33,1,.68,1);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}


/* ==== TYPOGRAPHY ==== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
  line-height: 1.28;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  line-height: 1.2;
}
p, ul, ol, blockquote, .confirmation-message {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #353533;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--brand-secondary);
  margin-bottom: 24px;
}
strong, b {
  font-weight: 700;
  color: var(--brand-primary);
}
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover, a:focus {
  color: #1e3932;
  text-decoration: underline;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section, main > section, .success {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ==== HERO SECTION ==== */
.hero {
  background: var(--brand-peach);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* ==== NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--brand-accent);
  box-shadow: 0 2px 12px rgba(54, 83, 76, 0.04);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  position: relative;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 8px 12px;
  border-radius: var(--radius-small);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-peach);
  color: #1e3932;
}

.cta-button {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius);
  padding: 13px 32px;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(54,83,76,0.10);
  cursor: pointer;
  transition: background 0.2s, color .18s, box-shadow .22s;
}
.cta-button:hover, .cta-button:focus {
  background: #487866;
  color: #fff8f2;
  box-shadow: 0 8px 28px rgba(54,83,76,0.13);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-yellow);
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 14px 7px 14px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(54,83,76,0.12);
  transition: var(--transition);
  outline: none;
  height: 45px;
  width: 45px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-peach);
  color: #1e3932;
}
/* Hide desktop nav/show burger on mobile */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .cta-button { margin-left: 0; }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 82vw; max-width: 330px;
  background: #fff;
  box-shadow: 0 0 32px 0 rgba(54,83,76,0.13);
  transform: translateX(-101%);
  transition: transform 0.33s cubic-bezier(.43,.76,.58,1.05);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: var(--brand-peach);
  border: none;
  color: var(--brand-primary);
  border-radius: 50%;
  padding: 7px 18px 8px 18px;
  margin-left: 16px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(54,83,76,.16);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  padding-left: 16px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--brand-primary);
  padding: 13px 0 13px 8px;
  border-radius: var(--radius-small);
  margin-right: 22px;
  transition: var(--transition);
  margin-bottom: 6px;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-peach);
  color: #243b33;
}
/* Overlay for mobile menu background */
body.menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(54,83,76,0.15);
  transition: background 0.2s;
}
body.menu-open {
  overflow: hidden;
}

/* ========== FLEXBOX ALIGNMENT ========== */
.features-grid, .services-list, .workshop-list, .footer-grid, .featured-articles, .categories-nav, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div, .services-list > div, .workshop-list > div, .featured-articles > article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 262px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
}
.features-grid > div:hover, .services-list > div:hover, .workshop-list > div:hover, .featured-articles > article:hover {
  box-shadow: 0 6px 28px rgba(54,83,76,0.12);
  transform: translateY(-3px) scale(1.02);
}

.categories-nav {
  margin-bottom: 16px;
  gap: 16px;
}
.categories-nav a {
  background: var(--brand-sand);
  color: var(--brand-primary);
  font-weight: 500;
  font-family: var(--font-display);
  border-radius: var(--radius-small);
  padding: 8px 14px;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(54,83,76,0.07);
}
.categories-nav a:hover, .categories-nav a:focus {
  background: var(--brand-yellow);
  color: #202e27;
}

.featured-articles > article {
  flex: 1 1 280px;
  min-width: 210px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 26px;
  background: var(--brand-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  max-width: 660px;
  font-size: 1.05rem;
}
.testimonial-card blockquote {
  margin: 0;
  color: #1b271f;
  font-family: var(--font-body);
  font-size: 1.10rem;
  font-style: italic;
  letter-spacing: .01em;
}
.testimonial-card span {
  display: block;
  font-size: .97rem;
  color: #253932;
  font-family: var(--font-display);
  margin-top: 7px;
  font-weight: 500;
}

/* === CONTACT INFO === */
.contact-info {
  background: var(--brand-sand);
  color: #2e3f36;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(54,83,76,0.09);
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 1.04rem;
}
.contact-info a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color .18s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #1e3932;
}

/* === PRICES === */
.price {
  margin-top: 8px;
  font-family: var(--font-display);
  background: var(--brand-yellow);
  color: #674821;
  font-weight: 600;
  border-radius: var(--radius-small);
  padding: 5px 11px;
  box-shadow: 0 1px 2px #ffe1bb;
  font-size: 1.07em;
  letter-spacing: 0.01em;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #fff;
  border-top: 2px solid var(--brand-accent);
  margin-top: 48px;
  padding: 0 0 32px 0;
}
.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 46px 0 0 0;
}
.footer-grid > div {
  min-width: 170px;
  margin-bottom: 20px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  font-family: var(--font-display);
  padding: 1px 0;
  border-radius: var(--radius-small);
  transition: var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-peach);
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-peach);
  transition: box-shadow .2s, background .18s;
}
.social-links a:hover img,
.social-links a:focus img {
  background: var(--brand-yellow);
  box-shadow: 0 2px 10px #ffe1bb8e;
}

/* ==== LISTS & BLOCKS ==== */
ul, ol {
  margin-bottom: 18px;
  padding-left: 28px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1em;
  line-height: 1.7;
}
ul li strong {
  font-family: var(--font-display);
  font-size: 1.03em;
}

/* === Success/Thank you === */
.success {
  background: var(--brand-peach);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 45px 0 60px 0;
}
.confirmation-message {
  font-size: 1.13rem;
  color: #395445;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ==== COOKIES BANNER  ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  right: 0;
  background: #fffbe9;
  box-shadow: 0 0 22px rgba(54,83,76,.14);
  border-top: 2px solid var(--brand-peach);
  z-index: 1099;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 18px 18px 18px;
  max-width: 100vw;
  transition: transform .32s;
  font-size: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-small);
  border: none;
  box-shadow: 0 2px 6px #ffe1bb88;
  padding: 10px 24px;
  margin-top: 7px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-primary);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-banner .cookie-reject {
  background: #BDBDBA;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--brand-yellow);
  color: #625223;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.07);
  box-shadow: 0 4px 18px #ffd99b52;
}
.cookie-banner .cookie-settings:focus,
.cookie-banner .cookie-settings:hover {
  background: var(--brand-sand);
  color: #473b20;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(54,83,76,.22);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1120;
  transition: background .22s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 42px rgba(54,83,76,.18);
  padding: 40px 26px 28px 26px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn .33s cubic-bezier(.28,1,.48, 1) both;
}
@keyframes cookieModalIn {
  0% { transform: translateY(80px) scale(.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.20rem;
  color: var(--brand-primary);
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-peach);
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(54,83,76,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-yellow);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: #333;
}
.cookie-category input[type='checkbox'] {
  appearance: none;
  accent-color: var(--brand-primary);
  width: 23px;
  height: 23px;
  border-radius: 6px;
  border: 2px solid var(--brand-primary);
  background: #fff;
  cursor: pointer;
  position: relative;
  margin: 0 10px 0 0;
  outline: none;
  transition: border .15s;
}
.cookie-category input[type='checkbox']:checked {
  background: var(--brand-yellow);
  border-color: #6A4B14;
}
.cookie-category input[disabled] {
  opacity: 0.7;
  cursor: default;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-small);
  border: none;
  padding: 10px 26px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-primary);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-modal .cookie-settings {
  background: var(--brand-yellow);
  color: #625223;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(1.09);
}

/* === MISC ELEMENTS === */
hr {
  border: none;
  border-bottom: 1px solid var(--brand-accent);
  margin: 24px 0 10px 0;
}

section > h2, section > .container > h2, section > .container > .content-wrapper > h2 {
  margin-bottom: 20px;
  margin-top: 10px;
  font-weight: 700;
}

/* ==== MEDIA QUERIES / RESPONSIVE ==== */
@media (max-width: 1180px) {
  .container { max-width: 100%; }
}
@media (max-width: 991px) {
  .footer-grid {
    flex-wrap: wrap;
    gap: 26px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0 0 0;
  }
  .features-grid, .services-list, .workshop-list, .featured-articles, .categories-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section, main > section, .success, .hero {
    margin-bottom: 34px;
    padding: 32px 5vw;
  }
  .footer-grid { gap: 20px; padding-top: 22px; }
  .features-grid, .services-list, .workshop-list, .featured-articles {
    flex-direction: column;
    gap: 16px;
  }
  .categories-nav {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  .testimonial-card {
    padding: 16px 10px 16px 15px;
    font-size: 1em;
    max-width: 98vw;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero h1, h1 {
    font-size: 2rem;
  }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.06rem; }
}
@media (max-width: 500px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .hero, .section, main > section {
    padding: 19px 2.3vw;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: unset;
  }
}

/* ===== MICRO-INTERACTIONS / TRANSITIONS ===== */
.cta-button, .main-nav a, .card, .features-grid > div, .services-list > div, .workshop-list > div, .featured-articles > article,
.categories-nav a, .price, .cookie-banner button, .cookie-modal button, .footer-nav a {
  transition: var(--transition);
}

/* HIDE ELEMENTS FOR ACCESSIBILITY WHEN NEEDED */
.sr-only {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
