@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700;800&display=swap');

/* Kleurvariabelen volgens huisstijl */
:root {
  --color-froly: #F1637D;
  --color-kobi: #EBA6B8;
  --color-plum: #86387E;
  --color-golden-dream: #F2D434;
  --color-burnt-sienna: #ED5A47;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(120deg, #f9f9f9 0%, #fff 100%);
  color: #222;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar / Header */
.feestin-navbar {
  font-family: 'Poppins', sans-serif;
  border-bottom: 2px solid var(--color-kobi);
  z-index: 100;
}
.feestin-brand {
  letter-spacing: 0.5px;
  color: var(--color-plum);
  text-transform: lowercase;
}
.feestin-brand .text-primary {
  color: var(--color-froly) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-plum) !important;
  transition: color 0.16s;
  position: relative;
}
.navbar-nav .nav-link.active {
  color: var(--color-froly) !important;
  font-weight: 700;
}
.navbar-nav .nav-link.active::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 18px;
  height: 2.5px;
  background: var(--color-golden-dream);
  border-radius: 4px;
  margin-top: 3px;
}
.cta-btn {
  background: linear-gradient(90deg, var(--color-froly) 60%, var(--color-golden-dream) 100%);
  color: #fff !important;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(241,99,125,0.12);
  letter-spacing: .03em;
  transition: background 0.22s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-plum) 60%, var(--color-burnt-sienna) 100%);
  color: #fff !important;
  box-shadow: 0 4px 22px rgba(241,99,125,0.22);
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, var(--color-plum), var(--color-golden-dream));
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  color: var(--color-burnt-sienna);
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: #FFFFFF;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 400;
  color: #FFFFFF;
}

/* Section + Spacing fixes */
.section, .timeline-container, .netwerk, .mogelijk-gemaakt, .contact {
  scroll-margin-top: 98px;
  padding: 70px 24px;
  margin-top: 38px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(241,99,125,0.06);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1.2s ease-in-out;
}
.section h2, .timeline-container h2, .netwerk h2, .mogelijk-gemaakt h2, .contact h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-plum);
  letter-spacing: -0.5px;
}
.section p, .section li, .timeline-container p, .timeline-container li {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-plum);
}

ul {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}

@media (max-width: 991.98px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 768px) {
  .section, .timeline-container, .netwerk, .mogelijk-gemaakt, .contact {
    padding: 38px 10px;
    border-radius: 12px;
    margin-top: 18px;
  }
  .section h2, .timeline-container h2, .netwerk h2, .mogelijk-gemaakt h2, .contact h2 {
    font-size: 1.5rem;
  }
}

/* Timeline */
.timeline-container {
  background: var(--color-kobi);
}
.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 80px 0;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: var(--color-froly);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}
.timeline-item {
  padding: 40px 60px;
  position: relative;
  width: 50%;
  animation: slideIn 1s ease forwards;
  opacity: 0;
  box-sizing: border-box;
}
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-froly);
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.left::before { right: -10px; }
.timeline-item.right::before { left: -10px; }
.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-plum);
}
.timeline-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-plum);
}
@media (max-width: 991.98px) {
  .timeline {
    padding: 40px 0;
  }
  .timeline::after {
    left: 8px;
  }
  .timeline-item {
    width: 100%;
    padding: 30px 20px 30px 40px;
    text-align: left !important;
    left: 0 !important;
  }
  .timeline-item::before {
    left: 0 !important;
  }
}

/* Logo Grid (Netwerk & Mogelijk Gemaakt Door) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 32px auto;
  max-width: 900px;
}
.logo-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(241,99,125,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: box-shadow 0.25s, transform 0.22s;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--color-kobi);
  cursor: pointer;
  text-align: center;
}
.logo-card:hover {
  box-shadow: 0 10px 32px rgba(241,99,125,0.15), 0 1.5px 10px rgba(134,56,126,0.11);
  transform: translateY(-3px) scale(1.04);
  border-color: var(--color-froly);
}
.logo-card img {
  max-width: 80px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  filter: grayscale(70%);
  opacity: 0.90;
  transition: filter 0.22s, opacity 0.22s;
  background: transparent;
}
.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.logo-card .matodev-logo {
  max-width: 120px !important;
  max-height: 84px !important;
  filter: grayscale(0%) !important;
  opacity: 1 !important;
}

/* Fade-in Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Misc */
ul { padding-left: 1.4em; }
li { margin-bottom: 8px; }
.mt-3 { margin-top: 1.2rem !important; }
.text-center { text-align: center !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* Responsive logo grid */
@media (max-width: 767px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
  }
  .logo-card { height: 80px; }
  .logo-card img {
    max-width: 60px;
    max-height: 38px;
  }
}

/* Section border/spacing cleanup for compact mobile */
@media (max-width: 480px) {
  .section, .timeline-container, .netwerk, .mogelijk-gemaakt, .contact {
    padding: 22px 3vw;
    border-radius: 7px;
  }
}

/* Contact/aanmelden blokje */
.contact a { color: var(--color-froly); text-decoration: underline; }
.contact a:hover { text-decoration: none; color: var(--color-plum); }


/* Footer */
.footer-bg {
  background: linear-gradient(100deg, var(--color-kobi) 0%, #f9fafb 100%);
  border-top: 2px solid var(--color-kobi);
}
.feestin-footerbrand {
  letter-spacing: 0.5px;
  color: var(--color-plum);
  text-transform: lowercase;
  font-weight: 800;
}
.feestin-footerbrand .text-primary {
  color: var(--color-froly) !important;
}
.footer-subtagline {
  font-size: 1rem;
  color: var(--color-plum);
}
.footer-nav .footer-link {
  color: var(--color-plum);
  font-weight: 500;
  text-decoration: none;
  margin-right: 7px;
  transition: color .15s;
}
.footer-nav .footer-link:hover {
  color: var(--color-froly);
  text-decoration: underline;
}
.cta-btn-footer {
  background: linear-gradient(90deg, var(--color-froly) 60%, var(--color-golden-dream) 100%);
  color: #fff !important;
  font-weight: 600;
  border: none;
  padding: 9px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(241,99,125,0.09);
  letter-spacing: .03em;
  transition: background 0.22s, box-shadow 0.18s;
  font-size: 1rem;
}
.cta-btn-footer:hover, .cta-btn-footer:focus {
  background: linear-gradient(90deg, var(--color-plum) 60%, var(--color-burnt-sienna) 100%);
  color: #fff !important;
  box-shadow: 0 4px 22px rgba(241,99,125,0.15);
  text-decoration: none;
}

.footer-social-icon {
  display: inline-block;
  font-size: 1.55rem;
  color: var(--color-plum);
  margin-right: 9px;
  transition: color 0.17s;
  vertical-align: middle;
}
.footer-social-icon:last-child { margin-right: 0; }
.footer-social-icon:hover { color: var(--color-froly); }

.footer-copyright {
  color: var(--color-plum);
  font-size: .98rem;
  font-weight: 400;
}

/* Over-mij foto */
.section-persoon .persoon-foto {
  max-width: 340px;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(241,99,125,0.13);
  margin-bottom: 0;
  margin-top: 0;
  border: 4px solid var(--color-kobi);
  object-fit: cover;
}

.section-persoon .col-md-7 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .section-persoon .persoon-foto {
    max-width: 350px;
    border-radius: 16px;
    margin: 0 auto 18px auto;
  }
}

.website-foto {
  max-width: 410px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(241,99,125,0.12);
  margin-bottom: 6px;
  border: 4px solid #fff;
  transition: transform 0.18s;
}
.website-foto:hover {
  transform: scale(1.03) rotate(-1.5deg);
  box-shadow: 0 14px 38px rgba(241,99,125,0.17);
}
.section-foto {
  animation: fadeIn 1.2s cubic-bezier(.66,.15,.31,1.07);
}
