/* ============================================================
   Eastern Ohio Cruise Club — matched to the EOCC logo
   Palette: black #111, red #C4161C, white #fff, gray accents
   ============================================================ */

:root {
  --red: #c4161c;
  --red-dark: #9e1116;
  --black: #111214;
  --charcoal: #1b1c1f;
  --gray: #6b6f76;
  --light: #f5f5f4;
  --white: #ffffff;
  --font-display: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); }
.btn-outline-dark { border: 2px solid var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }

.accent { color: var(--red); }
.dark { color: var(--black); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 18, 20, 0.97);
  border-bottom: 3px solid var(--red);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: var(--white);
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.nav-title em { color: var(--red); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(196, 22, 28, 0.25), transparent 55%),
    linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

/* subtle road stripe across the bottom of the hero */
.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg,
      var(--white) 0 40px,
      transparent 40px 80px) center / 100% 4px no-repeat,
    var(--red);
}

.hero-inner { position: relative; }

.hero-logo {
  width: min(320px, 65vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.hero-sub {
  max-width: 640px;
  margin: 1.2rem auto 2rem;
  font-size: 1.1rem;
  color: #d4d4d3;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }

.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-lead { color: #b8b9bb; }

.section-red {
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.section-red .section-lead { color: #ffe0e1; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.section-lead {
  color: var(--gray);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-red .section-lead { margin-left: auto; margin-right: auto; }

.empty-note {
  color: var(--gray);
  font-style: italic;
}
.section-dark .empty-note { color: #9a9b9e; }

/* ---------- About cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--light);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  padding: 2rem 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.card-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }

.card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.card p { color: #3f4147; font-size: 0.98rem; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 1.2rem; }

.event {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: var(--charcoal);
  border: 1px solid #2c2d31;
  border-left: 5px solid var(--red);
  border-radius: 6px;
  padding: 1.3rem 1.6rem;
  flex-wrap: wrap;
}

.event-date {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  min-width: 84px;
  line-height: 1.15;
}
.event-date .month { display: block; font-size: 0.85rem; letter-spacing: 0.1em; }
.event-date .day { display: block; font-size: 1.7rem; font-weight: 700; }

.event-body { flex: 1; min-width: 220px; }

.event-body h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}

.event-meta {
  color: #b8b9bb;
  font-size: 0.92rem;
  margin: 0.15rem 0 0.4rem;
}
.event-meta .dot { margin: 0 0.5rem; color: var(--red); }

.event-desc { color: #d4d4d3; font-size: 0.97rem; }

/* ---------- Gallery ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.photo:hover img { transform: scale(1.05); }

.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-size: 0.85rem;
  padding: 1.4rem 0.8rem 0.6rem;
}

/* ---------- Videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #2c2d31;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
  color: #d4d4d3;
}

/* ---------- Links ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.link-card {
  display: block;
  text-decoration: none;
  background: var(--light);
  border: 1px solid #e4e4e2;
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.link-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.link-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--black);
}
.link-card p { color: var(--gray); font-size: 0.9rem; margin-top: 0.25rem; }
.link-card .link-url { color: var(--red); font-size: 0.82rem; word-break: break-all; }

/* ---------- Join ---------- */
.join-inner { max-width: 720px; }
.join-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #9a9b9e;
  text-align: center;
  padding: 2.5rem 0;
  border-top: 3px solid var(--red);
}

.footer-logo {
  height: 64px;
  width: 64px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: var(--white);
}

.footer-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-top: 0.3rem;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    padding: 1.2rem 0 1.6rem;
    border-bottom: 3px solid var(--red);
    gap: 1.1rem;
  }
  .nav-links.open { display: flex; }

  .nav-title { font-size: 0.9rem; }
  .section { padding: 3.5rem 0; }
}
