/* ==========================================================================
   FaithFest 2026 — stylesheet
   Design tokens ported from faithfest_html_assets/design/design-tokens.css
   ========================================================================== */

:root {
  --ff-ink: #090B0E;
  --ff-cream: #F7F0E5;
  --ff-paper: #FFF9EF;
  --ff-red: #F3184E;
  --ff-yellow: #FFD31A;
  --ff-blue: #0BA5E9;
  --ff-teal: #0FB6B0;
  --ff-purple: #8C43B4;
  --ff-lime: #A6D425;
  --ff-white: #FFFFFF;

  --ff-radius-sm: 12px;
  --ff-radius-md: 20px;
  --ff-radius-lg: 32px;
  --ff-shadow: 0 18px 45px rgba(0, 0, 0, .20);

  --ff-font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --ff-font-body: "Inter", Arial, sans-serif;
  --ff-font-accent: "Permanent Marker", "Comic Sans MS", cursive;

  --ff-content-width: 1180px;
  --ff-header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--ff-font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--ff-ink);
  background: var(--ff-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-font-display); font-weight: 400; letter-spacing: .01em; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--ff-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  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: 12px; top: -60px;
  background: var(--ff-red);
  color: var(--ff-white);
  padding: 10px 18px;
  border-radius: var(--ff-radius-sm);
  font-weight: 700;
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--ff-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--ff-red);
  color: var(--ff-white);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-outline {
  background: var(--ff-white);
  color: var(--ff-ink);
  border-color: var(--ff-white);
}
.btn-outline:hover {
  background: var(--ff-ink);
  color: var(--ff-white);
  border-color: var(--ff-ink);
}

.btn-dark {
  background: var(--ff-ink);
  color: var(--ff-white);
}
.btn-dark:hover { filter: brightness(1.3); }
.btn-dark:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

section[id], footer[id] {
  scroll-margin-top: calc(var(--ff-header-h) + 16px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: var(--ff-header-h);
  display: flex;
  align-items: center;
  background: rgba(9, 11, 14, .45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 11, 14, .96);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__mark img { height: 46px; width: auto; display: block; }

.nav-primary { display: flex; }
.nav-primary__list { display: flex; align-items: center; gap: 30px; }
.nav-primary__link {
  color: var(--ff-white);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.nav-primary__link:hover { border-color: rgba(255, 255, 255, .5); }
.nav-primary__link.is-active { color: var(--ff-yellow); border-color: var(--ff-yellow); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn-primary { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: var(--ff-radius-sm);
  color: var(--ff-white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--ff-ink);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: var(--ff-radius-sm);
  color: var(--ff-white);
  cursor: pointer;
}
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu__link {
  color: var(--ff-white);
  font-family: var(--ff-font-display);
  font-size: 34px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu__cta { margin-top: 32px; align-self: stretch; justify-content: center; }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--ff-header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,11,14,.88) 0%, rgba(9,11,14,.66) 38%, rgba(9,11,14,.18) 68%, rgba(9,11,14,.05) 100%);
}

.hero__content {
  position: relative;
  width: 100%;
  padding: 64px 0 72px;
}

.hero__headline {
  margin: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45));
}
.hero__headline img {
  height: clamp(64px, 9vw, 128px);
  width: auto;
  display: block;
}

.hero__tagline {
  color: var(--ff-white);
  font-family: var(--ff-font-display);
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: .01em;
  line-height: 1.2;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  max-width: 560px;
  margin-top: 14px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}


/* ==========================================================================
   Event info bar
   ========================================================================== */
.event-info {
  background: var(--ff-cream);
  border-bottom: 1px solid rgba(9, 11, 14, .06);
}
.event-info .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 48px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.event-info__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.event-info__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ff-white);
}
.event-info__item--date .event-info__icon { background: var(--ff-red); }
.event-info__item--time .event-info__icon { background: var(--ff-blue); }
.event-info__item--venue .event-info__icon { background: var(--ff-red); }
.event-info__icon svg { width: 22px; height: 22px; }
.event-info__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(9,11,14,.55); }
.event-info__value { display: block; font-weight: 700; font-size: 16px; }

/* ==========================================================================
   Section heading helper
   ========================================================================== */
.section { padding: 84px 0; }
.section-heading {
  font-family: var(--ff-font-display);
  font-size: clamp(34px, 5vw, 52px);
  text-align: center;
  margin-bottom: 44px;
}
.section-heading mark {
  background: none;
  color: var(--ff-yellow);
}
.section-heading--left { text-align: left; margin-bottom: 20px; }
.underline-mark {
  position: relative;
  display: inline-block;
}
.underline-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 10px;
  background-image: url("../assets/backgrounds/brush-yellow.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ==========================================================================
   What to expect
   ========================================================================== */
.expect { background: var(--ff-white); }
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.expect-card { display: flex; flex-direction: column; }
.expect-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.expect-card__media img { width: 100%; height: 100%; object-fit: cover; }
.expect-card:hover .expect-card__media { transform: translateY(-4px); box-shadow: var(--ff-shadow); }
.expect-card__title {
  margin-top: 30px;
  font-family: var(--ff-font-display);
  font-size: 19px;
  letter-spacing: .02em;
}

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--ff-red); color: var(--ff-white); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.about__heading { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 18px; }
.about__copy { font-size: 16px; line-height: 1.7; max-width: 480px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { text-align: center; }
.value { transition: transform .22s ease; }
.value:hover { transform: translateY(-4px); }
.value__icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border: 2px solid var(--ff-yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ff-yellow);
  transition: background .22s ease, color .22s ease;
}
.value__icon svg { width: 24px; height: 24px; }
.value:hover .value__icon { background: var(--ff-yellow); color: var(--ff-red); }
.value__title { font-family: var(--ff-font-display); font-size: 19px; letter-spacing: .04em; margin-bottom: 6px; }
.value__desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { background: var(--ff-ink); color: var(--ff-white); padding-bottom: 0; }
.gallery .section-heading { color: var(--ff-white); }
.gallery-strip {
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
}
.gallery-strip__item {
  display: block;
  overflow: hidden;
}
.gallery-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}
.gallery-strip__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ff-blue); color: var(--ff-white); position: relative; overflow: hidden; }
.contact__heading { color: var(--ff-white); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--ff-cream);
  color: var(--ff-ink);
  border-radius: var(--ff-radius-lg);
  padding: 34px;
  box-shadow: var(--ff-shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  border-radius: var(--ff-radius-sm);
  border: 2px solid rgba(9, 11, 14, .14);
  background: var(--ff-white);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ff-blue); }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.field-checkbox input {
  width: 20px; height: 20px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-status {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  min-height: 20px;
}
.form-status[data-state="success"] { color: #0a7a34; }
.form-status[data-state="error"] { color: var(--ff-red); }

.contact-side {
  background: var(--ff-yellow);
  color: var(--ff-ink);
  border-radius: var(--ff-radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.contact-side__row { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.contact-side__row svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-side__big {
  font-family: var(--ff-font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ff-ink); color: rgba(255,255,255,.82); }
.site-footer .container { padding-top: 64px; padding-bottom: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
}
.footer-brand__mark img { height: 40px; width: auto; display: block; }
.footer-brand__oyb { border-radius: var(--ff-radius-sm); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-heading {
  color: var(--ff-white);
  font-family: var(--ff-font-display);
  font-size: 16px;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-social { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, transform .18s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--ff-white); }
.footer-info li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer-info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--ff-yellow); }

.footer-bottom { background: var(--ff-red); }
.footer-bottom .container {
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--ff-white);
}

@media (max-width: 768px) {
  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ff-red);
  color: var(--ff-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ff-white);
  box-shadow: var(--ff-shadow), 0 0 0 1px rgba(9, 11, 14, .15);
  z-index: 400;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-fab:hover { transform: translateY(-4px); background: var(--ff-ink); }
.whatsapp-fab svg { width: 30px; height: 30px; }

@media (max-width: 480px) {
  .whatsapp-fab { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
}

@media (max-width: 992px) {
  .nav-primary, .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__headline { display: flex; justify-content: center; }
  .hero__tagline { text-align: center; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about__copy { margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact__heading { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { min-height: 620px; }
  .hero__content { padding: 40px 0 40px; }
  .event-info .container { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .expect-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn-dark { width: 100%; justify-content: center; }
  .contact-side { align-items: center; text-align: center; }
  .contact-side__row { justify-content: center; }
  .gallery-strip { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .gallery-strip img { height: 180px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand__mark { align-self: center; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-info li {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .expect-grid { grid-template-columns: 1fr; }
  .contact-form, .contact-side { padding: 24px; }
}
