/*
Theme Name: Just Cool Cars TV
Theme URI: https://justcoolcarstv.com
Description: Custom theme for Just Cool Cars TV - car culture media brand
Author: Just Cool Cars TV
Version: 1.0
Template: kadence
*/

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --jcc-red:       #c0392b;
  --jcc-red-light: #e74c3c;
  --jcc-black:     #080808;
  --jcc-dark:      #0b0b0e;
  --jcc-dark2:     #111118;
  --jcc-border:    #1a1a22;
  --jcc-text:      #e8e8e8;
  --jcc-muted:     #555566;
  --jcc-subtle:    #333344;

  --col-mopar:     #e74c3c;
  --col-imports:   #5dade2;
  --col-donks:     #e0a020;
  --col-classic:   #a569bd;
  --col-era:       #1abc9c;
  --col-lifestyle: #1abc9c;
}

html { scroll-behavior: smooth; }

body {
  background: var(--jcc-dark);
  color: var(--jcc-text);
  font-family: 'Arial', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.jcc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(8, 8, 14, 0.92);
  border-bottom: 1px solid var(--jcc-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jcc-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.jcc-logo-just  { font-size: 9px; letter-spacing: .25em; color: #888; text-transform: uppercase; }
.jcc-logo-cool  { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: .04em; line-height: .95; }
.jcc-logo-cars  {
  font-size: 14px; font-weight: 900; color: #fff;
  letter-spacing: .18em; text-transform: uppercase;
  border-top: 2px solid var(--jcc-red);
  border-bottom: 2px solid var(--jcc-red);
  padding: 1px 4px;
}
.jcc-logo-cars span { color: var(--jcc-red); }

.jcc-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.jcc-nav-links a {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #888;
  transition: color .2s;
}
.jcc-nav-links a:hover,
.jcc-nav-links a.active { color: #fff; }
.jcc-nav-links a.active { color: var(--jcc-red); }

.jcc-nav-cta {
  background: var(--jcc-red);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 3px;
  font-size: 10px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s !important;
}
.jcc-nav-cta:hover { background: var(--jcc-red-light) !important; color: #fff !important; }

/* ============================================
   HERO SECTION
   ============================================ */
.jcc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.jcc-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 60% 55%, #12121e 0%, var(--jcc-dark) 65%);
  z-index: 0;
}

/* Car image container */
.jcc-car-stage {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 72%;
  max-width: 900px;
  aspect-ratio: 4/3;
  z-index: 1;
}

.jcc-car-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.jcc-car-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Arc lines SVG overlay */
.jcc-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

/* Orb nodes */
.jcc-orbs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.jcc-orb {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  pointer-events: auto;
  transition: transform .2s;
}
.jcc-orb:hover { transform: scale(1.08); }

.jcc-orb-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.jcc-orb-dot::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.jcc-orb-name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: currentColor;
  white-space: nowrap;
  text-align: center;
}
.jcc-orb-desc {
  font-size: 7.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  text-align: center;
}

/* Orb positions */
.jcc-orb[data-cat="mopars"]  { color: var(--col-mopar);   top: 22%; left: 28%; }
.jcc-orb[data-cat="imports"] { color: var(--col-imports);  top: 12%; left: 40%; }
.jcc-orb[data-cat="donks"]   { color: var(--col-donks);   top: 8%;  left: 54%; }
.jcc-orb[data-cat="classic"] { color: var(--col-classic);  top: 12%; left: 68%; }
.jcc-orb[data-cat="era"]     { color: var(--col-era);     top: 22%; left: 80%; }

/* Arc lines */
.jcc-arc {
  fill: none;
  stroke-width: .8;
  stroke-dasharray: 6 4;
  opacity: .45;
}
.jcc-arc[data-cat="mopars"]  { stroke: var(--col-mopar); }
.jcc-arc[data-cat="imports"] { stroke: var(--col-imports); }
.jcc-arc[data-cat="donks"]   { stroke: var(--col-donks); }
.jcc-arc[data-cat="classic"] { stroke: var(--col-classic); }
.jcc-arc[data-cat="era"]     { stroke: var(--col-era); }

/* Active orb state */
.jcc-orb.active .jcc-orb-dot { box-shadow: 0 0 12px currentColor; }
.jcc-arc.active { opacity: .8; stroke-width: 1.2; }

/* Hero left content */
.jcc-hero-content {
  position: relative;
  z-index: 4;
  padding: 0 40px;
  max-width: 380px;
}

.jcc-hero-eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--jcc-muted);
  margin-bottom: 12px;
}

.jcc-hero-headline {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  color: #e8e8e8;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.jcc-hero-headline .accent { color: var(--jcc-red); }

.jcc-hero-sub {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}

.jcc-hero-rule {
  width: 40px;
  height: 2px;
  background: var(--jcc-red);
  margin-bottom: 14px;
}

.jcc-hero-body {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.jcc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--jcc-red);
  color: #fff;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 3px;
  transition: background .2s;
}
.jcc-hero-cta:hover { background: var(--jcc-red-light); }
.jcc-hero-cta-arrow { font-size: 16px; }

/* Active car label */
.jcc-car-label {
  position: absolute;
  bottom: 24px;
  right: 40px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #333;
  z-index: 4;
  transition: color .3s;
}

/* ============================================
   TICKER STRIP
   ============================================ */
.jcc-ticker {
  background: var(--jcc-red);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}
.jcc-ticker-inner {
  display: inline-block;
  animation: jcc-ticker 28s linear infinite;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
@keyframes jcc-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.jcc-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--jcc-border);
}

.jcc-card {
  position: relative;
  padding: 22px 18px 18px;
  min-height: 220px;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid var(--jcc-border);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.jcc-card:last-child { border-right: none; }
.jcc-card:hover { transform: translateY(-3px); }

.jcc-card-bg {
  position: absolute;
  inset: 0;
  opacity: .3;
  transition: opacity .3s;
}
.jcc-card:hover .jcc-card-bg { opacity: .5; }

.jcc-card[data-cat="mopars"]  .jcc-card-bg { background: linear-gradient(150deg, #3a0000 0%, #1a0000 60%, transparent 100%); }
.jcc-card[data-cat="imports"] .jcc-card-bg { background: linear-gradient(150deg, #001a3a 0%, #00112a 60%, transparent 100%); }
.jcc-card[data-cat="donks"]   .jcc-card-bg { background: linear-gradient(150deg, #2a1800 0%, #1a1000 60%, transparent 100%); }
.jcc-card[data-cat="classic"] .jcc-card-bg { background: linear-gradient(150deg, #1a003a 0%, #10002a 60%, transparent 100%); }
.jcc-card[data-cat="era"]     .jcc-card-bg { background: linear-gradient(150deg, #001a18 0%, #001210 60%, transparent 100%); }

.jcc-card-top { position: relative; z-index: 1; }
.jcc-card-num {
  font-size: 10px;
  color: #333;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.jcc-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.jcc-card[data-cat="mopars"]  .jcc-card-title { color: var(--col-mopar); }
.jcc-card[data-cat="imports"] .jcc-card-title { color: var(--col-imports); }
.jcc-card[data-cat="donks"]   .jcc-card-title { color: var(--col-donks); }
.jcc-card[data-cat="classic"] .jcc-card-title { color: var(--col-classic); }
.jcc-card[data-cat="era"]     .jcc-card-title { color: var(--col-era); }

.jcc-card-img {
  position: relative;
  z-index: 1;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jcc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.7);
  transition: filter .3s, transform .3s;
  border-radius: 4px;
}
.jcc-card:hover .jcc-card-img img {
  filter: brightness(.85);
  transform: scale(1.04);
}

.jcc-card-enter {
  position: relative;
  z-index: 1;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .6;
  transition: opacity .2s, gap .2s;
  margin-top: 10px;
}
.jcc-card:hover .jcc-card-enter { opacity: 1; gap: 12px; }

/* ============================================
   FEATURED ARTICLES SECTION
   ============================================ */
.jcc-section { padding: 72px 40px; }
.jcc-section-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--jcc-red);
  margin-bottom: 10px;
}
.jcc-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -.01em;
}

.jcc-articles {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.jcc-article-main {
  background: var(--jcc-dark2);
  border: 1px solid var(--jcc-border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}
.jcc-article-main:hover { border-color: var(--jcc-red); }

.jcc-article-main-img {
  height: 260px;
  background: #0d0d14;
  position: relative;
  overflow: hidden;
}
.jcc-article-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.65);
  transition: filter .3s, transform .4s;
}
.jcc-article-main:hover .jcc-article-main-img img {
  filter: brightness(.8);
  transform: scale(1.03);
}

.jcc-article-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--jcc-red);
  color: #fff;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}

.jcc-article-main-body { padding: 20px; }
.jcc-article-main-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.jcc-article-main-body p { font-size: 13px; color: #555; line-height: 1.7; }
.jcc-article-meta { font-size: 9px; color: #333; letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; }

.jcc-article-stack { display: flex; flex-direction: column; gap: 12px; }
.jcc-article-card {
  background: var(--jcc-dark2);
  border: 1px solid var(--jcc-border);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: border-color .2s;
}
.jcc-article-card:hover { border-color: var(--jcc-subtle); }
.jcc-article-card-thumb {
  width: 64px; height: 56px;
  background: #0d0d14;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.jcc-article-card-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.jcc-article-card-body h3 { font-size: 12px; font-weight: 600; color: #ccc; line-height: 1.4; margin-bottom: 4px; }
.jcc-article-card-body p  { font-size: 10px; color: #444; }

/* ============================================
   SUBMIT YOUR CAR
   ============================================ */
.jcc-submit {
  margin: 0 40px 72px;
  border: 1px solid var(--jcc-red);
  border-radius: 6px;
  padding: 40px;
  text-align: center;
  background: rgba(192,57,43,.04);
}
.jcc-submit h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.jcc-submit p  { font-size: 14px; color: #555; margin-bottom: 24px; }
.jcc-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--jcc-red);
  color: var(--jcc-red);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.jcc-submit-btn:hover { background: var(--jcc-red); color: #fff; }

/* ============================================
   MERCH STRIP
   ============================================ */
.jcc-merch {
  margin: 0 40px 72px;
  background: var(--jcc-dark2);
  border: 1px solid var(--jcc-border);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.jcc-merch-text h2 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.jcc-merch-text p  { font-size: 13px; color: #555; }
.jcc-merch-btn {
  flex-shrink: 0;
  background: var(--jcc-red);
  color: #fff;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 3px;
  transition: background .2s;
}
.jcc-merch-btn:hover { background: var(--jcc-red-light); }

/* ============================================
   FOOTER
   ============================================ */
.jcc-footer {
  border-top: 1px solid var(--jcc-border);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.jcc-footer-copy    { font-size: 10px; color: #333; letter-spacing: .05em; }
.jcc-footer-tagline { font-size: 9px;  color: #333; letter-spacing: .2em; text-transform: uppercase; }
.jcc-footer-social  { display: flex; gap: 10px; }
.jcc-footer-social a {
  width: 28px; height: 28px;
  border: 1px solid #222;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #444;
  font-size: 13px;
  transition: border-color .2s, color .2s;
}
.jcc-footer-social a:hover { border-color: var(--jcc-red); color: var(--jcc-red); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .jcc-cards { grid-template-columns: repeat(3, 1fr); }
  .jcc-articles { grid-template-columns: 1fr; }
  .jcc-car-stage { width: 80%; right: -10%; }
}

@media (max-width: 768px) {
  .jcc-nav { padding: 14px 20px; }
  .jcc-nav-links { display: none; }
  .jcc-hero-content { padding: 0 20px; max-width: 100%; }
  .jcc-hero-headline { font-size: 36px; }
  .jcc-car-stage { width: 100%; right: 0; opacity: .3; top: 40%; }
  .jcc-cards { grid-template-columns: repeat(2, 1fr); }
  .jcc-section { padding: 48px 20px; }
  .jcc-submit, .jcc-merch { margin-left: 20px; margin-right: 20px; }
  .jcc-footer { flex-direction: column; text-align: center; gap: 12px; }
  .jcc-orb { display: none; }
  .jcc-arcs { display: none; }
}

@media (max-width: 480px) {
  .jcc-cards { grid-template-columns: 1fr 1fr; }
  .jcc-merch { flex-direction: column; text-align: center; }
}
