/* ============================================
   LENZIE VELO — SHARED STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --orange:    #E8500A;
  --red:       #C01E1E;
  --sky:       #7DC8E8;
  --near-black:#0D0D0D;
  --off-white: #F5F2ED;
  --white:     #FFFFFF;
  --light-grey:#ECEAE6;
  --mid-grey:  #888888;
  --text:      #1A1A1A;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-label:   'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --max-w: 1200px;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--near-black);
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Utility ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--grey { background: var(--off-white); }
.section--dark { background: var(--near-black); color: var(--off-white); }
.section--dark h2, .section--dark h3 { color: var(--off-white); }

.label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}
.section__header { text-align: center; margin-bottom: 56px; }
.section__header p { color: var(--mid-grey); max-width: 560px; margin: 12px auto 0; font-size: 1rem; }

.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: #c94409; border-color: #c94409; text-decoration: none; }
.btn--outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: var(--white); text-decoration: none; }
.btn--white { background: var(--white); color: var(--orange); border-color: var(--white); }
.btn--white:hover { background: var(--off-white); text-decoration: none; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav__logo img { max-height: 60px; width: auto; display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  text-decoration: none;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a.active { color: var(--orange); }
.nav__links .btn { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ── */
.site-footer {
  background: var(--near-black);
  color: var(--off-white);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img { max-height: 60px; width: auto; display: block; margin-bottom: 16px; }
.footer__brand p { font-size: 0.9rem; color: #aaa; line-height: 1.6; }
.footer__col h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 10px;
  transition: color 0.2s;
  text-decoration: none;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
}
.footer__bottom a { color: #aaa; }
.footer__bottom a:hover { color: var(--white); }

.footer__affiliation {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-bottom: 24px;
}
.affiliation-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.affiliation-link:hover { opacity: 1; text-decoration: none; }
.affiliation-link img {
  height: 32px;
  width: auto;
  border-radius: 5px;
  display: block;
}
.affiliation-link span {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}

/* About page affiliation block */
.affiliation-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--light-grey);
  max-width: 420px;
}
.affiliation-block img { height: 44px; width: auto; border-radius: 5px; flex-shrink: 0; }
.affiliation-block__text { font-size: 0.88rem; color: #555; line-height: 1.4; }
.affiliation-block__text strong { display: block; color: var(--near-black); font-size: 0.95rem; margin-bottom: 2px; }
.affiliation-block a { color: var(--orange); font-weight: 600; font-size: 0.82rem; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--near-black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.2) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__logo { max-height: 60px; width: auto; display: block; margin-bottom: 32px; }
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
}
.hero__title span { color: var(--orange); }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--near-black);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero .label { justify-content: center; display: flex; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 16px auto 0; }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light-grey);
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 10px; font-size: 1.5rem; }
.card__body p  { color: var(--mid-grey); font-size: 0.95rem; flex: 1; margin-bottom: 20px; }
.card__icon {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* ── RIDES SCHEDULE ── */
.rides-table { width: 100%; border-collapse: collapse; }
.rides-table th {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--light-grey);
}
.rides-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.95rem;
  vertical-align: middle;
}
.rides-table tr:last-child td { border-bottom: none; }
.rides-table tr:hover td { background: var(--off-white); }
.ride-day {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.ride-time {
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--near-black);
}
.ride-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--sky);
  color: var(--near-black);
}
.ride-badge--special { background: var(--red); color: var(--white); }
.no-drops-banner {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}
.no-drops-banner__icon { font-size: 2rem; flex-shrink: 0; }
.no-drops-banner h3 { color: var(--white); margin-bottom: 6px; font-size: 1.6rem; }
.no-drops-banner p { margin: 0; font-size: 0.95rem; opacity: 0.92; }

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.value-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.8rem; margin-bottom: 10px; color: var(--orange); }
.value-card p { font-size: 0.92rem; color: var(--mid-grey); margin: 0; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(13,13,13,0.35); }
.gallery-item__overlay span {
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay span { opacity: 1; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 64px rgba(0,0,0,0.5);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 20px; font-size: 1.8rem; }
.contact-info p { color: var(--mid-grey); font-size: 0.95rem; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail a { color: var(--text); font-weight: 500; }
.contact-detail a:hover { color: var(--orange); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form__success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  font-size: 1rem;
}
.form__success.show { display: block; }

/* ── SCHEDULE SNAPSHOT (homepage) ── */
.schedule-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.snapshot-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.snapshot-item .ride-day { margin-bottom: 4px; }
.snapshot-item .ride-name { font-weight: 600; font-size: 0.95rem; }
.snapshot-item .ride-time { font-size: 0.85rem; color: var(--mid-grey); margin-top: 2px; }

/* ── EVENTS ── */
.event-featured {
  background: linear-gradient(135deg, var(--near-black) 0%, #1a1a1a 100%);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  margin-bottom: 64px;
}
.event-featured__img {
  position: relative;
  overflow: hidden;
}
.event-featured__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.event-featured__flag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.event-featured__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-featured__body .label { color: var(--sky); }
.event-featured__body h2 { color: var(--white); margin-bottom: 16px; }
.event-featured__body p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 28px; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-card__date {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 16px;
}
.event-card__date .month {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.event-card__date .day {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
}
.event-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event-card__body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.event-card__body p { font-size: 0.9rem; color: var(--mid-grey); flex: 1; margin-bottom: 18px; }

/* ── ABOUT ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-intro__img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.about-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.about-stat__num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
}
.about-stat__label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px 24px 24px; border-bottom: 1px solid var(--light-grey); gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav__links.open { display: flex; }
  .nav__links .btn { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav__toggle { display: flex; }
  .site-header { position: relative; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .event-featured { grid-template-columns: 1fr; }
  .event-featured__img { height: 220px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro__img { max-height: 320px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 80vh; }
  .hero__logo { height: 64px; }
  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .event-featured__body { padding: 28px 24px; }
  .no-drops-banner { flex-direction: column; padding: 20px 24px; }
  .rides-table thead { display: none; }
  .rides-table tr { display: block; margin-bottom: 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
  .rides-table td { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--light-grey); font-size: 0.9rem; }
  .rides-table tr:hover td { background: transparent; }
}
