/*
Theme Name: Magic Zac
Author: Clawd
Description: Lightweight WordPress theme for Magic Zac.
Version: 0.1.1
*/

:root {
  --text: #161616;
  --muted: #555;
  --line: #e7e0d6;
  --cream: #fffaf1;
  --yellow: #ffd648;
  --orange: #f28b2e;
  --blue: #1b75bb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home .site-header {
  position: absolute;
  right: 0;
  left: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
  border-bottom: 0;
}

.home .brand,
.home .nav a:not(.button) {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.home .nav .button {
  background: #fff;
  color: var(--text);
}

.brand {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav .button {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

.hero img {
  width: 100%;
  min-height: 520px;
  max-height: 780px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: clamp(52px, 7vw, 104px) clamp(20px, 4vw, 64px);
}

.narrow {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.18;
}

h1 {
  font-size: clamp(32px, 5vw, 64px);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: clamp(23px, 3vw, 36px);
}

.lead {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.5;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
}

.program {
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}

.program img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 22px;
}

.program p {
  margin: 0;
}

.photo-band {
  padding: 0 clamp(20px, 4vw, 64px);
}

.photo-band img {
  width: min(100%, 1120px);
  max-height: 680px;
  margin: 0 auto;
  object-fit: cover;
}

.cta {
  text-align: center;
}

.cta a,
.form-submit {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  max-width: 1120px;
  margin: 0 auto;
}

.about img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.booking-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--cream);
  border: 1px solid var(--line);
}

.booking-form label {
  display: block;
  margin: 0 0 16px;
  font-weight: 600;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #cfc7bb;
  border-radius: 0;
  font: inherit;
  background: #fff;
}

.booking-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-lines {
  margin-top: 34px;
  text-align: center;
}

.site-footer {
  padding: 38px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 800px) {
  .site-header {
    padding: 18px 20px;
  }

  .home .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .home .brand,
  .home .nav a:not(.button) {
    color: var(--text);
    text-shadow: none;
  }

  .home .nav .button {
    background: var(--text);
    color: #fff;
  }

  .nav {
    gap: 14px;
  }

  .nav .button {
    padding: 9px 14px;
  }

  .program-grid,
  .about,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero img {
    min-height: 360px;
  }

  .photo-band {
    padding: 0;
  }
}
