/* =========================
   BrightTrail Architektur – style.css
   NATURE_ORGANIC FLEXBOX THEME
   ========================= */

/* =========================
   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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background-color: #f7f8f2;
  color: #29312e;
  min-height: 100vh;
}
ul, ol {
  margin-left: 1.5em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   CSS CUSTOM PROPERTIES
   ========================= */
:root {
  --color-primary: #263238;
  --color-secondary: #B2C1B7;
  --color-accent: #F9A825;
  --color-green: #62846c;
  --color-green-light: #b8cbb1;
  --color-brown: #948a7c;
  --color-cream: #f7f8f2;
  --color-light: #fff;
  --radius-lg: 32px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-xl: 0 10px 36px 0 rgba(44,60,48,0.18);
  --shadow-lg: 0 2px 12px 0 rgba(44,60,48,0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.125rem;  /* 34px */
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;    /* 24px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.125rem;  /* 18px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, ul, ol, span, label, strong {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

/* =========================
   CONTAINER & LAYOUT
   ========================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

/* SECTION SPACING - required patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
  }
}

/*
  Card layouts, testimonial cards, grid flex containers, required spacing
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background-color: var(--color-light);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 calc(33.33% - 24px);
  max-width: calc(33.33% - 24px);
}
@media (max-width: 960px) {
  .card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
  }
}
/* Flexible grid for features/services */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 320px;
  padding: 24px;
  margin-bottom: 20px;
  background: var(--color-light);
  border-radius: 32px 32px 18px 18px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-item img {
  width: 56px;
  height: 56px;
  background-color: var(--color-green-light);
  padding: 10px;
  border-radius: 50%;
}
.feature-item:hover {
  box-shadow: 0 10px 24px rgba(98,132,108,0.18);
  transform: translateY(-4px) scale(1.03);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Testimonials & Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 0;
  border-radius: var(--radius-md);
  background: var(--color-green-light);
  color: #263238;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card p {
  font-family: var(--font-body);
  color: #263238;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: var(--color-green);
  font-style: italic;
  margin-left: auto;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px rgba(98,132,108,0.18);
  transform: translateY(-2px) scale(1.01);
}

/* Formats for process lists */
.process-steps, .service-breakdown, .workshop-list, .target-groups {
  margin-bottom: 14px;
}
.process-steps li {
  margin-bottom: 8px;
}

/* =========================
   HERO & ABOUT SECTIONS
   ========================= */
.hero-section {
  background-color: var(--color-secondary);
  background-image: url('../assets/textures/organic-bg1.png'), linear-gradient(100deg, #B2C1B7 70%, #e7efd2 100%);
  background-repeat: repeat, no-repeat;
  background-size: 420px, auto;
  color: var(--color-primary);
  border-radius: 0 0 48px 48px;
  padding: 60px 0 40px 0;
  margin-bottom: 56px;
  box-shadow: 0 10px 48px 0 rgba(98,132,108,0.04);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.5rem;
  font-family: var(--font-display);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.hero-section p {
  font-size: 1.22rem;
  color: var(--color-green);
  margin-bottom: 24px;
}
@media (max-width: 850px) {
  .hero-section {
    padding: 36px 0 16px 0;
    margin-bottom: 36px;
    border-radius: 0 0 28px 28px;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
}

.about-snippet, .about-section, .contact-section, .workshops-section, .services-section, .legal-section, .thank-you-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 650px) {
  .about-snippet, .about-section, .contact-section, .workshops-section, .services-section, .legal-section, .thank-you-section {
    padding: 28px 0;
  }
}

/* =========================
   BUTTONS & CTA
   ========================= */
.cta-primary,
button.cta-primary,
input[type="submit"].cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  color: #fff;
  background: linear-gradient(93deg, var(--color-green), var(--color-accent) 95%);
  border: none;
  border-radius: 32px;
  padding: 14px 38px;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  transition: background 0.25s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(87deg, #476d49, #df9000 100%);
  box-shadow: 0 8px 24px 0 rgba(98,132,108,0.18);
  transform: translateY(-1px) scale(1.02);
}
/* Secondary/ghost buttons for cookie etc. */
.btn-secondary {
  background: var(--color-light);
  color: var(--color-green);
  border: 2px solid var(--color-green);
  border-radius: 32px;
  padding: 10px 30px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-green-light);
  color: var(--color-primary);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 32px;
  padding: 8px 22px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-accent);
  color: #fff;
}

/* =========================
   HEADER & MAIN NAVIGATION
   ========================= */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 1px 8px rgba(44, 60, 48, 0.06);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  height: 52px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-green);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-green-light);
  color: var(--color-primary);
  outline: none;
}
.main-nav .cta-primary {
  font-size: 1.08rem;
  color: #fff;
  margin-left: 10px;
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  border-radius: 50%;
  padding: 10px 15px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(44,60,48,0.10);
  transition: background 0.2s;
  z-index: 1200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-green-light);
  color: var(--color-green);
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
   MOBILE MENU OVERLAY
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(184,203,177, 0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 28px 28px 28px;
  transform: translateX(-120vw);
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  z-index: 1200;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: var(--shadow-xl);
}
.mobile-menu-close {
  background: var(--color-green);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 15px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(44,60,48,0.10);
  transition: background 0.2s;
  z-index: 1250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.23rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green-light);
  color: var(--color-green);
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-secondary);
  padding: 48px 0 28px 0;
  border-radius: 40px 40px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 300px;
  font-size: 1.09rem;
  color: var(--color-green);
}
.footer-brand img {
  width: 48px;
  height: auto;
  margin-bottom: 4px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 220px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  padding: 6px 7px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-green-light);
  color: var(--color-green);
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #444;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
  height: 18px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }
  .footer-brand, .footer-nav, .footer-contact {
    max-width: 100%;
    width: 100%;
  }
}

/* =========================
   ORGANIC SHAPES & TEXTURES
   ========================= */
.section, .feature-item, .testimonial-card, .contact-section, .about-snippet, .about-section, .workshops-section, .services-section, .thank-you-section {
  background: var(--color-cream);
  border-radius: 36px 36px 24px 24px;
  box-shadow: 0 2px 16px 0 rgba(98,132,108,0.04);
}

/* Decorative texture overlays, fallback to background color if asset not found */
.section {
  position: relative;
  overflow: hidden;
}
.section:before {
  content: "";
  display: block;
  position: absolute;
  top: -20px; left: -40px;
  width: 180px; height: 120px;
  background: url('../assets/textures/organic-deco1.png');
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.section:after {
  content: "";
  display: block;
  position: absolute;
  right: -40px; bottom: -24px;
  width: 180px; height: 110px;
  background: url('../assets/textures/organic-deco2.png');
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   FORMS & CONTACT INFO
   ========================= */
.contact-info {
  margin-bottom: 24px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info img {
  height: 18px;
  margin-right: 8px;
}

/* =========================
   GENERIC FLEX BLEEDERS
   ========================= */
.content-wrapper > * {
  position: relative;
  z-index: 1;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-item {
    min-width: 210px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 3vw;
  }
  h1 {
    font-size: 1.23rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.1rem;
  }
  .hero-section {
    border-radius: 0 0 22px 22px;
    padding: 18px 0 6px 0;
    margin-bottom: 22px;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(248, 248, 241, 1);
  box-shadow: 0 -2px 24px rgba(98,132,108,0.08);
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 7vw;
  z-index: 1700;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.4s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__message {
  flex: 1 1 480px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 4vw;
    font-size: 0.95rem;
  }
  .cookie-banner__buttons {
    width: 100%;
    flex-wrap: wrap;
    gap: 9px;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 50vw; top: 0; right: 0;
  min-width: 295px;
  max-width: 420px;
  height: 100vh;
  background: var(--color-light);
  box-shadow: -2px 0 22px 0 rgba(44,60,48,0.12);
  border-radius: 32px 0 0 32px;
  padding: 34px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1800;
  transform: translateX(110vw);
  transition: transform 0.43s cubic-bezier(.77,0,.18,1);
}
.cookie-modal.open {
  transform: translateX(0);
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 32px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-green);
  cursor: pointer;
}
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 22px;
  height: 22px;
}
.cookie-category .category-label {
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.cookie-category--essential .category-label {
  color: var(--color-green);
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 600px) {
  .cookie-modal {
    left: 0; right: 0;
    max-width: 100vw;
    border-radius: 0;
    padding: 21px 12px 16px 14px;
  }
  .cookie-modal__close {
    top: 10px;
    right: 14px;
  }
}

/* =========================
   VISUAL/MICRO-INTERACTIONS
   ========================= */
.card, .feature-item, .cta-primary, .btn-secondary, .btn-outline, .testimonial-card, .mobile-menu, .mobile-menu-close, .mobile-menu-toggle, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.22s, background 0.2s, color 0.17s, transform 0.16s;
}

/* Focus/keyboard outline for accessibility */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* =========================
   LEGAL/CONTENT-LIST STYLING
   ========================= */
.legal-section ul, .legal-section ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
}
.legal-section li {
  margin-bottom: 9px;
}

/* Page-specific formats */
.team-overview {
  margin-left: 0;
  margin-bottom: 18px;
}
.team-overview li {
  margin-bottom: 7px;
}

/* =========================
   THANK YOU PAGE
   ========================= */
.thank-you-section .cta-primary {
  margin-top: 22px;
}

/* =========================
   ACCESSIBILITY
   ========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================
   END OF FILE
   ========================= */
