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

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(to right, #e6dcc5, #dcd3c0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 100px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo {
  height: 100px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-text h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  color: #3a2a23;
  text-align: center;
}

.subline {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgb(92, 155, 92);
  margin-top: 6px;
  letter-spacing: 0.5px;
  text-align: center;
}

.arabic {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  color: #3a2a23;
  direction: rtl;
  unicode-bidi: isolate;
  margin-top: -5px;
}

.site-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: shine 3s linear infinite;
  z-index: 0;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ===== SECTIONS ===== */
.sections {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100%;
}

.section {
  flex: 1;
  position: relative;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(1);
  transition: all 0.4s ease;
}

/* ===== BACKGROUND POSITION PER SECTIE ===== */
.section.kinderen {
  background-position: center center;
}

.section.zusters {
  background-position: left center; /* <<< toont linkerkant van afbeelding */
}

.section.dawrahs {
  background-position: center center;
}

.section:hover {
  filter: brightness(1);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
  z-index: 2;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  z-index: 1;
  transition: background-color 0.4s ease;
}

.section:hover::before {
  background-color: transparent;
}

/* ===== OVERLAY CONTENT ===== */
.overlay {
  position: relative;
  z-index: 2;
  color: white;
  width: 80%;
  max-width: 300px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.overlay h2 {
  font-size: 1.8rem;
  font-weight: 700;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay p {
  font-size: 1rem;
  height: 30px;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

/* ===== BUTTON STYLE ===== */
.btn {
  padding: 12px 24px;
  background-color: #dcd3c0;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #cfc6b0;
  transform: translateY(-2px);
}

.section.kinderen {
  background-image: url("../images/boom.jpeg");
  background-position: center top; /* focus bovenaan */
}

.section.zusters {
  background-image: url("../images/zustersvoorpagina.jpeg");
  background-position: left center; /* standaard */
}

.section.dawrahs {
  background-image: url("../images/backtomanara.png");
  background-position: center top; /* focus onderkant */
}


/* ===== TITEL KINDEREN KLEUR ===== */
.kids-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.colorful {
  font-family: 'Fredoka One', cursive;
  text-transform: uppercase;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.colorful .r1 { color: #9ef5b9; }
.colorful .r2 { color: #8fec87; }
.colorful .r3 { color: #3edf63; }
.colorful .r4 { color: #43cb50; }
.colorful .r5 { color: #93b093; }
.colorful .r6 { color: #15bc5d; }
.colorful .r7 { color: #bddeca; }
.colorful .r8 { color: #08972f; }

.sier-zusters {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgb(248, 154, 225);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 45px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #f3f1ec;
  padding: 15px 15px;
  text-align: center;
  border-top: 1px solid #a1d6af;
  font-size: 0.9rem;
  color: #3a2a23;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.footer-title,
.footer-info-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-info {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #3a2a23;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #3a2a23;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4aa24a;
}

.site-footer p:last-of-type {
  margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 20px 15px;
    flex-direction: column;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .logo {
    height: 100px;
  }

  .header-text h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .subline {
    font-size: 0.9rem;
    margin-top: 4px;
    color: darkgreen;
  }

  .site-header::after {
    left: -50%;
    width: 100%;
  }

  .sections {
    flex-direction: column;
    height: auto;
  }

  .section {
    height: 100vh;
  }

  .overlay {
    max-width: 90%;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
}
