/* ===================================
   BASE STYLING & VARIABLES
=================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #0c0950;
  --accent-color: #fad4bc;
  --highlight-color: #f29e75;
  --text-color: #0c0950;
  /*--bg-color: #fbe4d6;
  --bg-light: #fff9f5;*/
  --bg-white: #ffffff;
  --font-main: 'Space Grotesk', sans-serif;
}

select {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===================================
   HEADER
=================================== */
.site-header {
  background-color: #fbe4d6;
  /*background: var(--bg-color);*/
  position: sticky;
  top: 0;
  z-index: 1000;
  /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);*/
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  height: 65px;
  width: 150px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease;
  margin-right: 1rem;
}

.header-cta:hover {
  background: var(--highlight-color);
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-flex {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    margin-left: auto;
    align-self: flex-start;
    margin-right: 1rem;
  }
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  /*background: linear-gradient(135deg, var(--bg-color), var(--accent-color));*/
  background: linear-gradient(#fbe4d6 15%, #fff9f5, white);
  /*border-radius: 0 0 40px 40px;*/
  padding: 3rem 2rem;
}

.hero-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 2rem;
}

.hero-content h2 {
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: auto;
}


.hero-image {
  flex: 1 1 40%;
  max-width: 560px;
  align-self: flex-start;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
  align-self: flex-start; /* Of center, als je dat visueel mooier vindt */
  margin-top: 2rem;
}

.cta-button:hover {
  background: var(--highlight-color);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    padding-right: 0;
  }
  .cta-button {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 2rem;
  }

}

/* ===================================
   SECTION BASE
=================================== */
section {
  padding: 4rem 2rem;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

/*
.services,
.about,
.impact,
.contact {
  border-radius: 30px 30px 0 0;
}*/

.services {
  background: var(--bg-white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.about {
  background: var(--bg-light);
  /*background-color: #fff9f5;*/
}

.impact {
  background: var(--bg-white);
}

.contact {
  background: var(--bg-light);
  background-color: #fff9f5;
}

/* ===================================
   SERVICES GRID
=================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fbe4d6;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

/* ===================================
   ABOUT / IMPACT
=================================== */
.about-content,
.impact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.about-text,
.impact-text,
.about-image,
.impact-image {
  flex: 1 1 48%;
}

.impact-content h2 {
  margin-bottom: 1rem;
}

.impact-content p {
  margin-bottom: auto;
}

.impact-content .cta-button {
  align-self: center;
  margin: 2rem auto 0 auto;
  display: inline-block;
}

.impact-image {
  flex: 1 1 40%;
  max-width: 500px;
  align-self: flex-start;
}

.impact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0 1rem;
}

.impact-content {
  align-items: center;
}

.impact-text h2 {
  padding-left: clamp(1rem, 10vw, 3rem);
  text-align: center;
}

.impact-text ul {
  list-style-position: outside;
  padding-left: clamp(1rem, 10vw, 5rem);
  margin-top: 1rem;
  align-self: flex-start; 
}

.about-text,
.impact-text,
.about-image,
.impact-image {
  flex: 1 1 48%;
}

.about-image img,
.impact-image img {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .about-content,
  .impact-content {
    flex-direction: column;
    text-align: center;
  }
}

.about-text,
.impact-text,
.about-image,
.impact-image {
  flex: 1 1 48%;
}

.about-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 2rem;
}

.about-content,
.impact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.about-text,
.impact-text,
.about-image,
.impact-image {
  flex: 1 1 48%;
}

.about-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 2rem;
}

.about-text blockquote {
  background: #fff;
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}

.about-text blockquote::after {
  content: attr(data-author);
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: bold;
  color: var(--text-color);
}

.about-image img,
.impact-image img {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .about-content,
  .impact-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text blockquote {
    text-align: left;
  }
}


/* ===================================
   CONTACT FORM
=================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  font-weight: bold;
  margin-top: 2rem;
}

.contact-text {
  text-align: center;
}

input,
textarea,
button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  width: 100%;
}

textarea {
  min-height: 120px;
}

button[type="submit"] {
  background: var(--primary-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: var(--highlight-color);
}

.contact form {
  margin: 0 auto;
}


/* ===================================
   FOOTER
=================================== */
.site-footer {
  background-color: var(--accent-color);
  padding: 3rem 1.5rem 2rem;
  color: var(--text-color);
  font-size: 0.9rem;
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
  align-items: start;
}


.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
  text-align: center;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--highlight-color);
}

.footer-logo {
  width: 130px;
  display: block;
  margin: 0 auto 0.5rem auto;
}

address {
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  address {
    text-align: center;
  }
}

/* ===================================
   ANIMATIES & AOS
=================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.aos-animate {
  opacity: 1;
  transform: none;
}

/* ===================================
   SVG ANIMATIES (icons)
=================================== */
.megaphone-animated:hover svg {
  animation: megaphone-wobble 0.6s ease-in-out;
  transform-origin: center;
}

.chart-animated:hover .bar1 {
  animation: bar-pop 0.3s ease-out;
}
.chart-animated:hover .bar2 {
  animation: bar-pop 0.4s ease-out;
}
.chart-animated:hover .bar3 {
  animation: bar-pop 0.5s ease-out;
}

.rocket-animated svg {
  transform: rotate(45deg);
  transform-origin: center;
}

.rocket-animated:hover svg {
  animation: rocket-lift 0.6s ease-in-out;

}

@keyframes megaphone-wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes bar-pop {
  0% { transform: scaleY(1); transform-origin: bottom; }
  50% { transform: scaleY(1.3); }
  100% { transform: scaleY(1); }
}

@keyframes rocket-lift {
  0%   { transform: rotate(45deg) translate(0, 0); }
  50%  { transform: rotate(45deg) translate(10px, -10px); }
  100% { transform: rotate(45deg) translate(0, 0); }
}

.hover-expand {
  position: relative;
  overflow: hidden;
}

.hover-expand .icon {
  transition: opacity 0.3s ease;
}

.hover-expand .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.hover-expand .card-description {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Hover state */
.hover-expand:hover .icon {
  opacity: 0;
}

.hover-expand:hover .card-title {
  transform: translateY(-20px);
}

@media (max-width: 768px) {
  .impact-image {
    order: 2;
  }

  .impact-text {
    order: 1;
  }

  .impact-content {
    flex-direction: column;
  }
}


@media (max-width: 768px) {
  .hero-image img,
  .about-image img,
  .impact-image img {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
  }

  /* Zorg dat de container de afbeelding niet insluit */
  .hero .container,
  .about .container,
  .impact .container {
    position: relative;
    z-index: 1;
  }

  .hero-image,
  .about-image,
  .impact-image {
    width: 100%;
    max-width: 100%;
  }

  /* Forceer container niet om overflow te beperken */
  body {
    overflow-x: hidden;
  }
}

section {
  scroll-margin-top: 100px; /* Pas aan aan hoogte van je header */
}
