:root {
  --green-dark: #1f3320;
  --green: #26402a;
  --beige: #f3ece1;
  --beige-light: #faf6ee;
  --pink: #d9c3bd;
  --text-dark: #1c2a1d;
  --text-muted: #5a5f54;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--beige-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-dark);
  color: var(--beige);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--beige);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn-small {
  padding: 8px 20px;
  background: var(--beige);
  color: var(--green-dark);
  font-size: 13px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(160deg, #ece3d3 0%, #d9c9b8 60%, #cbb8c2 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,51,32,0) 0%, rgba(31,51,32,.15) 55%, rgba(31,51,32,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  color: var(--text-dark);
}
.hero-tags {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(30px, 10vw, 84px);
  line-height: 0.98;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.hero h1 .script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.4em;
  text-transform: none;
  display: inline-block;
}
.hero-sub {
  display: inline-block;
  margin-top: 18px;
  background: var(--pink);
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 3px;
  padding: 8px 20px;
  font-size: 14px;
}
.hero-tagline {
  margin-top: 20px;
  font-size: 18px;
  max-width: 460px;
  color: var(--green);
  font-weight: 500;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}
.hero-badges span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  background: rgba(255,255,255,.6);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--green-dark);
}

/* Includes */
.includes {
  background: var(--green-dark);
  color: var(--beige);
  padding: 40px 0;
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.include-item .icon { font-size: 30px; margin-bottom: 10px; }
.include-item p { font-weight: 600; font-size: 14px; letter-spacing: .5px; }

/* About */
.about { padding: 90px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #ece3d3, #cbb8c2);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 {
  font-size: 36px;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Events */
.events { background: var(--beige); padding: 90px 0; }
.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--green-dark);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 48px;
}
.event-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.event-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(31,51,32,.08);
  display: flex;
  flex-direction: column;
}
.event-card-media {
  height: 220px;
  background: linear-gradient(160deg, #ece3d3, #cbb8c2);
}
.event-card-media img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.event-card-body h3 {
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.event-meta { list-style: none; margin-bottom: 20px; }
.event-meta li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.event-meta strong { color: var(--text-dark); }
.event-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.event-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.event-card-body form { margin-top: auto; }
.event-register-btn { margin-top: auto; border: none; cursor: pointer; font-family: inherit; }
.event-register-btn:disabled { opacity: .55; cursor: not-allowed; }
.events-loading { text-align: center; color: var(--text-muted); grid-column: 1 / -1; }
.maps-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--green-dark);
}
.event-card-media { position: relative; }
.sold-out-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--text-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 14px;
  border-radius: 999px;
}
.event-card.is-sold-out { opacity: .75; }
.low-stock {
  font-size: 13px;
  font-weight: 600;
  color: #a15b1f;
  margin: -12px 0 16px;
}

/* Registration modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 42, 29, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
.modal h3 { font-size: 22px; color: var(--green-dark); margin-bottom: 8px; }
.modal-event-summary { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.modal label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.modal input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d0c0;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 16px;
  font-family: inherit;
}
.modal-error { color: #b3261e; font-size: 13px; margin: -8px 0 12px; min-height: 1em; }
.modal-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.btn { border: none; cursor: pointer; font-family: inherit; }

/* Register CTA */
.register {
  background: var(--green-dark);
  color: var(--beige);
  padding: 80px 0;
  text-align: center;
}
.register h2 { font-size: 32px; margin-bottom: 14px; }
.register p { opacity: .85; margin-bottom: 28px; }
.register .btn-primary { background: var(--beige); color: var(--green-dark); }

/* Footer */
.footer {
  background: var(--pink);
  padding: 28px 0;
  text-align: center;
}
.footer-tags {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/10; }
  .event-cards { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .hero-badges span { font-size: 11px; }
}
