/* ==========================================================================
   H.O.G. Clearwater Chapter #7639 — Central Stylesheet
   All pages link this single file. Do not fork per-page stylesheets.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --color-black: #111111;
  --color-orange: #F76900;
  --color-white: #FFFFFF;
  --color-grey-100: #F5F5F5;
  --color-grey-300: #D9D9D9;
  --color-grey-600: #5A5A5A;
  --color-grey-800: #262626;

  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --max-width: 1200px;
  --radius: 4px;
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
img, picture, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-black);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 3rem;
}

/* ---- Sponsor credit bar ---- */
.sponsor-bar {
  background: var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-300);
  padding-block: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-grey-600);
}

.sponsor-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.sponsor-bar a {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sponsor-bar a:hover { color: var(--color-orange); }

@media (max-width: 480px) {
  .sponsor-bar .sponsor-tagline { display: none; }
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-black);
  color: var(--color-white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  max-width: 1440px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header .brand img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  padding: 0.6rem 0.75rem;
  margin-right: -0.75rem;
  min-height: 44px;
  min-width: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-grey-300);
  transition: color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-orange);
}

@media (max-width: 1300px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-black);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.open {
    max-height: 400px;
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--color-grey-800);
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-primary:hover { background: #d95d00; }

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.85) 100%),
    linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 55%, #F76900 140%);
  background-size: cover;
  background-position: center;
}

.hero-content {
  padding-block: 3rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.hero-tagline {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--color-grey-300);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-grey-800), var(--color-black));
}

.card-body { padding: 1.25rem; }

.card-body h3 { margin-bottom: 0.4rem; }

.card-body p {
  color: var(--color-grey-600);
  font-size: 0.95rem;
}

/* ---- Sections on black ---- */
.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section-dark p { color: var(--color-grey-300); }

/* Headings inherit the dark background's white text; the global h1-h4
   rule forces black by default and would otherwise render invisible here. */
.hero h1, .hero h2, .hero h3, .hero h4,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-white);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-black);
  color: var(--color-grey-300);
  padding-block: 2.5rem 1.5rem;
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--color-orange); }

.site-footer .footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.site-footer .footer-bottom {
  border-top: 1px solid var(--color-grey-800);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-grey-600);
}

/* ---- Forms ---- */
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius);
  font: inherit;
  margin-bottom: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--color-grey-600);
}

.password-toggle:hover { color: var(--color-black); }

/* ---- Tier cards (sponsorship, membership) ---- */
.tier-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.tier-card.tier-featured {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-card);
}

.tier-card .tier-name {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tier-card ul {
  text-align: left;
  margin: 1.25rem 0 0;
}

.tier-card li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--color-grey-600);
  border-top: 1px solid var(--color-grey-100);
}

.tier-card li:first-child { border-top: none; }

/* ---- Past events photo strip (home, outings) ---- */
.past-events-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.25rem 0 1rem;
  margin-top: 2rem;
}

.past-events-strip img {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  scroll-snap-align: start;
}

/* ---- Progress bar (fundraising) ---- */
.progress-bar {
  width: 100%;
  height: 14px;
  background: var(--color-grey-100);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-orange);
  border-radius: 999px;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
