﻿:root {
  --bg: #fbf7f2;
  --ink: #1b1b1f;
  --muted: #5b5963;
  --primary: #7b1f2a;
  --primary-dark: #5e1620;
  --accent: #1f6e6b;
  --gold: #c59b3f;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(25, 25, 25, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f8efe3 0%, #fbf7f2 45%, #f4efe7 100%);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f27f2c;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 110, 107, 0.08);
}

.top-bar {
  background: #1e1b1b;
  color: #fff;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.top-socials a {
  color: #fff;
  margin-left: 10px;
  font-weight: 600;
}

.top-socials .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.top-socials .icon-link svg {
  width: 16px;
  height: 16px;
}

.top-highlight {
  color: #c1121f;
  font-weight: 700;
  text-decoration: none;
}

.sparkle-glow {
  color: #c1121f;
  text-shadow: 0 0 8px rgba(193,18,31,0.9), 0 0 18px rgba(255,94,94,0.9);
  animation: sparkle-glow 1.5s ease-in-out infinite;
}

@keyframes sparkle-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(193,18,31,0.9), 0 0 18px rgba(255,94,94,0.9); }
  50% { text-shadow: 0 0 14px rgba(193,18,31,1), 0 0 28px rgba(255,94,94,1); }
}

.sparkle-fast {
  margin-left: 12px;
  font-weight: 700;
  color: #ff3b3b;
  text-shadow: 0 0 10px rgba(255, 59, 59, 0.9), 0 0 20px rgba(255, 59, 59, 0.8);
  animation: sparkle-fast 0.7s ease-in-out infinite;
}

@keyframes sparkle-fast {
  0%, 100% { text-shadow: 0 0 8px rgba(255, 59, 59, 0.9), 0 0 16px rgba(255, 59, 59, 0.8); }
  50% { text-shadow: 0 0 16px rgba(255, 59, 59, 1), 0 0 28px rgba(255, 59, 59, 1); }
}

.top-highlight {
  display: inline-block;
  animation: slow-appear 3s ease forwards, sparkle-glow 1.5s ease-in-out infinite;
}

@keyframes slow-appear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sparkle-glow {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 230, 150, 0.9), 0 0 14px rgba(255, 180, 80, 0.9), 0 0 24px rgba(242, 127, 44, 0.9);
  animation: sparkle-glow 1.6s ease-in-out infinite;
}

@keyframes sparkle-glow {
  0%, 100% {
    text-shadow: 0 0 6px rgba(255, 230, 150, 0.8), 0 0 14px rgba(255, 180, 80, 0.8), 0 0 24px rgba(242, 127, 44, 0.8);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 245, 200, 1), 0 0 22px rgba(255, 200, 120, 1), 0 0 34px rgba(242, 127, 44, 1);
  }
}

.icon-attention {
  font-weight: 700;
  background: #f27f2c;
  color: #fff;
  box-shadow: 0 0 18px rgba(242, 127, 44, 0.95), 0 0 32px rgba(242, 127, 44, 0.6);
  animation: glow-pulse 1.8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(242,127,44,0.8), 0 0 26px rgba(242,127,44,0.5); }
  50% { box-shadow: 0 0 26px rgba(242,127,44,1), 0 0 44px rgba(242,127,44,0.8); }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(25, 25, 25, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

#typewriter {
  font-family: "Cinzel", "Playfair Display", serif;
  font-size: clamp(0.775rem, 1.1vw + 0.44rem, 1.04rem);
  font-weight: 700;
  letter-spacing: 0.6px;
  display: inline-block;
}

.highlight-red {
  color: #c1121f;
  font-weight: 700;
}

.pulse-attention {
  display: inline-block;
  animation: pulse-attention 1.6s ease-in-out infinite;
}

@keyframes pulse-attention {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.glow-attention {
  color: #c1121f;
  text-shadow: 0 0 8px rgba(193,18,31,0.8), 0 0 16px rgba(193,18,31,0.6);
  animation: glow-attention 1.8s ease-in-out infinite;
}

@keyframes glow-attention {
  0%, 100% { text-shadow: 0 0 8px rgba(193,18,31,0.8), 0 0 16px rgba(193,18,31,0.6); }
  50% { text-shadow: 0 0 14px rgba(193,18,31,1), 0 0 24px rgba(193,18,31,0.8); }
}

.membership-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.membership-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.membership-form input,
.membership-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.site-nav a {
  color: #000;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--primary); }


.site-nav .btn.btn-primary {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}

.hero {
  padding: 80px 0 60px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  height: min(78vh, 720px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65), rgba(0,0,0,0.2));
  color: #fff;
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hero-overlay h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  margin: 0;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
}

.section-alt {
  background: #1E2A44;
  color: #fff;
}

.membership-page {
  color: #000;
}

.membership-page .section-head p,
.membership-page .program p,
.membership-page .benefit-list,
.membership-page .donation-amounts,
.membership-page .form-note,
.membership-page .cta-box p {
  color: rgba(0,0,0,0.75);
}

.membership-page .section-alt,
.membership-page .section-alt .section-head h2,
.membership-page .section-alt .section-head p,
.membership-page .section-alt .program h3,
.membership-page .section-alt .program p,
.membership-page .section-alt .donation,
.membership-page .section-alt .donation-amounts button,
.membership-page .section-alt .qr-box,
.membership-page .section-alt .qr-box p {
  color: #000;
}

.membership-page .section-alt {
  background: #fff;
}
.section-alt.text-dark {
  color: #000;
}

.section-alt.text-dark .section-head p,
.section-alt.text-dark .info-card p {
  color: rgba(0,0,0,0.75);
}

.section-alt .section-head p,
.section-alt .program p,
.section-alt .event p,
.section-alt .event-meta,
.section-alt .membership ul,
.section-alt .form-note {
  color: rgba(255,255,255,0.8);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
  margin: 10px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  color: var(--accent);
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(123, 31, 42, 0.2);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(123, 31, 42, 0.3);
  color: var(--primary);
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.stats .stat {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.stats .label { color: var(--muted); font-size: 0.9rem; }

.hero-art {
  position: relative;
  min-height: 320px;
}

.hero-art .orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f8d79b, #c59b3f);
  opacity: 0.85;
}

.hero-art .ribbon {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 240px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(31, 110, 107, 0.9), rgba(123, 31, 42, 0.9));
  box-shadow: var(--shadow);
}

.hero-art .card {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: min(280px, 80%);
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(25, 25, 25, 0.18);
}

.card-chip {
  display: inline-block;
  margin-top: 10px;
  background: rgba(31, 110, 107, 0.12);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: #fffdf9;
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.info-card, .program {
  padding: 22px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-list {
  display: grid;
  gap: 16px;
}

.event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.event-meta {
  display: flex;
  gap: 14px;
  font-weight: 600;
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.shot {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-art {
  height: 160px;
  background: linear-gradient(130deg, rgba(123,31,42,0.8), rgba(31,110,107,0.8));
}

.shot img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
}

.carousel[data-per-view="2"] .carousel-slide {
  min-width: 50%;
}

.carousel-slide img {
  width: 100%;
  height: min(60vh, 520px);
  object-fit: cover;
  display: block;
}

/* Gallery slideshow should show full image without cropping */
.gallery-slideshow .carousel-slide img {
  object-fit: contain;
  height: min(70vh, 600px);
  background: #fff;
}

.gallery-slideshow .carousel-slide {
  background: #fff;
}

.carousel-slide figcaption {
  padding: 14px 18px 18px;
  font-weight: 600;
}

.carousel-next {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-btn {
  border: none;
  background: #1b1b1f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.filter-btn.is-active {
  background: #f27f2c;
}

.gallery-slideshow {
  display: none;
}

.gallery-slideshow.active {
  display: block;
}

.gallery-grid {
  columns: 3 220px;
  column-gap: 18px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
}

.gallery-thumb {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.gallery-thumb img:hover {
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 30px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: #fff;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

@media (max-width: 820px) {
  .gallery-grid {
    columns: 2 160px;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    columns: 1 100%;
  }
}

.membership {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
}

.membership-hero {
  background: #fffdf9;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.membership-copy h2 {
  font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem);
  margin: 10px 0 12px;
}

.benefit-list {
  padding-left: 18px;
  color: var(--muted);
}

.highlight-line {
  font-weight: 700;
  color: var(--primary);
}

.membership-promo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.promo-card {
  margin-top: -30px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.coming-soon-banner {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.steps {
  padding-left: 18px;
  color: var(--muted);
}

.donation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.donation-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.donation-amounts button {
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.qr-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-placeholder {
  margin: 12px auto;
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #eaeaea, #eaeaea 10px, #f5f5f5 10px, #f5f5f5 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #666;
}

.in-progress {
  text-align: center;
}

.in-progress .lead {
  font-weight: 700;
  color: #c1121f;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.sponsor-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.highlight-box {
  background: #ffe2c7;
  border: 2px solid #f27f2c;
}

.membership ul {
  padding-left: 18px;
  color: var(--muted);
}

.cta-box {
  background: linear-gradient(140deg, #7b1f2a, #c59b3f);
  color: #fff;
  padding: 28px;
  border-radius: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: inherit;
}

.contact-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: inherit;
  background: #fff;
}

.form-note { font-size: 0.85rem; color: var(--muted); }

.conditional-input {
  display: none;
}

.alert-red {
  color: #c1121f;
  font-weight: 700;
}

.slow-marquee {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  animation: slow-marquee 12s linear infinite;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.marquee-attention {
  font-size: 1.05rem;
  font-weight: 700;
  color: #c1121f;
  white-space: nowrap;
  animation: slow-marquee 8s linear infinite, sparkle-fast 0.7s ease-in-out infinite;
}

.heading-static {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

@keyframes slow-marquee {
  0% { transform: translateX(0); }
  50% { transform: translateX(20px); }
  100% { transform: translateX(0); }
}

.wa-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
}

.site-footer {
  padding: 40px 0 20px;
  background: #19181d;
  color: #f4efe7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-grid a { color: #f4efe7; opacity: 0.8; }

.footer-note {
  text-align: center;
  margin-top: 24px;
  color: rgba(244,239,231,0.6);
  font-size: 0.85rem;
}

.page-hero {
  padding: 60px 0 40px;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.6vw + 1rem, 3rem);
}

.breadcrumb { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: 70px;
    right: 4vw;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 900px) {
  .carousel[data-per-view="2"] .carousel-slide {
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
