/* ============================================================
   Throttlers Car Club — shared stylesheet
   Modern & sleek · dark theme with gold accent
   Brand colors: gold #FAD73D, near-black #0F0500

   >>> BRAND COLORS live in the :root block below.
       Change a value there and the whole site updates. <<<
   ============================================================ */

:root {
  /* ---- Brand colors ---- */
  --gold:      #fad73d;   /* primary accent — buttons, links, highlights */
  --gold-dk:   #d8b628;   /* darker gold for hover states */
  --gold-soft: rgba(250, 215, 61, 0.12);

  /* ---- Dark neutrals ---- */
  --black:     #0f0500;   /* deepest background (your brand black) */
  --bg:        #0f0500;   /* page background */
  --surface:   #191009;   /* cards / panels */
  --surface-2: #221710;   /* raised panels */
  --text:      #f5f1e8;   /* main text */
  --text-soft: #b7a992;   /* secondary text */
  --line:      rgba(245, 241, 232, 0.10);  /* borders / dividers */
  --shadow:    rgba(0, 0, 0, 0.55);

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --maxw: 1140px;
}

/* --- Reset-ish --------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dk); }
::selection { background: var(--gold); color: var(--black); }

/* --- Layout helpers --------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }

/* --- Typography ------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.9em;
}

.heading { max-width: 640px; margin-bottom: 56px; }
.heading.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  color: var(--black);
  background: var(--gold);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--black); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(250,215,61,0.18); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* --- Site header / navigation ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 5, 0, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  color: var(--text);
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(250,215,61,0.10) 0%, transparent 55%),
    radial-gradient(120% 120% at 50% 0%, var(--surface-2) 0%, var(--black) 70%);
  overflow: hidden;
}
/* Real background photo? add to the .hero tag:
   style="background-image: linear-gradient(rgba(15,5,0,0.62),rgba(15,5,0,0.82)), url('images/your-photo.jpg'); background-size:cover; background-position:center;" */
.hero .container { position: relative; z-index: 1; max-width: 840px; }
.hero-logo { width: clamp(120px, 20vw, 170px); height: auto; margin: 0 auto 28px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; color: var(--text-soft); max-width: 620px; margin: 0 auto 32px; }
.hero .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Cards ------------------------------------------------ */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px var(--shadow); border-color: rgba(250,215,61,0.4); }
.card .thumb { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card .meta { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }
.card .readmore { margin-top: auto; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.card .readmore:hover { gap: 12px; color: var(--gold); }

/* Feature cards (no image) */
.feature { padding: 32px 30px; }
.feature .num { font-family: var(--font-head); font-size: 0.9rem; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 16px; }

/* --- Two-column split (About) ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .ph { width: 100%; border-radius: var(--radius); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* --- Events ----------------------------------------------- */
.event {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.event:hover { box-shadow: 0 16px 38px var(--shadow); transform: translateY(-2px); border-color: rgba(250,215,61,0.4); }
.event .date {
  text-align: center;
  background: var(--gold);
  color: var(--black);
  border-radius: 12px;
  padding: 12px 0;
}
.event .date .month { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.8rem; }
.event .date .day { font-family: var(--font-head); font-size: 2.2rem; line-height: 1.1; font-weight: 700; color: var(--black); }
.event .date .year { font-size: 0.78rem; opacity: 0.7; }
.event h3 { margin-bottom: 6px; }
.event .where { color: var(--text-soft); font-size: 0.95rem; margin: 0; }
.event .where strong { color: var(--text); font-weight: 600; }
@media (max-width: 640px) {
  .event { grid-template-columns: 84px 1fr; }
  .event .cta { grid-column: 1 / -1; }
  .event .cta .btn { width: 100%; justify-content: center; }
}

/* --- Gallery ---------------------------------------------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery img, .gallery .ph { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,5,0,0.9));
  color: #fff; padding: 34px 16px 14px; font-size: 0.9rem; font-weight: 500;
}

/* --- Blog article ----------------------------------------- */
.article { max-width: 720px; margin: 0 auto; }
.article .meta { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; }
.article > p { line-height: 1.75; color: var(--text); }
.article img, .article .ph { margin: 32px 0; border-radius: var(--radius); }
.article blockquote {
  border-left: 3px solid var(--gold);
  margin: 32px 0; padding: 4px 26px;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: #fff;
}

/* --- Footer ----------------------------------------------- */
.site-footer { background: #0a0300; color: var(--text); padding: 56px 24px 40px; text-align: center; border-top: 1px solid var(--line); }
.site-footer .brand-f { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; }
.site-footer p { color: var(--text-soft); font-size: 0.92rem; margin: 8px 0; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #fff; }

/* --- Placeholder styling (before real photos) ------------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  color: var(--text-soft);
  font-family: var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600;
  border: 1px dashed rgba(250,215,61,0.25);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
  .card:hover, .event:hover, .btn:hover { transform: none; }
}
