/* =========================================================
   Tech Guys BBQ — Site Styles
   ---------------------------------------------------------
   To re-theme the site, edit the variables in :root below.
   Everything else reads from them.
   ========================================================= */

:root {
  /* Brand colors */
  --color-bg:        #141110;   /* page background (charcoal) */
  --color-surface:   #1f1a17;   /* cards, header */
  --color-border:    #3a2f29;
  --color-text:      #f3ece6;   /* main text */
  --color-muted:     #b5a89e;   /* secondary text */
  --color-accent:    #e8622c;   /* ember orange */
  --color-accent-2:  #f2a541;   /* flame gold */

  /* Typography */
  --font-display: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max-width: 1080px;
  --radius: 10px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

a { color: var(--color-accent-2); }
a:hover { color: var(--color-accent); }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); }
.logo img { width: 40px; height: 40px; }
.logo span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 6px;
}
.nav a:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }
.nav a[aria-current="page"] { color: var(--color-accent-2); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(80px, 16vw, 160px) 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(232,98,44,0.45), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(242,165,65,0.18), transparent 70%),
    var(--color-bg);
}
.hero .tagline { color: var(--color-muted); font-size: 1.2rem; max-width: 520px; margin: 0 auto 2em; }
.hero .accent { color: var(--color-accent); }

/* Page header (subpages) */
.page-header {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--color-border);
  background: radial-gradient(ellipse at 50% 140%, rgba(232,98,44,0.25), transparent 65%);
}
.page-header p { color: var(--color-muted); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-accent);
  margin: 4px;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #cf5323; color: #fff; }
.btn-outline { color: var(--color-text); }
.btn-outline:hover { background: var(--color-accent); color: #fff; }

/* ---------- Sections & Cards ---------- */
.section { padding: 56px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .icon { font-size: 1.8rem; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .role { color: var(--color-accent-2); font-weight: 600; margin-bottom: 0.5em; }

/* ---------- Awards list ---------- */
.award-year { margin-top: 40px; color: var(--color-accent-2); }
.award-list { list-style: none; padding: 0; margin: 0; }
.award-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.award-list .event { font-weight: 600; }
.award-list .category { color: var(--color-muted); font-size: 0.95rem; }
.badge {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-2);
  white-space: nowrap;
}
.badge.gold { background: var(--color-accent); color: #fff; }

/* ---------- Contact ---------- */
.contact-info { margin: 0 0 28px; }
.contact-info dt { color: var(--color-muted); font-size: 0.9rem; margin-top: 16px; }
.contact-info dd { margin: 0; font-weight: 600; font-size: 1.15rem; }
.contact-info + .btn { margin-left: 0; }

/* ---------- Team bios ---------- */
.card .bio { min-height: 4.8em; color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .site-header .container { justify-content: center; }
  .nav { justify-content: center; gap: 0; }
  .nav a { padding: 6px 8px; font-size: 0.9rem; }
}
