/* ============================================================
   HERO.CSS  –  Homepagina banner (web/graphic designer)
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);   /* header (90px) + hero vullen samen het scherm */
  height: calc(100svh - 90px);  /* houdt rekening met mobiele adresbalk */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--lichtblauw);  /* lichtere grid-achtergrond */
}

/* blauw vlak achter de foto – breed maar met marge links/rechts */
.hero-panel {
  position: absolute;
  left: clamp(24px, 4vw, 80px);
  right: clamp(24px, 4vw, 80px);
  bottom: 0;
  height: 48%;
  background: var(--blauw);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 45, 0.25);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;                  /* vult de ruimte onder de header */
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 70px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 80px;
  /* naam-afstand tot onderkant schaalt mee zodat hij in het blauwe vlak valt */
  padding: 40px 40px clamp(120px, 22vh, 240px);
}

.hero-title {
  font-family: var(--font-title);
  color: var(--wit);
  line-height: 0.85;
  letter-spacing: 1px;
}
.hero-title .thin { font-size: clamp(1.8rem, 4vw, 3.2rem); display: block; }
.hero-title .big  { font-size: clamp(3.4rem, 9vw, 6.5rem); display: block; }

/* naam in cursief schrift – netjes onder elkaar */
.hero-name-box {
  display: inline-block;
}

.hero-name {
  font-family: var(--font-script);
  color: var(--wit);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  display: block;
}

.hero-line {
  display: block;
  width: 240px;
  max-width: 100%;
  height: 4px;
  background: var(--wit);
  margin-top: 22px;
}

.hero-photo {
  flex: 0 0 42%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

/* ---- tablet / smaller laptop ---- */
@media screen and (max-width: 1024px) {
  .hero-inner { padding: 30px 40px 0; gap: 24px; }
  .hero-text { padding-left: 30px; margin-top: 60px; gap: 24px;}   /* extra ruimte links voor de tekst */
  .hero-photo { flex-basis: 40%; }
  .hero-photo img { max-width: 380px; }
  .hero-panel { left: 24px; right: 24px; }
}

/* ---- mobiel: tekst boven, foto eronder ---- */
@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 0;
    gap: 0;
  }
  .hero-text {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 24px 0 36px;
    gap: clamp(40px, 9vh, 90px);
  }
  .hero-photo {
    flex: 0 0 auto;
    width: 100%;
  }
  .hero-photo img { max-width: 300px; }
  .hero-panel { height: 42%; }
}

/* ---- kleine telefoons ---- */
@media screen and (max-width: 420px) {
  .hero-inner { padding: 20px 18px 0; }
  .hero-line { width: 180px; }
  .hero-photo img { max-width: 240px; }
}

/* ---- lage / liggende schermen ---- */
@media screen and (max-height: 620px) and (min-width: 769px) {
  .hero-text { padding: 20px 0 clamp(70px, 16vh, 130px); }
  .hero-title .big { font-size: clamp(2.6rem, 7vw, 4.5rem); }
}
