:root {
  --bg: #fbf8f3;
  --ink: #1f2a2e;
  --muted: #5b676c;
  --teal: #0f6b62;
  --teal-dark: #0b4f49;
  --saffron: #d98a2b;
  --card: #ffffff;
  --border: #e7e1d6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: var(--teal); }
img { max-width: 100%; display: block; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 24px;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.brand { font-family: var(--serif); font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); }
.site-nav nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav nav a {
  text-decoration: none; color: var(--ink); font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav nav a:hover, .site-nav nav a:focus { border-bottom-color: var(--saffron); color: var(--teal); }
.site-nav nav a.nav-wa {
  padding: 0; border-bottom: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #25d366; color: #fff;
}
.site-nav nav a.nav-wa:hover, .site-nav nav a.nav-wa:focus { background: #1ebe57; color: #fff; border-bottom: 0; }
.site-nav nav a.nav-wa svg { display: block; }

/* Layout */
.section { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.section h2 {
  font-family: var(--serif); font-size: 30px; margin: 0 0 8px;
}
.section h2::after {
  content: ""; display: block; width: 54px; height: 3px;
  background: var(--saffron); margin-top: 10px;
}

/* Hero */
.hero {
  text-align: center; padding: 96px 24px 72px; max-width: var(--maxw); margin: 0 auto;
}
.hero.has-photo {
  color: #fff; background-size: cover; background-position: center;
  max-width: none; padding: 140px 24px;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 4px; font-size: 12px;
  color: var(--teal); margin-bottom: 14px;
}
.hero.has-photo .eyebrow { color: #ffd9a3; }
.hero h1 { font-family: var(--serif); font-size: 52px; margin: 0 0 10px; }
.hero .tagline { font-style: italic; font-size: 18px; color: var(--muted); }
.hero.has-photo .tagline { color: #f3ede1; }
.hero .hero-links { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--teal); color: #fff; border: 1px solid var(--teal);
}
.btn:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--teal); }
.hero.has-photo .btn.ghost { color: #fff; border-color: #fff; }

/* About */
.about-banner {
  width: 100%; height: 320px; object-fit: cover; object-position: center 30%;
  border-radius: 12px; margin: 6px 0 24px; border: 1px solid var(--border);
}
@media (max-width: 640px) { .about-banner { height: 200px; } }
.about p { font-size: 17px; max-width: 760px; }
.about p + p { margin-top: 16px; }

/* Events */
.tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 34px; }
.tab {
  background: #fff; border: 1.5px solid var(--border); cursor: pointer;
  font-family: var(--sans); font-size: 15px; letter-spacing: .3px;
  color: var(--ink); padding: 11px 24px; border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tab:hover { border-color: var(--teal); color: var(--teal); }
.tab.active {
  background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600;
  box-shadow: 0 3px 10px rgba(15, 107, 98, 0.28);
}
.tab.active:hover { color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.event { border-top: 1px solid var(--border); padding-top: 36px; margin-top: 36px; }
.event:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.event h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 4px; }
.event .meta { color: var(--saffron); font-size: 14px; letter-spacing: .5px; margin-bottom: 10px; }
.event .desc { max-width: 760px; color: var(--ink); }
.gallery {
  margin-top: 18px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery img:hover, .gallery img:focus {
  transform: scale(1.02); box-shadow: 0 6px 18px rgba(0,0,0,.18); outline: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 32, 30, 0.93); padding: 24px;
}
.lightbox.open { display: flex; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb-img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); object-fit: contain; }
.lb-counter { color: #f3ede1; font-size: 14px; letter-spacing: 1px; }
.lb-close {
  position: absolute; top: 16px; right: 22px; background: transparent; border: 0;
  color: #fff; font-size: 36px; line-height: 1; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 26px;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 640px) {
  .lb-nav { width: 44px; height: 44px; font-size: 22px; }
  .lb-close { font-size: 30px; top: 12px; right: 16px; }
}
.videos {
  margin-top: 18px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: #11201e; border: 1px solid var(--border);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.video-poster {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; color: #fff; background:
    radial-gradient(circle at 50% 40%, rgba(217,138,43,.35), rgba(15,107,98,.55));
  border: 0; width: 100%;
}
.video-poster .play { font-size: 42px; line-height: 1; }
.video-poster .label { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }

/* Audio */
.track {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin-top: 12px;
}
.track .play-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal); color: #fff; font-size: 16px;
}
.track .play-btn:hover { background: var(--teal-dark); }
.track .track-main { min-width: 0; }
.track .title { font-weight: 600; }
.track .bar { height: 6px; background: var(--border); border-radius: 3px; margin-top: 8px; cursor: pointer; }
.track .fill { height: 100%; width: 0; background: var(--saffron); border-radius: 3px; }
.track .time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Contact */
.contact .links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn.whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn.whatsapp:hover { background: #1ebe57; border-color: #1ebe57; }

.contact-form-wrap { margin-top: 32px; max-width: 640px; }
.form-heading { font-family: var(--serif); font-size: 22px; margin: 0 0 16px; }
.contact-form .field { margin-bottom: 14px; display: flex; flex-direction: column; }
.contact-form label { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 15px; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 107, 98, .12);
}
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] { margin-top: 4px; cursor: pointer; }
.contact-form button[disabled] { opacity: .6; cursor: default; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.2em; }
.form-status.ok { color: var(--teal); font-weight: 600; }
.form-status.err { color: #b3261e; }

/* Footer */
.site-footer { text-align: center; padding: 32px 24px; color: var(--muted); border-top: 1px solid var(--border); font-size: 14px; }

/* Empty-state helper for owner while building */
.empty-note { color: var(--muted); font-style: italic; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 38px; }
  .section { padding: 48px 18px; }
  .site-nav { justify-content: center; }
}
