/* ===============================
   Variables & Base
================================== */
@import url('https://fonts.googleapis.com/css2?family=Zeyada&display=swap');

:root {
  /* Colors */
  --gold: #d4af37;
  --bg1: #0b0b0b;
  --bg2: #2a1a0e;
  --text: #f8f5ef;
  --lightgold: #f7da7e;
  --highlight1: #FFEA00;

  /* Sizing (mobile-first) */
  --container-pad: clamp(12px, 4vw, 24px);
  --hero-logo: clamp(84px, 24vw, 140px);
  --title-size: clamp(28px, 8vw, 64px);
  --tagline-size:  clamp(17px, 6.5vw, 24px);
  --countdown-num: clamp(22px, 7vw, 40px);
  --countdown-minw: clamp(68px, 24vw, 96px);
  --cta-pad-y: clamp(10px, 3vw, 14px);
  --cta-pad-x: clamp(16px, 5vw, 24px);
  --tap-min: 44px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* Universal media guards */
img, svg, video { max-width: 100%; height: auto; }

/* Accessibility */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link {
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus {
  position:fixed; left:12px; top:12px; width:auto; height:auto; padding:.5rem .75rem;
  background:#111; color:#fff; border-radius:10px; z-index:1000;
}

/* Tap targets */
a, button { min-height: var(--tap-min); }

/* Safe-area padding (iOS notch) */
@supports (padding: max(0px)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===============================
   Hero
================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh; /* mobile-friendly */
  background: url('/img/captain_moroni_raises_the_title_of_liberty.jpeg') center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.6));
  pointer-events: none;
}

/* Center stack */
.center { position: relative; z-index: 2; padding: 0 var(--container-pad) var(--container-pad); }

/* Logos */
.logo      { width: var(--hero-logo); height: auto; margin: 0 auto 1rem; }
.logoLarge {
  width: clamp(120px, 70vw, 350px);
  height: auto;
  max-width: 70vw;
  display: block;
  margin: 0 auto 30px;
}

/* Typography */
.title {
  font-family: Cinzel, serif;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: var(--title-size);
  margin: .25rem 0 0;
}
.tagline {
  color: #fff;
  font-size: var(--tagline-size);
  margin: .5rem 0 1rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 3vw, 16px);
  margin-bottom: 2rem;
}
.countdown .time {
  min-width: var(--countdown-minw);
  padding: .6rem .8rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 14px;
  backdrop-filter: blur(2px);
}
.countdown span {
  display: block;
  font-family: Cinzel, serif;
  font-size: var(--countdown-num);
}
.countdown small { opacity: .85; }

@media (max-width: 380px) {
  .countdown .time { min-width: 56px; }
}

/* ===============================
   CTA (generic + menu CTA)
================================== */
.cta,
.menu .cta,
.menu a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.9rem 1.4rem;
  line-height: 1.2;
  border-radius: 14px;
  text-decoration: none;
  color: #111;
  background: linear-gradient(180deg, #f6e7a6, var(--gold));
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  min-height: var(--tap-min);
  border: none;
  transition: all .25s ease;
}

.cta:hover,
.menu .cta:hover,
.menu a.cta:hover,
.menu .cta:focus-visible,
.menu a.cta:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  outline: none;
}

/* Disabled CTA state */
.menu .cta.disabled,
.menu a.cta.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #d9d2a0, #a08b3b);
}
.menu .cta.disabled:hover,
.menu .cta.disabled:focus-visible,
.menu a.cta.disabled:hover,
.menu a.cta.disabled:focus-visible {
  background: linear-gradient(180deg, #d9d2a0, #a08b3b);
  filter: none;
  box-shadow: none;
  transform: none;
  outline: none;
}

.zeyada-regular {
  font-family: "Zeyada", cursive;
  font-weight: 400;
  font-style: normal;
}


/* ===============================
   About
================================== */
.about {
  position: relative;
  padding: 4rem 1rem;
  background: radial-gradient(80% 100% at 50% 0%, rgba(212,175,55,.12), transparent 60%);
  color: var(--text);
  text-align: center;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: url("/img/captain_moroni_raises_the_title_of_liberty.jpeg") center/cover no-repeat; */
  filter: brightness(0.4) blur(1px);
  z-index: 0;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center top,
    rgba(212,175,55,0.15) 0%,
    rgba(0,0,0,0.85) 100%);
  z-index: 0;
}

.about > .wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.about h2 {
  font-family: Cinzel, serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--gold);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;

}
.about .grid h3,
.about .grid p {
  text-shadow: 
      0 2px 4px rgba(0,0,0,0.7),
      0 0 2px rgba(0,0,0,0.6);
}
.about > .wrap > p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  opacity: 0.9;
  margin: 0 auto 2rem;
  max-width: 65ch;
}

/* About grid + cards */
.about .grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;  /* mobile first */
}

@media (min-width: 700px) {
  .about .grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.about .grid article {
  position: relative;
  overflow: hidden;

  /* photo tile look */
  min-height: 230px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  color: #fff;

  /* animation you already had */
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.about .grid article:nth-child(1) { animation-delay: .1s; }
.about .grid article:nth-child(2) { animation-delay: .25s; }
.about .grid article:nth-child(3) { animation-delay: .4s; }


/* gradient overlay on top of the photo */
.about .grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
  z-index: 0;
}

/* ensure text sits above overlay */
.about .grid h3,
.about .grid p {
  position: relative;
  z-index: 1;
}

/* hover effect */
.about .grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

.about .grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.about .grid h3 {
  font-family: Cinzel, serif;
  font-size: clamp(1.25rem, 3.5vw, 1.8rem);
  color: var(--highlight1);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.about .grid p {
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.95;
}

/* 1 – Live the Story  */
.about .grid article:nth-child(1) {
  background-image: url("/img/Abinidi.png");
}

/* 2 – Embrace Your Family  */
.about .grid article:nth-child(2) {
  background-image: url("/img/tribe-gathering.png");
}

/* 3 – Deepen Your Faith  */
.about .grid article:nth-child(3) {
  background-image: url("/img/stripling-warriers.png");
}

/* ===== Light camp details section ===== */
.camp-details {
  background: #f8f5ef;
  color: #2a1a0e;
  padding: 2rem 0rem 4.5rem;
}

.camp-details .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* header row with logo */
.camp-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.camp-logo {
  width: 110px;
  height: auto;
}

.camp-header h2 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.camp-tagline {
  margin: 0.3rem 0 0;
  font-size: 0.98rem;
  color: #4b3b2a;
}

/* cards grid */
.camp-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 800px) {
  .camp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .camp-details {
    padding: 4rem 1.5rem 4.5rem;
  }
}

.camp-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.camp-card h3 {
  margin-top: 0;
  font-family: Cinzel, serif;
  font-size: 1.25rem;
}

.camp-card h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.camp-card-img {
  width: 100%;
  margin-top: 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  display: block;
}

/* location + pin */
.camp-location {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.camp-location .pin {
  margin-right: 0.3rem;
}

/* map */
.map-wrap {
  margin-bottom: 0.6rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.map-note {
  font-size: 0.85rem;
  color: #6b5744;
}

/* lists */
.camp-list {
  padding-left: 1rem;
  margin: 0 0 0.8rem;
}

.camp-list li {
  margin-bottom: 0.4rem;
}

.event-date {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: var(--gold);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Optional: subtle staggered fade-up */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===============================
   Generic Layout Helpers
================================== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1rem;
}
@media (min-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* ===============================
   Footer
================================== */
.footer { text-align: center; padding: 2rem; color: #c9c3b2; }

/* ===============================
   Sticky Header & Nav
================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
  gap: .75rem; padding: .6rem 1rem;
}

.brand { display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--text); }
.brand img { width: 30px; height: auto; }
.brand strong { font-family: Cinzel, serif; letter-spacing: .06em; }

/* Menu + toggle */
.menu-toggle {
  margin-left: auto;
  display: inline-flex; flex-direction: column; gap: 4px;
  width: 44px; height: 36px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  color: var(--text); cursor: pointer;
}
.menu-toggle__bar { width: 22px; height: 2px; background: var(--text); display: block; }

.menu {
  display: none; /* mobile hidden by default */
  position: absolute; right: 1rem; top: calc(100% + 8px);
  padding: .6rem; background: rgba(0,0,0,.90); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  min-width: 240px;
}
.menu.is-open { display: grid; gap: 6px; }

.menu a {
  color: var(--text); text-decoration: none; padding: .6rem .7rem; border-radius: 10px;
  white-space: nowrap;
}
.menu a:hover { background: rgba(255,255,255,.20); }

/* Disabled menu links */
.menu a.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Desktop layout */
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .menu {
    position: static;
    display: flex;
    gap: .25rem;
    background: transparent;
    border: 0;
    padding: 0;
    min-width: 0;
    margin-left: auto;
  }
  .menu a { padding: .5rem .75rem; }
  .menu .cta { margin-left: .5rem; }
}

/* Optional: lock background scroll when menu open on mobile */
body.nav-open { overflow: hidden; }

/* Generic page wrapper if you want */
.page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* Inner hero on subpages */
.hero--inner {
  position: relative;
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url('/img/captain_moroni_raises_the_title_of_liberty.jpeg') center/cover no-repeat;
}

.hero--inner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.hero--inner .center {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero--inner h1 {
  font-family: Cinzel, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  color: var(--gold);
  text-shadow: 0 0 10px #000;
}

.hero--inner .tagline {
  margin-bottom: 0.25rem;
}

.hero--inner .event-date {
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Registration section */
.registration {
  padding: 1rem 0rem 5rem;
  background:#f8f5ef;
}

.registration h2 {
  text-align: center;
  font-family: Cinzel, serif;
  margin-bottom: 0.2rem;
  color: var(--gold);
}

.registration .intro {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: center;
  line-height: 1.6;
  color: var(--bg1);
  font-size: 1.2rem;
  font-weight: bold;
}

.registration .grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.registration article {
  background: rgba(0,0,0,0.45);
  padding: 1rem;
  border-radius: 12px;
  backdrop-filter: blur(3px);
}

.registration h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: Cinzel, serif;
  color: var(--lightgold);
  text-shadow: 0 0 4px #000;
}

.registration ul,
.registration ol {
  margin: auto;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.registration .checklist li::marker,
.registration .steps li::marker {
  color: var(--gold);
}

.reg-cta {
  text-align: center;
  margin-top: 3.5rem;
}

.registration .status-tag {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.registration .button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: #000;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}
/* Registration steps block */
.registration-steps {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* Stepper container */
.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
}

/* Each step row */
.stepper__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  position: relative;
  padding-bottom: 1.6rem;
  color: black;
}

/* Vertical gold line */
.stepper__item::before {
  content: "";
  position: absolute;
  left: 1rem; /* aligns with marker center */
  top: 0;
  bottom: -0.4rem;
  width: 2px;
  background: var(--gold)
}

/* Stop the line after the last item */
.stepper__item:last-child::before {
  bottom: 0;
}

/* Gold numbered circle */
.stepper__marker {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Text block */
.stepper__body h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.stepper__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
}

/* Last item spacing tweak */
.stepper__item:last-child {
  padding-bottom: 0;
}

/* Slightly roomier on larger screens */
@media (min-width: 768px) {
  .stepper__item {
    padding-bottom: 1.8rem;
  }

  .stepper__body h4 {
    font-size: 1.05rem;
  }

  .stepper__body p {
    font-size: 0.95rem;
  }
  .registration article {
    padding: 1.8rem;
  }

  .registration {
    padding: 1rem 1.5rem 5rem;
  }
}

.reg-shield-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto 1rem;
  width: 100%;
  max-width: 700px;
}

.reg-shield-divider::before,
.reg-shield-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #d2aa31;
  border-radius: 2px;
}

.shield-icon svg {
  display: block;
}

/* Slightly angled note */
.reg-note {
  /* keep your existing background / shadow / etc */
  transform: rotate(-10deg);
}

/* Plain black handwriting text */

.reg-note p {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  color: #222;          /* plain black/dark ink */
  text-shadow: none;    /* remove gold glow */
  line-height: 1.1;
  margin-top: 25px;
  text-align: right;
}
