/* ============================================================
   The Mudita – statische HTML clone (zonder boekingssysteem)
   ============================================================ */

:root {
  --lila: #d3c3e8;
  --zwart: #000000;
  --wit: #ffffff;
  --grijs: #f2f2f2;
  --tekst: #111111;
  --font-kop: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1400px;
  --gutter: 24px;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-kop);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--wit);
  color: var(--zwart);
  border: 1px solid var(--zwart);
  padding: 10px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--lila);
}

.btn--dark {
  background: var(--zwart);
  color: var(--wit);
  border-color: var(--wit);
}

.btn--dark:hover {
  background: var(--lila);
  color: var(--zwart);
  border-color: var(--lila);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--lila);
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
}

.site-header__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.site-header__logo img {
  height: 36px;
  width: auto;
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--zwart);
}

.site-nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.site-nav__sub {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--lila);
  min-width: 180px;
  padding: 12px 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub {
  display: flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--zwart);
  margin: 6px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero (home) ---------- */
.hero-wrap {
  background: var(--lila);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  background: var(--lila);
}

.hero__text {
  padding: 48px 24px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__title {
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.15;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase;
  margin: 0;
}

.hero__tags {
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  margin: 6px 0 0;
}

.hero__slider {
  position: relative;
  overflow: hidden;
  background: var(--zwart);
}

.slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slider__slide.is-active {
  opacity: 1;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__counter {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--wit);
  font-size: 13px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--wit);
  font-size: 28px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.slider__btn--prev { left: 8px; }
.slider__btn--next { right: 8px; }

/* ---------- Over ons ---------- */
.about {
  background: var(--zwart);
  color: var(--wit);
  padding: 72px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__title {
  font-size: clamp(44px, 5vw, 64px);
  margin-bottom: 28px;
}

.about__text {
  font-size: 15px;
  line-height: 1.65;
  max-width: 520px;
}

.about__spotify iframe {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
}

/* ---------- Studio cards ---------- */
.studios {
  padding: 72px 0 80px;
}

.section-title {
  text-align: center;
  font-size: clamp(40px, 5vw, 60px);
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
}

.card {
  background: var(--zwart);
  color: var(--wit);
  display: flex;
  flex-direction: column;
}

.card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__img img {
  transform: scale(1.04);
}

.card__body {
  padding: 28px 24px 32px;
}

.card__title {
  font-size: 22px;
  margin-bottom: 10px;
}

.card__desc {
  font-size: 13px;
  margin: 0 0 20px;
  line-height: 1.55;
}

.card__meta {
  border-top: 1px solid var(--wit);
  padding-top: 18px;
  font-size: 13px;
}

.card__meta p {
  margin: 0 0 6px;
}

.card__body .btn {
  margin-top: 16px;
}

/* ---------- Studio detail hero ---------- */
.studio-hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 420px;
}

.studio-hero__text {
  background: var(--zwart);
  color: var(--wit);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 32px;
}

.studio-hero__title {
  font-size: clamp(40px, 5vw, 60px);
  margin-bottom: 12px;
}

.studio-hero__price {
  margin: 0 0 24px;
  font-size: 15px;
}

.studio-hero__img {
  overflow: hidden;
}

.studio-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Studio detail content ---------- */
.studio-content {
  padding: 56px 0 40px;
}

.studio-content__inner {
  max-width: 560px;
  margin: 0 0 0 48px;
  font-size: 14px;
  line-height: 1.7;
}

.studio-content h3 {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
  margin-top: 24px;
}

.studio-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 4px 0 8px;
}

.studio-content p {
  margin: 0 0 12px;
}

.studio-content a {
  text-decoration: underline;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--zwart);
  padding: 32px var(--gutter);
}

.gallery__strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery__strip::-webkit-scrollbar {
  display: none;
}

.gallery__strip figure {
  flex: 0 0 auto;
  width: min(45%, 480px);
  height: 480px;
  margin: 0;
  scroll-snap-align: start;
}

.gallery__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.gallery__nav button {
  background: none;
  border: 1px solid var(--wit);
  color: var(--wit);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}

.gallery__nav button:hover {
  background: var(--wit);
  color: var(--zwart);
}

/* ---------- Huur CTA (vervangt boekingskalender) ---------- */
.rent-cta {
  padding: 72px 0;
  text-align: center;
}

.rent-cta__title {
  font-size: clamp(34px, 4vw, 44px);
  margin-bottom: 16px;
}

.rent-cta p {
  max-width: 560px;
  margin: 0 auto 24px;
}

.rent-cta p a {
  text-decoration: underline;
}

/* ---------- Cross-sell ---------- */
.cross-sell {
  background: var(--grijs);
  padding: 64px 0 72px;
}

.cross-sell .cards {
  grid-template-columns: 1fr;
  max-width: 480px;
}

/* ---------- Creative studios overview ---------- */
.overview {
  padding: 56px 0 72px;
}

.overview__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--zwart);
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.4s, transform 0.5s;
}

.tile:hover img {
  opacity: 0.8;
  transform: scale(1.03);
}

.tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  color: var(--wit);
}

.tile__label h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 56px 0 64px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__panel {
  background: var(--zwart);
  color: var(--wit);
  padding: 72px 40px 48px;
}

.contact__title {
  font-size: clamp(36px, 4vw, 48px);
  margin-bottom: 16px;
}

.contact__panel p {
  margin: 0 0 12px;
  font-size: 14px;
}

.contact__panel a {
  text-decoration: underline;
}

.contact__btn {
  margin-top: 24px;
}

.contact__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.contact__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.address {
  text-align: center;
  padding: 48px 0 0;
}

.address h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.address p {
  margin: 0;
  font-size: 13px;
}

/* ---------- Policy pages ---------- */
.policy {
  padding: 40px 0 80px;
}

.policy__inner {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.7;
}

.policy h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.policy h2 {
  font-size: 22px;
  margin: 28px 0 8px;
}

.policy h3 {
  font-size: 16px;
  margin: 20px 0 6px;
}

.policy p {
  margin: 0 0 14px;
}

.policy ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--zwart);
  color: var(--wit);
  padding: 48px 0 40px;
  font-size: 14px;
}

.site-footer__logo img {
  height: 28px;
  width: auto;
  margin-bottom: 20px;
}

.social {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}

.social img {
  width: 26px;
  height: 26px;
}

.social a:hover img {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.footer-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  border-bottom-color: var(--wit);
}

.footer-info p {
  margin: 0 0 4px;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero,
  .studio-hero,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 0;
  }

  .hero__text {
    padding: 40px 24px 32px;
    gap: 32px;
  }

  .hero__slider {
    min-height: 320px;
  }

  .slider__track {
    min-height: 320px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .studio-content__inner {
    margin-left: 0;
  }

  .gallery__strip figure {
    width: 80%;
    height: 360px;
  }

  .contact__img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    background: var(--lila);
    border-top: 1px solid var(--zwart);
    padding: 16px 24px 24px;
    gap: 12px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__item {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__sub {
    position: static;
    display: flex;
    border: 0;
    padding: 4px 0 0 16px;
    background: none;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .contact__panel {
    padding: 48px 24px 40px;
  }
}
