/* Modal Gallery Styles */
.modal-gallery {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020202;
  transition: opacity 0.3s;
  width: 100vw;
  height: 100vh;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}
.modal-gallery[style*="display:none"] {
  opacity: 0;
  pointer-events: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #020202;
  z-index: 0;
  pointer-events: none;
}
.modal-content {
  position: relative;
  z-index: 1;
  background: #111513;
  border-radius: 22px;
  box-shadow: 0 12px 48px 0 rgba(0,0,0,0.55), 0 1.5px 0 0 var(--accent);
  padding: 36px 36px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 320px;
  max-width: 96vw;
  max-height: 92vh;
  border: 1.5px solid var(--border);
  overflow: visible;
  box-sizing: border-box;
}
.modal-img {
  max-width: 70vw;
  max-height: 60vh;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.32);
  background: #232826;
  object-fit: contain;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0,0,0,0.12);
  border: none;
  color: var(--text);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--accent);
  background: rgba(242,180,65,0.18);
}
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.18);
  border: none;
  color: var(--text);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.modal-arrow.left {
  left: 8px;
}
.modal-arrow.right {
  right: 8px;
}
.modal-arrow:hover {
  background: var(--accent);
  color: #181c1b;
  box-shadow: 0 4px 16px rgba(242,180,65,0.18);
}
.modal-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.modal-pagination span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-pagination span.active {
  background: var(--accent);
  transform: scale(1.2);
}
:root {
  --bg: #0d0f0d;
  --bg-alt: #0f1612;
  --accent: #f2b441;
  --accent-2: #6ccba1;
  --text: #e7e2d8;
  --muted: #bcb5a5;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(108, 203, 161, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(242, 180, 65, 0.14), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 80px;
}

.bg-texture::before,
.bg-texture::after {
  content: "";
  position: fixed;
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(242, 180, 65, 0.08), transparent 60%);
  top: -10vmax;
  right: -10vmax;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.bg-texture::after {
  top: 40vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(108, 203, 161, 0.12), transparent 60%);
}

.hero {
  position: relative;
  padding: 32px clamp(20px, 4vw, 60px) 140px;
  overflow: hidden;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(13, 15, 13, 0.9), rgba(13, 15, 13, 0.5));
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.6px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  background: rgba(242, 180, 65, 0.14);
  color: var(--accent);
}

.nav-cta {
  border: 1px solid rgba(242, 180, 65, 0.5);
  background: linear-gradient(120deg, rgba(242, 180, 65, 0.22), rgba(242, 180, 65, 0.1));
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 180, 65, 0.25);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-top: 80px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text .lede {
  color: var(--muted);
  max-width: 600px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -20% 40% 30% -10%;
  background: radial-gradient(circle, rgba(108, 203, 161, 0.18), transparent 55%);
  transform: rotate(8deg);
}

.hero-card p {
  color: var(--muted);
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(108, 203, 161, 0.2);
  color: #c6ffe0;
  border: 1px solid rgba(108, 203, 161, 0.4);
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
}

.stats {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  position: relative;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #f2b441, #e48c1f);
  color: #1d1204;
  box-shadow: 0 12px 30px rgba(242, 180, 65, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.full {
  width: 100%;
}

.section {
  padding: 80px clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 1;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 34px;
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(242, 180, 65, 0.6), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.timeline-date {
  font-weight: 700;
  color: var(--accent);
}

.calendar-embed {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}



.calendar-iframe-wrapper {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 4/3;
  min-height: 480px;
  background: #181c1b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
  position: relative;
}

.calendar-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #181c1b;
  display: block;
  filter: invert(0.92) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}

.calendar-embed .micro-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-photo {
  height: 180px;
  background: #0d0f0d;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.gallery-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(242, 180, 65, 0.25), rgba(108, 203, 161, 0.22)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25));
  mix-blend-mode: overlay;
  z-index: 1;
}

.gallery-photo::after {
  content: attr(data-photo);
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(13, 15, 13, 0.45);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
}

.gallery-item figcaption {
  padding: 14px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-card,
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--muted);
}

.contact-form label {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-sans);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .micro-copy {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--border);
  background: rgba(13, 15, 13, 0.95);
  position: static;
  width: 100%;
  min-width: 320px;
  backdrop-filter: blur(10px);
  z-index: 5;
}

.footer h4 {
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  body {
    background: radial-gradient(circle at 20% 20%, rgba(108, 203, 161, 0.08), transparent 25%),
      radial-gradient(circle at 80% 0%, rgba(242, 180, 65, 0.14), transparent 30%),
      var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 80px;
  }
  }

  .timeline::before {
    left: 0;
  }
}
