/* ============================================
   POTIONS.NL — De Botanische Apotheek
   ============================================ */

/* --- Custom Properties / Theming --- */
:root {
  /* Color Palette — Day / Default */
  --color-bg: #FAF6F1;
  --color-bg-alt: #F3EDE4;
  --color-primary: #5B7B5A;
  --color-accent: #A8C6A0;
  --color-text: #2C2416;
  --color-text-light: #6B5D4F;
  --color-warm: #C4856A;
  --color-gold: #B8963E;
  --color-surface: #FFFFFF;
  --color-surface-hover: #F7F2EB;
  --color-border: rgba(44, 36, 22, 0.1);

  /* Typography */
  --font-logo: 'Playfair Display', 'Georgia', serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1200px;
  --grid-gap: 2.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 36, 22, 0.12);
  --shadow-hover: 0 12px 48px rgba(44, 36, 22, 0.15);
}

/* --- Night Mode --- */
[data-theme="night"] {
  --color-bg: #1A1612;
  --color-bg-alt: #231E18;
  --color-primary: #7B9E7A;
  --color-accent: #5A7B54;
  --color-text: #E8DFD4;
  --color-text-light: #A89882;
  --color-warm: #D4957A;
  --color-gold: #C8A64E;
  --color-surface: #2A241E;
  --color-surface-hover: #332C24;
  --color-border: rgba(232, 223, 212, 0.1);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.35);
}

/* --- Season Overrides --- */
[data-season="lente"] {
  --color-accent: #E8B4C8;
  --color-warm: #D4856A;
}
[data-season="zomer"] {
  --color-accent: #88C9A0;
  --color-primary: #4A8B5A;
}
[data-season="herfst"] {
  --color-accent: #D4A060;
  --color-warm: #B8704A;
  --color-gold: #C89040;
}
[data-season="winter"] {
  --color-primary: #3A5A4A;
  --color-accent: #6A9A7A;
  --color-gold: #C8A040;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-warm);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* --- Navigation --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-medium), box-shadow var(--transition-medium), padding var(--transition-medium);
}

.main-nav.scrolled {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  transform: rotate(8deg);
  margin-left: 0.15rem;
  transition: transform var(--transition-medium);
}

.nav-logo:hover {
  color: var(--color-gold);
}

.nav-logo:hover .logo-icon {
  animation: bottleWiggle 0.6s ease;
}

@keyframes bottleWiggle {
  0% { transform: rotate(8deg); }
  20% { transform: rotate(-4deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(8deg); }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-surface-hover);
}

.icon-moon {
  display: none;
}

[data-theme="night"] .icon-sun {
  display: none;
}

[data-theme="night"] .icon-moon {
  display: block;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-botanicals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--color-primary);
}

.botanical {
  position: absolute;
  height: 80vh;
  opacity: 0.6;
  transition: opacity var(--transition-slow);
}

.botanical-left {
  left: -2%;
  bottom: 0;
}

.botanical-right {
  right: -2%;
  bottom: 0;
}

.hero-content {
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-logo-icon {
  width: clamp(36px, 6vw, 52px);
  height: auto;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.hero-logo-text {
  font-family: var(--font-accent);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
}

[data-theme="night"] .hero-logo-icon {
  color: var(--color-accent);
  opacity: 0.9;
}

.hero-divider {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text-light);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-text-light);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
}

.scroll-text {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Section Dividers --- */
.section-divider {
  padding: 0 1rem;
  overflow: hidden;
}

.section-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

.divider-botanical svg {
  height: 60px;
}

/* --- Verhaal Section --- */
.verhaal {
  background-color: var(--color-bg);
}

.verhaal-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.illustration-mortar {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.verhaal-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.verhaal-text p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.verhaal-quote {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
}

.quote-mark {
  color: var(--color-gold);
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.2em;
}

/* --- Collectie / Products --- */
.collectie {
  background-color: var(--color-bg-alt);
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.filter-count {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 0.15rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Product Card */
.product-card {
  background: var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-medium);
  cursor: default;
  border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
}

.product-card:active {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card.hidden {
  display: none;
}

.product-image {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
  pointer-events: none;
  z-index: 1;
}

.product-icon {
  display: none;
}

.product-info {
  padding: 1.75rem 1.75rem 2rem;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.product-info p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.product-card[data-category="seizoen"] {
  border: 1.5px solid var(--color-gold);
  position: relative;
}

.product-card[data-category="seizoen"]::before {
  content: 'Seizoen';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--color-gold);
  background: var(--color-surface);
  padding: 0.15rem 0.7rem;
  border-radius: 100px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-season {
  font-family: var(--font-accent);
  color: var(--color-warm) !important;
  font-size: 1rem !important;
  margin-bottom: 0.25rem !important;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--color-primary);
  background: rgba(91, 123, 90, 0.08);
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.product-card:hover .tag {
  background: rgba(91, 123, 90, 0.15);
}

.btn-more {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-gold);
  background: none;
  border: 1.5px solid var(--color-gold);
  border-radius: 100px;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-more::after {
  content: '\2192';
  transition: transform var(--transition-fast);
  display: inline-block;
  font-size: 0.9em;
}

.btn-more:hover {
  background: var(--color-gold);
  color: #fff;
}

.btn-more:hover::after {
  transform: translateX(3px);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 22, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-surface);
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-medium);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.08);
}

.modal-body {
  padding: 2rem 2.5rem 2.5rem;
}

.modal-header-image {
  height: 160px;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-header-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.modal-header-icon {
  width: 70px;
  height: 70px;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-warm);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.modal-subtitle {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.modal-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.modal-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.modal-meta-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.modal-pairing {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border-radius: 12px;
}

.modal-pairing h4 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.modal-pairing p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

.modal-description {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.modal-details h4 {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.modal-details h4:first-child {
  margin-top: 0;
}

.modal-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-ingredients .tag {
  font-size: 1rem;
  padding: 0.2rem 0.75rem;
}

.modal-brewing {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Proces / Timeline --- */
.proces {
  background: var(--color-bg);
}

.proces-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 2rem 0;
}

.proces-step {
  text-align: center;
  flex: 1;
  max-width: 220px;
  padding: 0 1rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium), background-color var(--transition-medium);
}

.step-icon svg {
  width: 48px;
  height: 48px;
}

.proces-step:hover .step-icon {
  transform: scale(1.1);
  background-color: var(--color-accent);
}

.step-number {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.proces-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.proces-step p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-connector {
  flex: 0 0 60px;
  padding-top: 2.5rem;
}

.step-connector svg {
  width: 100%;
  height: 20px;
}

/* --- Contact --- */
.contact {
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--color-text);
}

.contact-item a:hover {
  color: var(--color-gold);
}







/* Contact Form */
.contact-form {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91, 123, 90, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-warm);
}

.form-group input:invalid:not(:placeholder-shown):focus,
.form-group textarea:invalid:not(:placeholder-shown):focus {
  box-shadow: 0 0 0 3px rgba(196, 133, 106, 0.15);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B5D4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-submit {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.btn-submit:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit:disabled:hover {
  background: var(--color-primary);
  transform: none;
  box-shadow: none;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4rem;
}

.form-status.success {
  color: var(--color-primary);
}

.form-status.error {
  color: var(--color-warm);
}

/* --- Footer --- */
.footer {
  background: var(--color-bg);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer-botanical {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.footer-botanical svg {
  width: 100%;
  height: 200px;
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-accent);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.8;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4,
.footer-newsletter h4 {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-newsletter p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input-group {
  display: flex;
  width: 100%;
  max-width: 300px;
}

.newsletter-input-group input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 8px 0 0 8px;
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input-group input:focus {
  border-color: var(--color-primary);
}

.newsletter-input-group input::placeholder {
  color: var(--color-text-light);
  opacity: 0.5;
}

.newsletter-input-group button {
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  color: #fff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast);
}

.newsletter-input-group button:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.footer-privacy {
  font-size: 0.75rem;
  opacity: 0.8;
  max-width: 500px;
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(-30px);
}

.animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(30px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children */
.product-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.product-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.product-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.1s; }
.product-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.2s; }
.product-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.product-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.1s; }
.product-grid .animate-on-scroll:nth-child(8) { transition-delay: 0.2s; }
.product-grid .animate-on-scroll:nth-child(9) { transition-delay: 0.3s; }

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .verhaal-grid {
    gap: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

/* Mobile nav breakpoint */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-medium);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .verhaal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .verhaal-illustration {
    order: -1;
    max-width: 200px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .proces-timeline {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding: 0.5rem 0;
    width: 20px;
    flex-basis: auto;
  }

  .step-connector svg {
    width: 20px;
    height: 40px;
    transform: rotate(90deg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .botanical {
    height: 60vh;
    opacity: 0.3;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .contact-form {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    animation: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .animate-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print */
@media print {
  .main-nav, .scroll-indicator, .theme-toggle, .modal-overlay,
  .section-divider, .filter-buttons, .contact-form, .newsletter-form,
  .footer-newsletter, .btn-more, .hero-botanicals, .footer-botanical {
    display: none !important;
  }
  body, .hero, .section {
    background: white !important;
    color: black !important;
  }
  body::before {
    display: none !important;
  }
  .product-card, .proces-step, .verhaal-grid {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    opacity: 0.7;
  }
  a[href^="#"]::after {
    content: none;
  }
  .hero {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
}

/* === Skip Navigation Link === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 10001;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === Touch target minimum sizes (WCAG 2.5.8) === */
.btn-more {
  min-height: 44px;
  padding: 0.6rem 1.4rem;
}
.filter-btn {
  min-height: 44px;
}
.newsletter-input-group button {
  min-width: 44px;
  min-height: 44px;
}
.theme-toggle {
  width: 44px;
  height: 44px;
}
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}
.modal-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === No-JS fallback: make all animated content visible === */
.no-js .animate-on-scroll,
.no-js .animate-in {
  opacity: 1 !important;
  transform: none !important;
}

/* === Webkit prefixes === */
select {
  -webkit-appearance: none;
}
.modal-overlay {
  -webkit-backdrop-filter: blur(4px);
}

/* === Night mode accent contrast fix === */
[data-theme="night"] {
  --color-accent: #7BA37A;
}

/* === Focus-visible indicators === */
.btn-more:focus-visible,
.filter-btn:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible,
.modal-close:focus-visible,
.newsletter-input-group button:focus-visible,
.btn-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* === Tablet breakpoint for process timeline === */
@media (max-width: 1024px) and (min-width: 769px) {
  .proces-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .step-connector {
    display: none;
  }
  .proces-step {
    max-width: none;
  }
}

/* === Season "Nu in seizoen" badge === */
.season-now-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-gold, #B8963E);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 3;
}
