/* =========================================================
   Dad's Garage Productions — stylesheet
   Palette pulled from the channel logo: charcoal/near-black
   background, warm amber-orange gradient, deep red accent,
   steel gray for structure.
   ========================================================= */

:root {
  --bg: #14100d;
  --bg-alt: #1d1712;
  --surface: #241c15;
  --steel: #4a443c;
  --steel-light: #6e675c;
  --amber: #f2a53c;
  --amber-deep: #d9711f;
  --red: #bb2f22;
  --text: #f4eee2;
  --text-muted: #b8ac9a;

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

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-deep); }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin: 0 0 0.4em;
  font-weight: 500;
}

.section-sub {
  max-width: 60ch;
  margin-top: -0.5em;
}

/* Focus visibility, kept consistent everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: #1a1208;
}

.btn-primary:hover {
  color: #1a1208;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--steel-light);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ===================== HEADER ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--steel);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-mark {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--amber); }

.nav-cta {
  padding: 0.5em 1.1em;
  border: 2px solid var(--amber);
  border-radius: 3px;
  color: var(--amber) !important;
}

.nav-cta:hover {
  background: var(--amber);
  color: #1a1208 !important;
}

@media (max-width: 620px) {
  .site-nav { gap: 14px; font-size: 0.85rem; }
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  padding: 88px 0 80px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, #2a2018 0%, var(--bg) 62%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 2px, transparent 2px, transparent 14px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 168px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 16ch;
  background: linear-gradient(135deg, var(--amber) 15%, var(--amber-deep) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

/* ===================== ABOUT ===================== */

.about {
  padding: 84px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-copy h2 { max-width: 18ch; }

.about-credentials {
  background: var(--surface);
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: 32px;
}

.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credential-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--steel);
  padding-top: 20px;
}

.credential-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.credential-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--amber);
}

.credential-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ===================== VIDEOS ===================== */

.videos {
  padding: 84px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--steel);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.video-card:hover {
  border-color: var(--amber-deep);
  transform: translateY(-2px);
}

.video-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: linear-gradient(135deg, #2a2018, #171310);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

button.video-thumb { display: block; }

iframe.video-thumb { cursor: auto; }

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.play-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 16, 13, 0.72);
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.15s ease;
}

button.video-thumb:hover .play-badge,
a.video-thumb:hover .play-badge {
  background: var(--amber);
}

button.video-thumb:hover .play-badge svg,
a.video-thumb:hover .play-badge svg {
  fill: #1a1208;
}

.play-badge svg { fill: var(--amber); margin-left: 3px; }

.video-info {
  padding: 16px 18px 20px;
}

.video-info h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--text);
}

.video-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.watch-yt-link {
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}

.watch-yt-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.video-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--steel);
  border-radius: 6px;
  color: var(--text-muted);
}

.videos-footer {
  margin-top: 44px;
  text-align: center;
}

/* ===================== SHOP ===================== */

.shop {
  padding: 84px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}

.shop-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.shop-note { color: var(--text); font-weight: 500; }

.shop-contact-card {
  background: var(--surface);
  border: 1px solid var(--steel);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 32px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--amber);
  margin-bottom: 2px;
}

@media (max-width: 820px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ===================== SUBSCRIBE CTA ===================== */

.subscribe-cta {
  padding: 76px 0;
  text-align: center;
  background: linear-gradient(160deg, #241a10 0%, var(--bg) 70%);
}

.subscribe-cta h2 { color: var(--text); }
.subscribe-cta p { max-width: 46ch; margin-left: auto; margin-right: auto; }

.yt-subscribe-widget {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  min-height: 34px;
}

/* ===================== FOOTER ===================== */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--steel);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-link { color: var(--text-muted); }
.footer-link:hover { color: var(--amber); }
