/* ==========================================================================
   Reno Projecten - tijdelijke contactpagina
   ========================================================================== */

:root {
  --color-text: #333333;
  --color-grey: #57585a;
  --color-grey-dark: #48494b;
  --color-border: #dcdcdc;
  --color-header-bg: #f8f9fa;
  --color-black: #000000;
  --max-width: 1200px;
  --side-padding: 40px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, "Open Sans", sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.site-header,
.hero,
.site-footer {
  flex: 0 0 auto;
}

a {
  color: var(--color-grey);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--color-header-bg);
  height: 50px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  color: var(--color-black);
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-text-wrap {
  width: 100%;
  padding-bottom: 36px;
}

.hero-text {
  max-width: 600px;
  text-align: left;
}

.hero-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  color: #f2f2f2;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  align-items: start;
}

.contact-details-col {
  grid-column: 1;
}

.map-col {
  grid-column: 2;
}

.section-title {
  font-size: 27px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-grey);
  max-width: 420px;
  margin: 0 0 40px 0;
}

/* Kaart */

.map-embed {
  width: 100%;
  height: 350px;
}

.map-embed a {
  display: block;
  width: 100%;
  height: 100%;
}

.map-embed img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.social-icon {
  display: inline-flex;
  color: #1a1a1a;
}

.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #efefef;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.info-item-text {
  font-size: 14px;
  font-style: normal;
  color: var(--color-grey);
  margin: 0;
}

.info-item-text a {
  color: var(--color-grey);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.info-item-text a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 55px;
  padding-bottom: 40px;
  gap: 20px;
}

.footer-logo-col {
  display: flex;
  align-items: flex-start;
}

.footer-logo-img {
  height: 46px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
}

.footer-col nav a {
  color: #cfcfcf;
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-address {
  font-size: 14px;
  color: #cfcfcf;
  margin: 0;
}

.footer-address a {
  color: #cfcfcf;
}

.footer-bottom {
  border-top: 1px solid #333333;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-size: 11px;
  color: #9a9a9a;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a {
  font-size: 12px;
  color: #cfcfcf;
}

.footer-social {
  color: #ffffff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --side-padding: 30px;
  }

  .contact-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --side-padding: 20px;
  }

  .site-header {
    height: 60px;
  }

  .logo-img {
    height: 24px;
  }

  .hero {
    height: 260px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .contact-section {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .contact-details-col {
    grid-column: 1;
  }

  .map-col {
    grid-column: 1;
  }

  .section-title {
    font-size: 24px;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo-img {
    height: 38px;
  }
}

/* ==========================================================================
   Laad-animatie
   Pure CSS, geen JavaScript nodig: zodra een element met de klasse
   "load-in" gerenderd wordt, faded het in en beweegt het licht omhoog.
   Via .load-stagger > * krijgen kindelementen een oplopende vertraging
   zodat ze na elkaar verschijnen in plaats van tegelijk.
   Bezoekers met een voorkeur voor beperkte beweging (prefers-reduced-motion)
   krijgen de pagina direct volledig zichtbaar, zonder animatie.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .load-in {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .load-stagger > *:nth-child(1) { animation-delay: 0ms; }
  .load-stagger > *:nth-child(2) { animation-delay: 90ms; }
  .load-stagger > *:nth-child(3) { animation-delay: 180ms; }
  .load-stagger > *:nth-child(4) { animation-delay: 270ms; }
  .load-stagger > *:nth-child(5) { animation-delay: 360ms; }
  .load-stagger > *:nth-child(6) { animation-delay: 450ms; }
  .load-stagger > *:nth-child(7) { animation-delay: 540ms; }

  /* Rustige, top-naar-onder cascade voor de vaste pagina-elementen. */
  .logo.load-in { animation-delay: 0ms; }
  .hero-text.load-in { animation-delay: 120ms; }
  .section-title.load-in { animation-delay: 180ms; }
  .section-subtitle.load-in { animation-delay: 250ms; }
  .map-col.load-in { animation-delay: 300ms; }

  .info-list.load-stagger > *:nth-child(1) { animation-delay: 320ms; }
  .info-list.load-stagger > *:nth-child(2) { animation-delay: 400ms; }
  .info-list.load-stagger > *:nth-child(3) { animation-delay: 480ms; }
  .info-list.load-stagger > *:nth-child(4) { animation-delay: 560ms; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
