/* ============================================================
   SCORING PYLONS — SITE STYLES (RESET + CLEAN)
   ============================================================ */

/* -------------------------------
   GLOBAL
----------------------------------*/
body {
  background: #050608;
  color: #f5f5f5;
  padding-top: 120px; /* make room for fixed header */
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Global link styling (no more blue) */
a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #ffd700;
  text-decoration: none;
}

/* Special text families */
.sitename,
.navbar-brand,
.hero-title,
.countdown-heading {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.06em;
}

/* -------------------------------
   HEADER (FIXED + SHRINK)
----------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 16px 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.header.scrolled {
  padding: 6px 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
}

.header .logo img {
  max-height: 145px;
  transition: max-height 0.25s ease;
}

.header.scrolled .logo img {
  max-height: 78px;
}

/* NAVIGATION COLORS */
#navmenu a {
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 500;
}

#navmenu a:hover,
#navmenu a.active {
  color: #ffd700 !important; /* NASCAR Yellow */
}

@media (min-width: 992px) {
  #navmenu ul {
    display: flex;
    flex-direction: row;
    gap: 28px;
  }

  #navmenu ul li {
    white-space: nowrap;
  }
}

/* Form messages hidden by default (contact/newsletter) */
.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
  display: none;
}

.tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffd700;
}

/* -------------------------------
   SECTION SPACING
----------------------------------*/
.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: "Orbitron", system-ui, sans-serif;
  text-transform: uppercase;
}

/* -------------------------------
   HERO SECTION
----------------------------------*/
#hero {
  position: relative;
  background: radial-gradient(circle at top, #202635 0, #050608 55%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 96px 0 48px;
}

#hero .hero-content h1 {
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

#hero .hero-content p.lead {
  font-size: 1.05rem;
  color: #cfd3ff;
  max-width: 520px;
}

/* CTA BUTTON */
.btn-cta-primary {
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  border: none;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 30px;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 45, 45, 0.5);
}

.btn-cta-primary:hover {
  opacity: 0.9;
}

/* HERO BADGE TEXT PILL */
.hero-spec-pill {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

/* HERO IMAGE CARD */
.hero-image-card {
  padding: 14px;
  border-radius: 20px;
  border: 2px solid rgba(255, 45, 45, 0.6);
  background: radial-gradient(circle at top, #1e2433 0, #050608 60%);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(255, 45, 45, 0.35);
}

.hero-image-card img {
  width: 100%;
  border-radius: 12px;
}

/* LIVE BADGE */
.hero-badge {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #aefcc6;
  border-radius: 999px;
  background: #000;
  border: 1px solid #15ff4c;
}

.hero-badge i {
  color: #15ff4c;
}

/* -------------------------------
   DAYTONA COUNTDOWN
----------------------------------*/
.countdown-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #161616 100%);
  border-top: 2px solid #ff2d2d;
  border-bottom: 2px solid #ff2d2d;
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.25);
}

.countdown-container {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #f5f5f5;
  font-family: "Orbitron", system-ui, sans-serif;
}

.countdown-heading {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: #ffd700;
  text-shadow: 0 0 10px #ff2d2d;
}

/* CHECKERED FLAG STRIP */
.flag-bar {
  width: 100%;
  max-width: 520px;
  height: 10px;
  margin: 18px auto 14px;
  border-radius: 5px;
  border: 1px solid #ff2d2d;
  background: repeating-linear-gradient(45deg, #fff 0 10px, #000 10px 20px);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* Optional: big shiny time boxes */
.time-box {
  width: 130px;
  padding: 18px;
  border-radius: 12px;
  background: #111;
  border: 3px solid #ff2d2d;
  box-shadow: inset 0 0 12px #ff2d2d, 0 0 18px rgba(255,45,45,0.4);
}

.time-box span {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: #ff2d2d;
  text-shadow: 0 0 10px rgba(255,45,45,0.8);
}

.time-box small {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #ccc;
  text-transform: uppercase;
}

/* -------------------------------
   FEATURES
----------------------------------*/
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle, #ff7a00 0, #ff2d2d 60%);
  box-shadow: 0 0 18px rgba(255, 45, 45, 0.7);
}

/* -------------------------------
   PORTFOLIO / PRODUCTS (BASE CARD)
----------------------------------*/
.portfolio .portfolio-content {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, #141824 0, #050608 60%);
}

/* -------------------------------
   DYNAMIC PRODUCT GRID
----------------------------------*/

/* clickable wrapper */
.product-card {
  text-decoration: none;
  color: #f5f5f5;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-card:hover {
  opacity: 0.95;
}

/* image wrapper with title overlay, SHRUNK to ~50% */
.product-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;

  max-width: 50%;      /* <= this shrinks the visual image/card area */
  margin: 0 auto;
}

/* product title on top of image */
.product-title-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 8px 12px;
  background: rgba(0,0,0,0.78);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffd700;
  z-index: 2;
}

/* product image */
.product-image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
  background: #000;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* description below image */
.product-short {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #cccccc;
  min-height: 48px;
}
/* ============================
   FIX PRODUCT IMAGE STRETCHING
   ============================ */

.product-images,
.product-images .main-image,
.product-main,
.product-main img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* Make thumbnail row behave */
.product-thumbs,
.thumbs,
.thumbnail-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    height: auto !important;
}

.product-thumbs img,
.thumbs img,
.thumbnail-list img {
    width: 70px !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 6px;
}

/* -------------------------------
   FOOTER
----------------------------------*/
#footer {
  background: #050608;
  border-top: 2px solid rgba(255, 45, 45, 0.5);
}

#footer .sitename {
  font-family: "Orbitron", system-ui, sans-serif;
}
