/* =========================================================
   KAS ARCHITECTUUR STUDIO - STUDIO SPECIFIEKE STIJL
   ========================================================= */

/* ============================= */
/* STUDIO CONTAINER */
.studio {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5vw 120px;
}

/* ============================= */
/* STUDIO ROWS (desktop en mobiel) */
.studio-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 100px;
}

.studio-row.reverse {
  flex-direction: row-reverse;
}

.studio-row .studio-block {
  flex: 1;
  max-width: 420px;       /* gelijk aan afbeelding */
  text-align: justify;
  line-height: 1.75;
  font-size: 0.95rem;
  margin-top: 20px;
}

.studio-row .studio-media {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.studio-media img {
  max-width: 420px;
  width: 100%;
  border-radius: 2px;
  opacity: 0;                  /* fade-in start */
  transform: translateY(40px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* ============================= */
/* Fade-in klasse */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Hero specifieke fade-in (geen verschuiving) */
.studio-hero .fade-in-hero {
  opacity: 1 !important;
  transition: opacity 1.2s ease-out;
}
.studio-hero-video,
.studio-hero .logo-overlay {
  opacity: 0; /* begin verborgen */
}

.studio-hero .logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  max-width: 30%;
  height: auto;
  z-index: 2;
  filter: brightness(0) invert(1);

  /* fade-in initieel */
  opacity: 0;
  transition: opacity 1s ease;
}

/* ============================= */
/* Desktop: automatisch links/rechts afwisselen */
@media (min-width: 1100px) {
  .studio-row:nth-child(odd) {
    flex-direction: row;
  }
  .studio-row:nth-child(even) {
    flex-direction: row-reverse;
  }

  .studio-row .studio-block,
  .studio-row .studio-media {
    flex: 1;
    max-width: 420px;
  }
}

/* ============================= */
/* Mobiel: alles onder elkaar, gecentreerd */
@media (max-width: 1100px) {
  .studio-row,
  .studio-row.reverse {
    flex-direction: column !important;
    margin-bottom: 60px;
    align-items: center;
  }

  .studio-row .studio-block,
  .studio-row .studio-media {
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .studio-media {
    justify-content: center;
  }

  .studio-hero-video {
    height: 60vh;
    width: 100vw;
  }

  /* Logo overlay fix mobiel */
  .studio-hero .logo-overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
  }
}

/* ============================= */
/* HERO VIDEO + LOGO OVERLAY */
.studio-hero {
  position: relative;
  width: 100%;
  height: 100vh;             /* schermvullend in hoogte */
  overflow: hidden;
}

.studio-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* snijdt zijkanten af indien nodig */
  filter: grayscale(100%) contrast(0.85);
  z-index: 1;
}

.studio-hero .logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  max-width: 30%;
  height: auto;
  z-index: 2;
  filter: brightness(0) invert(1);
}

.hero-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* onder logo */
}