/* ==========================================================
   DCBR - Danao City Big Bike Riders
   Main stylesheet
   ========================================================== */

:root {
  --black: #0d0d0d;
  --charcoal: #171717;
  --charcoal-light: #232323;
  --green: #B8843A;
  --green-dark: #0fa373;
  --blue: #d4a94f;
  --blue-dark: #b8863a;
  --white: #f5f5f3;
  --grey: #a8a8a4;
  --border: #2c2c2c;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Rubik', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  background-image: url('../assets/site-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Admin panel gets its own more subdued, professional background -
   distinct from the public site's marketing-flavored one. */
body.admin-body {
  background-image: url('../assets/admin-bg.png');
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--black);
  color: var(--grey);
  font-size: 0.78rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar-social {
  display: flex;
  gap: 8px;
}
.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--grey);
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
}
.top-bar-social a:hover { border-color: var(--green); color: var(--green); }
.top-bar-link { color: var(--grey); transition: color 0.2s ease; }
.top-bar-link:hover { color: var(--green); }

/* ---------- Toast notification ---------- */
.dcbr-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 900;
  max-width: 92%;
  width: 460px;
  background: var(--charcoal-light);
  border: 1px solid var(--green);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 16px 44px 16px 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dcbr-toast.dcbr-toast-error { border-color: #dc3c28; border-left-color: #dc3c28; }
.dcbr-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dcbr-toast strong { color: var(--white); }
.dcbr-toast p { margin: 0; color: var(--grey); font-size: 0.9rem; line-height: 1.5; }
.dcbr-toast-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--grey);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.dcbr-toast-close:hover { color: var(--white); }
@media (max-width: 560px) {
  .dcbr-toast { width: calc(100% - 32px); top: 12px; padding: 14px 40px 14px 16px; }
}

/* ---------- Animated riding motorcycle (decorative, site-wide) ---------- */
.moto-drive-wrap {
  position: fixed;
  bottom: 14px;
  left: -160px;
  width: 150px;
  z-index: 1; /* stays behind real content, which has solid backgrounds */
  color: var(--green);
  opacity: 0.16;
  pointer-events: none;
  animation: motoDrive 20s linear infinite;
  animation-delay: 1.5s;
}
.moto-svg { width: 100%; height: auto; display: block; overflow: visible; }
.moto-bob { animation: motoBob 0.45s ease-in-out infinite alternate; }

.moto-wheel { transform-box: fill-box; transform-origin: center; animation: motoWheelSpin 0.55s linear infinite; }

.moto-puff {
  fill: var(--grey);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: motoPuff 1.6s ease-out infinite;
}
.moto-puff-1 { animation-delay: 0s; }
.moto-puff-2 { animation-delay: 0.45s; }
.moto-puff-3 { animation-delay: 0.9s; }

@keyframes motoDrive {
  0%   { left: -160px; }
  100% { left: 110vw; }
}
@keyframes motoBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-2.5px); }
}
@keyframes motoWheelSpin {
  to { transform: rotate(360deg); }
}
@keyframes motoPuff {
  0%   { opacity: 0.35; transform: translate(0, 0) scale(0.6); }
  100% { opacity: 0; transform: translate(-14px, -10px) scale(1.6); }
}

@media (max-width: 640px) {
  .moto-drive-wrap { width: 110px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .moto-drive-wrap { display: none; }
}

/* ---------- Sound toggle ---------- */
.sound-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sound-toggle:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}
.sound-toggle.playing {
  border-color: var(--green);
  box-shadow: 0 0 0 0 rgba(27,122,77,0.5);
  animation: soundPulse 2s ease-out infinite;
}
@keyframes soundPulse {
  0%   { box-shadow: 0 0 0 0 rgba(27,122,77,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(27,122,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,122,77,0); }
}
@media (max-width: 640px) {
  .sound-toggle { right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 1.15rem; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* allows this flex item to shrink instead of forcing
                   its sibling (the nav toggle) out of the layout */
  flex-shrink: 1;
}
.brand-badge {
  background: var(--green);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-brand .brand-logo {
  height: 60px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  min-width: 0;
}
.brand-text strong {
  font-size: 1.05rem;
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-nav a { color: var(--grey); padding: 6px 2px; border-bottom: 2px solid transparent; transition: 0.2s; position: relative; }
.site-nav a:hover, .site-nav a.active { color: var(--white); border-bottom-color: var(--green); }
.site-nav .nav-link + .nav-link {
  position: relative;
  margin-left: 12px;
}
.site-nav .nav-link + .nav-link::before {
  content: "\2022";
  position: absolute;
  left: -18px;
  top: 6px;
  color: var(--green);
  font-size: 0.7rem;
}
.btn-join-nav {
  background: var(--green) !important;
  color: var(--black) !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-weight: 600;
}
.btn-join-nav:hover { background: var(--blue) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 4px;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(30,143,213,0.35); }
.btn-outline { background: transparent; color: var(--white); }
.btn-outline:hover { background: var(--green); color: var(--black); box-shadow: 0 10px 24px rgba(27,122,77,0.35); }

/* ---------- Hero (slider) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  text-align: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  overflow: hidden;
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }

/* Zooming background layer - separated from the overlay/content so only
   the photo (or pattern) itself pans and zooms, never the text. */
.hero-slide-bg {
  position: absolute;
  inset: -30px; /* extra bleed so the zoomed edges never show a gap */
  background: repeating-linear-gradient(135deg, #1a1a1a 0 2px, #151515 2px 40px);
  background-size: cover;
  background-position: center;
  animation: heroZoom 6s ease-in-out infinite alternate;
}
.hero-slide:nth-of-type(2) .hero-slide-bg { background: repeating-linear-gradient(135deg, #17241d 0 2px, #101915 2px 40px); background-size: cover; background-position: center; }
.hero-slide:nth-of-type(3) .hero-slide-bg { background: repeating-linear-gradient(135deg, #131c22 0 2px, #0e1519 2px 40px); background-size: cover; background-position: center; }
.hero-slide-bg.has-photo { background-color: #111; }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.55) 45%, rgba(13,13,13,0.88) 100%),
    radial-gradient(ellipse at center, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.6) 100%);
}

/* Soft fade at the very bottom of the hero so the photo blends into the
   page instead of cutting off on a hard edge. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(13,13,13,0) 0%, var(--black) 100%);
  z-index: 5;
  pointer-events: none;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero .kicker {
  color: var(--green);
  font-family: var(--font-head);
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.hero h1 span { color: var(--green); }
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--grey);
  font-size: 1.1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.hero-nav:hover { background: var(--green); border-color: var(--green); color: var(--black); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--grey);
  cursor: pointer;
  padding: 0;
}
.hero-dot.active { background: var(--green); border-color: var(--green); }

@media (max-width: 640px) {
  .hero-nav { width: 38px; height: 38px; font-size: 1.6rem; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--charcoal); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .kicker {
  color: var(--green);
  font-family: var(--font-head);
  letter-spacing: 3px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--grey); }

/* ---------- Stats ---------- */
.stats-band {
  position: relative;
  padding: 46px 0;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-bar > div {
  position: relative;
  padding: 6px 10px;
}
.stats-bar > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.stats-bar .stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1.1;
}
.stats-bar .stat-label {
  color: var(--grey);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}
.card:hover::before { transform: scaleX(1); }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(27, 122, 77, 0.15);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 0.95rem; }

/* ---------- Event cards ---------- */
.event-card {
  display: flex;
  gap: 22px;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.event-card-clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.event-card-clickable:hover {
  border-left-color: var(--blue);
  border-color: var(--blue);
}
.event-date-block {
  background: linear-gradient(160deg, var(--black), #000);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  text-align: center;
  min-width: 90px;
  height: fit-content;
}
.event-date-block .day { font-family: var(--font-head); font-size: 1.6rem; color: var(--green); }
.event-date-block .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); }
.event-body { flex: 1; min-width: 220px; }
.event-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.event-meta { color: var(--green); font-size: 0.85rem; margin-bottom: 8px; }
.event-body p { color: var(--grey); font-size: 0.95rem; }
.badge-past {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--border);
  color: var(--grey);
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-photos {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  margin-left: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.event-card-clickable:hover .badge-photos {
  background: var(--green);
  color: var(--black);
}

/* ---------- Tabs (events) ---------- */
.tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  color: var(--grey);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
}
.tab-btn.active, .tab-btn:hover { background: var(--green); color: var(--black); border-color: var(--green); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2a, #151515);
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
}
.gallery-item::before {
  content: "🏍";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-55%);
  font-size: 2.4rem;
  opacity: 0.25;
}
.gallery-item.has-photo {
  background-size: cover;
  background-position: center;
}
.gallery-item.has-photo::before {
  display: none;
}
.gallery-cap {
  position: relative;
  width: 100%;
  padding: 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  font-size: 0.8rem;
  color: var(--white);
}

/* ---------- Officers ---------- */
.officer-card { text-align: center; }
.officer-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--black);
  margin: 0 auto 16px;
}
.officer-avatar-photo {
  background-size: cover;
  background-position: center;
  border: 2px solid var(--border);
}
.officer-card h3 { font-size: 1.05rem; }
.officer-role { color: var(--green); font-size: 0.85rem; margin: 6px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.officer-bike { color: var(--grey); font-size: 0.85rem; }

/* ---------- Values / timeline ---------- */
.timeline { border-left: 2px solid var(--green); margin-left: 12px; }
.timeline-item { position: relative; padding: 0 0 34px 30px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--black);
}
.timeline-item h4 { color: var(--green); font-size: 0.95rem; margin-bottom: 4px; }
.timeline-item p { color: var(--grey); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--grey); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--grey); margin-top: 6px; }

.alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.alert-success { background: rgba(46, 160, 67, 0.15); border: 1px solid #2ea043; color: #7ee2a8; }
.alert-error { background: rgba(220, 60, 40, 0.15); border: 1px solid #dc3c28; color: #ff9b8a; }

/* ---------- Requirements list ---------- */
.req-list { list-style: none; }
.req-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--grey);
  border-bottom: 1px solid var(--border);
}
.req-list li::before {
  content: "✔";
  color: var(--green);
  position: absolute;
  left: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--blue), var(--green));
  color: var(--black);
  text-align: center;
  padding: 64px 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 40px);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { margin-bottom: 26px; font-weight: 500; }
.cta-band .btn-outline { border-color: var(--black); color: var(--black); }
.cta-band .btn-outline:hover { background: var(--black); color: var(--green); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
}
.contact-info-card .info-line { display: flex; gap: 12px; margin-bottom: 18px; color: var(--grey); }
.contact-info-card .info-line strong { color: var(--white); display: block; }
.map-placeholder {
  margin-top: 24px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 40px 20px;
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--charcoal); border-top: 1px solid var(--border); box-shadow: 0 -1px 40px rgba(27,122,77,0.12); }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--green));
  background-size: 200% 100%;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 20px 40px;
}
.footer-brand { margin-bottom: 16px; }
.footer-col p { color: var(--grey); font-size: 0.9rem; }
.footer-col h4 { font-size: 1rem; margin-bottom: 18px; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { color: var(--grey); font-size: 0.9rem; margin-bottom: 10px; }
.footer-links a:hover { color: var(--green); }
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-links a {
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
}
.social-links a:hover { border-color: var(--green); color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, #171717 0 2px, #131313 2px 40px);
}
.page-banner .kicker { color: var(--green); font-family: var(--font-head); letter-spacing: 3px; font-size: 0.8rem; }
.page-banner h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 10px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* The full desktop nav (logo + 6 links + Join button) needs roughly
     800px of width - collapsing it here (instead of only below 720px)
     keeps tablets in portrait (iPads, most Android tablets at ~768px)
     from showing a broken, overflowing nav bar. */
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 3px solid var(--green);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .site-nav .nav-link + .nav-link { margin-left: 0; }
  .site-nav .nav-link + .nav-link::before { content: none; }
  .btn-join-nav { margin: 10px 20px; text-align: center; }
}

@media (max-width: 720px) {
  .top-bar-inner { flex-direction: column; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats-bar > div::after { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .event-card { flex-direction: column; }

  .hero { min-height: 520px; }
  .hero-slide { padding: 90px 18px 80px; }
  .hero p.lead { font-size: 1rem; }
  .form-wrap { padding: 26px 20px; }
  .contact-info-card { padding: 22px; }
}

@media (max-width: 420px) {
  .hero { min-height: 460px; }
  .hero-slide { padding: 76px 16px 70px; }
  .stats-bar .stat-num { font-size: 2.1rem; }
  .brand-text { display: none; }
  .btn { padding: 12px 20px; font-size: 0.82rem; }
}
