/* ============================================
   VOLT RACEWAY — Red / Black / White
   ============================================ */

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

:root {
  --red: #E31837;
  --red-dark: #b8132d;
  --red-glow: rgba(227,24,55,0.35);
  --black: #0a0a0a;
  --black-light: #141414;
  --black-card: #1a1a1a;
  --gray-900: #1f1f1f;
  --gray-800: #2a2a2a;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-400: #8a8a8a;
  --gray-300: #aaa;
  --white: #ffffff;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

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

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

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--red); }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(10,10,10,0.98); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1300px; margin: 0 auto; padding: 0 2rem; height: 72px;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.nav-logo .logo-img {
  height: 38px; width: auto;
  filter: invert(1) brightness(2);
}
.nav-logo .volt { color: var(--red); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }

.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  display: block; padding: 0.5rem 0.85rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-300);
  border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--red); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px; transition: all 0.25s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Lap Counter */
.lap-counter {
  display: flex; align-items: center;
}
.lap-counter-inner {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(227,24,55,0.1);
  border: 1px solid rgba(227,24,55,0.25);
  border-radius: 50px;
  transition: all 0.3s;
}
.lap-counter-inner:hover {
  background: rgba(227,24,55,0.18);
  border-color: rgba(227,24,55,0.4);
}
.lap-icon {
  font-size: 1rem;
  line-height: 1;
}
.lap-text {
  display: flex; flex-direction: column; line-height: 1;
}
.lap-number {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lap-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 1px;
}

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.7) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto; padding: 8rem 2rem 4rem;
}
.hero-tag {
  display: inline-block; padding: 0.4rem 1rem;
  background: rgba(227,24,55,0.15); border: 1px solid rgba(227,24,55,0.3);
  border-radius: 50px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.15rem; color: var(--gray-300);
  max-width: 540px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px var(--red-glow); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray-300); transform: translateY(-2px); }

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg::after {
  background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 0.75rem;
}
.page-hero p { font-size: 1.1rem; color: var(--gray-300); max-width: 550px; margin: 0 auto; }

/* ---- SECTIONS ---- */
.section { padding: 6rem 0; }
.section-dark { background: var(--black); }
.section-darker { background: var(--black-light); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-header p { color: var(--gray-400); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.red-line { width: 60px; height: 3px; background: var(--red); margin: 0.75rem auto; }

/* ---- GRID ---- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- CARDS ---- */
.card {
  background: var(--black-card);
  border: 1px solid var(--gray-800);
  border-radius: 12px; overflow: hidden;
  transition: all 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.card-body p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.6; }
.card-label {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 4px;
}

/* ---- SPLIT SECTION ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split-img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem;
}
.split-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 1rem;
}
.split-content p { color: var(--gray-400); margin-bottom: 1.25rem; line-height: 1.7; }

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--red); padding: 0;
}
.stat-item {
  text-align: center; padding: 2.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700; line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85;
}

/* ---- PRICE CARDS ---- */
.price-card {
  background: var(--black-card);
  border: 1px solid var(--gray-800);
  border-radius: 12px; padding: 2rem; text-align: center;
  transition: all 0.3s;
}
.price-card.featured { border-color: var(--red); position: relative; }
.price-card.featured::before {
  content: 'POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 1rem; background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; border-radius: 50px;
}
.price-card h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  margin-bottom: 1rem;
}
.price-amount {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--red); line-height: 1;
}
.price-period { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.price-features { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.price-features li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--gray-800);
  color: var(--gray-300); font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.price-features li::before { content: '✓'; color: var(--red); font-weight: 700; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--red); padding: 4rem 0; text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 0.75rem;
}
.cta-banner p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 1.5rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black-light);
  border-top: 1px solid var(--gray-800);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand {
  margin-bottom: 1rem;
}
.footer-brand .volt { color: var(--red); }
.footer-logo-img {
  height: 32px; width: auto;
  filter: invert(1) brightness(2);
}
.footer-desc { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--gray-500); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--gray-500);
}

/* ---- FEATURE LIST ---- */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; color: var(--gray-300); font-size: 0.95rem;
}
.feature-list li::before {
  content: ''; display: block; width: 8px; height: 8px;
  background: var(--red); border-radius: 50%;
  margin-top: 0.45rem; flex-shrink: 0;
}

/* ---- GALLERY GRID ---- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.gallery-grid img {
  width: 100%; height: 250px; object-fit: cover;
  border-radius: 8px; transition: all 0.4s; cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-img { height: 350px; }
  .split-content { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .lap-counter { order: 2; margin-left: auto; margin-right: 0.5rem; }
  .lap-counter-inner { padding: 0.25rem 0.6rem; gap: 0.35rem; }
  .lap-number { font-size: 0.85rem; }
  .lap-label { font-size: 0.45rem; }
  .lap-icon { font-size: 0.8rem; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--gray-800);
  }
  .nav-cta.open { display: inline-flex; margin: 1rem 2rem; }

  .hero-content { padding: 7rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(even) { border-right: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out both; }
.fade-up-delay { animation: fadeUp 0.6s ease-out 0.15s both; }
.fade-up-delay-2 { animation: fadeUp 0.6s ease-out 0.3s both; }
