/* 🌈 VARIABELEN */
:root {
  --green-light: #e7f8ec;
  --green-dark: #23784d;
  --purple-dark: #7464f3;
  --gray-dark: #333;
  --primary-color: #8E9AAF;
  --secondary-color: #a736f3;
  --text-color: #333;
  --header-height: 80px;
  --light-blue: #c28df3;
  --light-grey: #DEE2FF;
  --bg-color: #fff;
}

/* 🔄 RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 160px;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    padding-top: 220px;
  }
}

/* ✅ HERO SECTIE */
.green-circle-hero {
  position: relative;
  background: url('/foto/green-circle/logo.jpg') center/cover no-repeat;
  padding: 80px 20px 60px;
  text-align: center;
  color: var(--green-dark);
  overflow: hidden;
  z-index: 1;
}

.green-circle-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.green-circle-hero h1,
.green-circle-hero p {
  position: relative;
  z-index: 2;
}

.green-circle-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: 10px;
  color: var(--purple-dark);
}

.green-circle-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-dark);
}

/* 🌿 FLEX LAYOUT */
.green-flex-row {
  display: flex;
  justify-content: center;
  align-items: stretch; /* 🔧 zorg dat beide kolommen even hoog worden */
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.green-stats-column,
.green-cert-column {
  flex: 1 1 400px;
  max-width: 600px;
  display: flex;
}


/* 📊 STATISTIEKEN */
.green-stats-wrapper {
  background-color: #f0fdf6;
  border: 2px dashed #7bc89c;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.green-stats-wrapper h2 {
  text-align: center;
  font-size: 1.8em;
  color: #2f815c;
  margin-bottom: 10px;
}

.stats-subtitle {
  font-size: 1.1rem;
  color: #23784d;
  margin: -10px 0 4px;
  font-weight: 600;
}

.stats-note {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.green-stat-card {
  font-size: 1.2em;
  padding: 10px;
  margin: 10px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.green-stats-wrapper,
.green-cert-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* ✨ Glow-effect voor teller */
.counter-glow {
  animation: glowEffect 1.2s ease-in-out 3;
  color: #3aa76d;
  font-weight: bold;
}

@keyframes glowEffect {
  0% { text-shadow: 0 0 4px #3aa76d; }
  50% { text-shadow: 0 0 15px #3aa76d; }
  100% { text-shadow: 0 0 4px #3aa76d; }
}

/* 🏅 CERTIFICAATBLOK */
.green-cert-wrapper {
  padding: 30px 20px;
  border-radius: 12px;
  background-color: #f0fdf6;
  border: 2px dashed #7bc89c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.green-cert-wrapper h2 {
  font-size: 1.8em;
  color: #2f815c;
  margin-bottom: 10px;
}

.certificaat img {
  max-width: 80%;
  max-height: 280px;
  object-fit: contain;
}


.certificaat img:hover {
  transform: scale(1.02);
}

/* 🔎 BEKIJK GROOTER KNOP */
.view-certificate-btn {
  display: block;
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: #2f7e5b;
  background-color: #f6fef9;
  border: 1px solid #bde3cb;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-certificate-btn:hover {
  background-color: #d4f3e2;
  border-color: #a9dcc4;
  color: #1c5b45;
  transform: scale(1.02);
}

/* 🖼️ Iconen styling */
h2 i {
  margin-right: 6px;
  vertical-align: middle;
  color: inherit;
  opacity: 0.8;
}

/* 📱 RESPONSIEF */
@media (max-width: 768px) {
  .green-flex-row {
    flex-direction: column;
    align-items: center;
  }

  .green-stats-column,
  .green-cert-column {
    max-width: 100%;
  }
}


/* ♻️ ECO LABEL & BADGE */
.eco-label,
.recycle-badge {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 12px 20px;
  margin: 20px auto;
  border-radius: 30px;
  width: fit-content;
}

.eco-label {
  background-color: #4caf50;
  color: white;
}

.recycle-badge {
  background-color: #d9f2e8;
  color: var(--green-dark);
  border-top: 2px solid #4caf50;
  border-bottom: 2px solid #4caf50;
  font-size: 1.1rem;
}

/* 🖼️ ICONENRIJ */
.recycle-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.recycle-icons img {
  width: 80px;
  height: auto;
}




/* ✅ CTA-KNOP */
.cta-button {
  background-color: var(--purple-dark);
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #5a4cc3;
}

/* 🧾 CALLOUT & QUOTE */
.closing-callout {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  margin: 30px 0;
  padding: 15px;
  background: #f0fff4;
  border-left: 4px solid #4caf50;
}

.quote {
  text-align: center;
  font-weight: 600;
  font-style: italic;
  margin: 30px auto;
  color: #4caf50;
  max-width: 700px;
}

/* 🌿 PLANT ANIMATIE */
.green-plant-animation {
  width: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: vinesFadeInOut 10s ease-in-out infinite alternate;
}

.green-plant-animation img {
  width: 100%;
  max-height: 60px;
  object-fit: cover;
  opacity: 0.3;
  animation: vineWave 10s linear infinite;
}

@keyframes vineWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes vinesFadeInOut {
  0% { opacity: 0.15; }
  50% { opacity: 0.4; }
  100% { opacity: 0.15; }
}

.top-vines {
  transform: rotate(180deg);
  margin-top: -20px;
  opacity: 0.25;
  animation-delay: 2s;
}

.bottom-vines {
  margin-bottom: -20px;
  opacity: 0.25;
}

/* 🍃 FLOATING LEAVES */
.floating-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: url('/foto/green-circle/vines.webp') repeat-x;
  background-size: contain;
  animation: floatLeaves 30s linear infinite;
  opacity: 0.08;
  z-index: 0;
}

@keyframes floatLeaves {
  0%   { transform: translateY(-100px); }
  100% { transform: translateY(100vh); }
}

/* 🧾 CONTENTBLOK */
.content {
  background: rgba(255, 255, 255, 0.9);
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.content h2 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.content p {
  font-size: 16px;
  color: #444;
}

/* 🔝 SCROLL TO TOP */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.scroll-to-top-btn:hover {
  background-color: var(--light-blue);
}

/* 🌟 ANIMATIES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    height: auto;
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .round-image {
    width: 100px;
    height: 100px;
  }

  .green-stat {
    font-size: 1.4rem;
  }

  .quote {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}
