:root {
  --navy-950: #091526;
  --navy-900: #10213A;
  --navy-800: #183154;
  --gold-500: #D4A243;
  --gold-400: #E5B95C;
  --gold-300: #F5D076;
  --cream-100: #FAF6EE;
  --cream-200: #F2E9D8;
  --white: #FFFFFF;
  --text-dark: #1A2433;
  --text-muted: #526075;
  --border-light: rgba(16, 33, 58, 0.12);
  --shadow-sm: 0 4px 14px rgba(9, 21, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(9, 21, 38, 0.12);
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .verse-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
  font-family: inherit;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 6px 20px rgba(212, 162, 67, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(245, 208, 118, 0.65);
  color: var(--gold-300);
  background: rgba(16, 33, 58, 0.45);
}

.btn-outline:hover {
  background: rgba(245, 208, 118, 0.14);
  border-color: var(--gold-300);
}

.btn-ghost {
  border-color: var(--border-light);
  color: var(--navy-900);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--cream-100);
  border-color: var(--navy-900);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 21, 38, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 185, 92, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.cross-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(229, 185, 92, 0.12);
  border: 1px solid rgba(229, 185, 92, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--gold-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-300);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gold-300);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 130px 0 80px;
  background: radial-gradient(circle at 50% 22%, #1E3B66 0%, #10213A 55%, #081220 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.snow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 208, 118, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.bethlehem-star {
  margin: 0 auto 14px;
  animation: pulseStar 3.5s ease-in-out infinite;
}

@keyframes pulseStar {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(245, 208, 118, 0.6)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 24px rgba(245, 208, 118, 0.95)); }
}

.hero-kicker {
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: 28px;
}

.verse-card {
  background: rgba(9, 21, 38, 0.62);
  border: 1px solid rgba(229, 185, 92, 0.42);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin: 0 auto 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.verse-text {
  font-size: clamp(1.22rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: #FFFDF8;
  line-height: 1.5;
  margin-bottom: 8px;
}

.verse-ref {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.05em;
}

/* Countdown */
.countdown-wrapper {
  margin-bottom: 32px;
}

.countdown-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.countdown-grid {
  display: inline-grid;
  grid-template-columns: repeat(4, 76px);
  gap: 12px;
}

.cd-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(229, 185, 92, 0.28);
  border-radius: 12px;
  padding: 10px 6px;
}

.cd-box span {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1.2;
}

.cd-box small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-cream {
  background-color: var(--cream-100);
}

.section-light {
  background-color: var(--white);
}

.section-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  margin-bottom: 8px;
}

.section-tag.gold {
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 12px;
}

.section-title.white {
  color: var(--white);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold-500);
  font-size: 1.1rem;
  margin-top: 10px;
}

.title-divider::before,
.title-divider::after {
  content: "";
  width: 48px;
  height: 1px;
  background: rgba(212, 162, 67, 0.5);
}

/* Message Grid */
.message-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}

.message-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.message-card h3 {
  font-size: 1.8rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.message-card p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.verse-mini {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--cream-100);
  border-left: 3.5px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  font-size: 0.94rem;
  color: var(--navy-900);
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hi-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.highlight-item h4 {
  font-size: 1.02rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card.featured {
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #FFFDF9 0%, #FFFFFF 100%);
}

.event-badge {
  align-self: flex-start;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.event-badge.secondary {
  background: var(--cream-200);
  color: var(--navy-900);
}

.event-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.event-name {
  font-size: 1.65rem;
  color: var(--navy-900);
  line-height: 1.22;
  margin-bottom: 12px;
}

.event-summary {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.event-meta {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 22px;
  margin-top: auto;
}

.event-meta li + li {
  margin-top: 6px;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--navy-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-caption {
  padding: 16px 20px;
}

.gallery-caption span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 4px;
}

.gallery-caption strong {
  font-size: 1rem;
  color: var(--navy-900);
}

/* Contact & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  margin-bottom: 28px;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-label {
  font-size: 0.8rem;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--gold-300);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-frame {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 185, 92, 0.35);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
}

.map-note {
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--gold-300);
  background: var(--navy-950);
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
  border-top: 1px solid rgba(229, 185, 92, 0.16);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  color: var(--gold-300);
  margin-right: 6px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 21, 38, 0.76);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-top: 4px solid var(--gold-500);
}

.modal-lightbox {
  max-width: 680px;
  padding: 24px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--cream-100);
  color: var(--navy-900);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  background: var(--cream-200);
}

.modal-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.modal-header h3,
.modal-dialog h3 {
  font-size: 1.85rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Form */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text-dark);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}

/* Ticket Success */
.ticket-box {
  text-align: center;
  padding: 12px 0 4px;
}

.ticket-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ticket-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.ticket-details {
  text-align: left;
  background: var(--cream-100);
  border: 1.5px dashed var(--gold-500);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.ticket-details p + p {
  margin-top: 6px;
}

.ticket-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.ticket-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Event Detail Modal */
.detail-body {
  margin: 14px 0 22px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.detail-body ul {
  margin: 12px 0 12px 20px;
}

.detail-body li {
  margin-bottom: 6px;
}

.detail-footer {
  display: flex;
  gap: 12px;
}

/* Lightbox */
.lb-visual svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 14px;
}

.lb-caption h4 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.lb-caption p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 920px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .message-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(229, 185, 92, 0.25);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    grid-template-columns: repeat(4, 66px);
    gap: 8px;
  }
}
