/* ============================================================
   WYLROOTS GARDEN – Main Stylesheet
   ============================================================ */

:root {
  --black:   #0a0805;
  --deep:    #110e0b;
  --char:    #1c1712;
  --warm:    #2a221a;
  --gold:    #c8943a;
  --gold-lt: #e8b86d;
  --cream:   #f0e6d0;
  --muted:   #b0a090;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Film grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9000; opacity: 0.25;
}

/* ── NAV ── */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(10,8,5,0.97) 0%, transparent 100%);
  backdrop-filter: blur(3px);
  transition: background 0.4s;
}
nav.main-nav.scrolled { background: rgba(10,8,5,0.97); }
nav.main-nav .nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg {
  height: 34px;
  width: auto;
}
nav.main-nav .nav-links { display: flex; gap: 2.5rem; list-style: none; }
nav.main-nav .nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.98rem; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.3s;
}
nav.main-nav .nav-links a:hover { color: var(--gold-lt); }

/* ── PARALLAX BASE ── */
.parallax-section {
  position: relative;
  overflow: hidden;
}

/* Background image layer */
.parallax-bg {
  position: absolute;
  top: -30%; left: 0; right: 0; bottom: -30%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

/* Dark overlay for text contrast */
.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(8,6,4,0.60) 0%,
    rgba(8,6,4,0.38) 75%,
    rgba(8,6,4,0.65) 100%);
}

/* ── BACKGROUND IMAGES ──
   To replace: change url('../img/xxx.jpg') to your own photo path.
   ────────────────────────────────────────────────────────────── */
.hero-bg {
  background-image: url('../img/hero.jpg');
  background-position: center 40%;
  filter: brightness(0.50) contrast(1.05);
}
.about-bg {
  background-image: url('../img/about.jpg');
  background-position: center center;
  filter: brightness(0.50) contrast(1.05);
}
.members-bg {
  background-image: url('../img/members.jpg');
  background-position: center 30%;
  filter: brightness(0.50) contrast(1.10);
}
.videos-bg {
  background-image: url('../img/videos.jpg');
  background-position: center 55%;
  filter: brightness(0.50) contrast(1.05);
}
.booking-bg {
  background-image: url('../img/booking.jpg');
  background-position: center center;
  filter: brightness(0.50) contrast(1.05);
}
.band-bg {
  background-image: url('../img/band.jpg');
  background-position: center center;
  filter: brightness(0.72) contrast(1.05) saturate(0.9);
}

/* ══════════════════════════════════════════
   BAND PHOTO SECTION
   ══════════════════════════════════════════ */
.band-photo-section {
  min-height: 65vh;
  padding: 0;
}

.band-overlay {
  display: none;
}

@media (max-width: 768px) {
  .band-photo-section {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* These decorative elements are absolute, NOT in flow */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,148,58,0.1) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: pulse 7s ease-in-out infinite;
  z-index: 2; pointer-events: none;
}
@keyframes pulse {
  0%,100% { opacity:.4; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:.9; transform:translate(-50%,-50%) scale(1.1); }
}
.hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    transparent, transparent 80px,
    rgba(200,148,58,0.025) 80px, rgba(200,148,58,0.025) 81px);
  z-index: 2; pointer-events: none;
}

/* The actual centred content */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.55em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.4s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 400; line-height: 0.92;
  color: #f0e6d0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
  opacity: 0; animation: fadeUp 1s 0.65s forwards;
}
.hero-title em { display: block; font-style: italic; color: var(--gold-lt); }
.hero-sub {
  margin-top: 2rem; font-size: 1.25rem; font-weight: 300;
  font-style: italic; color: #d4c4a8; letter-spacing: 0.08em;
  opacity: 0; animation: fadeUp 1s 0.9s forwards;
}
.hero-divider {
  width: 1px; height: 70px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 2.5rem 0 0;
  opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.hero-cta {
  margin-top: 2.2rem;
  display: inline-block; padding: 0.9rem 2.8rem;
  border: 1px solid var(--gold); color: var(--gold); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.32em; text-transform: uppercase;
  transition: all 0.4s; opacity: 0; animation: fadeUp 1s 1.3s forwards;
  background: #333333;
}
.hero-cta:hover { background: var(--gold); color: var(--black); }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════ */
section { padding: 7rem 2rem; }

/* All direct section children (containers) above the bg */
.parallax-section > .container,
.parallax-section > .container ~ * {
  position: relative;
  z-index: 2;
}
.container { max-width: 1100px; margin: 0 auto; }

/* Section label – same style everywhere */
.section-label {
  display: block;
  font-size: 0.85rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
  /* Always visible – no reveal animation on labels */
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; line-height: 1.15;
  color: #f0e6d0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.section-title em { font-style: italic; color: var(--gold-lt); }
.gold-rule { width: 60px; height: 1px; background: var(--gold); margin: 1.8rem 0; }

/* Body text – brighter for readability over dark photos */
.about-text p,
.booking-info p,
.videos-intro {
  color: #c8baa8;
  font-size: 1.2rem; font-weight: 300; line-height: 1.85;
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--cream); font-weight: 400; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-deco { display: flex; justify-content: center; align-items: center; }
.about-deco-inner {
  width: 260px; height: 260px;
  border: 1px solid rgba(200,148,58,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-deco-inner::before {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(200,148,58,0.18); border-radius: 50%;
}
.about-deco-text {
  font-family: 'Playfair Display', serif; font-size: 1.25rem;
  font-style: italic; color: var(--gold); text-align: center; line-height: 1.5;
}

/* ── MEMBERS ── */
.members-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 3.5rem; }
.member-card {
  background: rgba(12,9,6,0.88);
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  border: 1px solid rgba(200,148,58,0.12); transition: background 0.4s, border-color 0.4s;
}
.member-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.45s;
}
.member-card:hover { background: rgba(32,20,10,0.95); border-color: rgba(200,148,58,0.3); }
.member-card:hover::before { transform: scaleX(1); }
.member-num { font-size: 0.78rem; letter-spacing: 0.3em; color: rgba(200,148,58,0.35); margin-bottom: 1.5rem; }
.member-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #f0e6d0; margin-bottom: 0.4rem; }
.member-role { font-size: 0.98rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.member-icon { font-size: 1.8rem; margin-bottom: 0.8rem; opacity: 0.6; }

/* ── VIDEOS ── */
.videos-intro { margin-top: 0.8rem; max-width: 700px; font-style: normal; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.video-wrapper {
  position: relative; padding-top: 56.25%;
  background: var(--char); border: 1px solid rgba(200,148,58,0.18); overflow: hidden;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-caption { padding: 0.7rem 0; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }
.channel-link-wrap { margin-top: 2.5rem; text-align: center; }
.channel-link {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--gold); text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  border-bottom: 1px solid rgba(200,148,58,0.35); padding-bottom: 0.2rem; transition: color 0.3s;
}
.channel-link:hover { color: var(--gold-lt); }

/* ── BOOKING ── */
.booking-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.booking-info h3 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400;
  font-style: italic; color: #f0e6d0; margin-bottom: 1rem;
}
.booking-info ul { list-style: none; margin-top: 2rem; }
.booking-info ul li {
  padding: 0.6rem 0; border-bottom: 1px solid rgba(200,148,58,0.15);
  color: #c8baa8; font-size: 0.95rem; display: flex; align-items: center; gap: 0.8rem;
}
.booking-info ul li::before { content: '◆'; font-size: 0.4rem; color: var(--gold); flex-shrink: 0; }

/* ── FORM ── */
form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
input, textarea, select {
  background: rgba(10,7,4,0.92);
  border: 1px solid rgba(200,148,58,0.25); color: var(--cream);
  padding: 0.85rem 1rem; font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; outline: none; transition: border-color 0.3s; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 130px; }
select option { background: #1c1712; }
.submit-btn {
  align-self: flex-start; padding: 0.9rem 2.8rem;
  background: #333333; border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Cormorant Garamond', serif; font-size: 0.85rem;
  letter-spacing: 0.3em; text-transform: uppercase; cursor: pointer; transition: all 0.4s;
}
.submit-btn:hover { background: var(--gold); color: var(--black); }
.form-success {
  display: none; padding: 1.2rem 1rem;
  border: 1px solid var(--gold); color: var(--gold-lt); font-style: italic; text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--black); border-top: 1px solid rgba(200,148,58,0.15);
  padding: 3rem 2rem; text-align: center;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 1rem; }
.footer-tagline { font-style: italic; color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.footer-copy { font-size: 0.98rem; letter-spacing: 0.12em; color: rgba(138,122,104,0.65); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.26s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .booking-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-deco { display: none; }
  .members-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1rem; }
  nav.main-nav .nav-links a { font-size: 0.85rem; letter-spacing: 0.12em; }
}

/* ── MEMBER PHOTOS ── */
.member-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200,148,58,0.15);
}
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 0.4s, transform 0.5s;
  display: block;
}
.member-card:hover .member-photo img {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.04);
}

/* ── FOOTER NAV ── */
.footer-nav {
  display: flex; gap: 2rem; justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.98rem; letter-spacing: 0.15em;
  border-bottom: 1px solid rgba(138,122,104,0.3);
  padding-bottom: 0.1rem; transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-lt); }

/* ── LEGAL PAGES (impressum / datenschutz) ── */
.legal-page {
  max-width: 820px; margin: 0 auto;
  padding: 8rem 2rem 5rem;
}
.legal-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #f0e6d0; margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--gold-lt);
  margin: 2.5rem 0 0.8rem;
}
.legal-page h3 {
  font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin: 1.8rem 0 0.5rem;
}
.legal-page p, .legal-page li {
  color: #c8baa8; font-size: 1rem; line-height: 1.85;
  margin-bottom: 0.9rem;
}
.legal-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page a { color: var(--gold-lt); }
.legal-page a:hover { color: var(--cream); }
.legal-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid rgba(200,148,58,0.3);
  margin-bottom: 3rem; transition: color 0.3s;
}
.legal-back:hover { color: var(--gold-lt); }

.form-error {
  display: none; padding: 1rem;
  border: 1px solid #c0392b; color: #e07070;
  font-style: italic; margin-bottom: 1rem;
}

/* ── COPYRIGHT-Link── */

.footer-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  border-bottom: 1px solid rgba(138,122,104,0.3);
  padding-bottom: 0.1rem;
  transition: color 0.3s;
}
.footer-nav-link:hover { color: var(--gold-lt); }

/* ══════════════════════════════════════════
   HAMBURGER MENU (Mobile)
   ══════════════════════════════════════════ */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}
/* Animated X when open */
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {

  /* Nav: not sticky on mobile */
  nav.main-nav {
    position: relative !important;
    top: auto !important;
    backdrop-filter: none;
    background: rgba(10,8,5,0.97) !important;
    padding: 1.1rem 1.5rem;
  }

  .nav-burger { display: flex; }

  /* Nav links: hidden drawer sliding in from top */
  nav.main-nav .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(8,6,4,0.98);
    padding: 5rem 2rem 3rem;
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 205;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(200,148,58,0.2);
  }
  nav.main-nav .nav-links.open {
    transform: translateY(0);
  }
  nav.main-nav .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(200,148,58,0.1);
  }
  nav.main-nav .nav-links li:first-child {
    border-top: 1px solid rgba(200,148,58,0.1);
  }
  nav.main-nav .nav-links a {
    display: block;
    padding: 1.1rem 0;
    font-size: 0.98rem;
    letter-spacing: 0.3em;
    color: var(--cream);
  }
  nav.main-nav .nav-links a:hover { color: var(--gold-lt); }

  /* Burger sits on top of the open menu */
  .nav-burger { z-index: 210; }
}
