/* ============================================
   Street Kings Performance & Repair
   ============================================ */

:root {
  --black: #0a0a0a;
  --charcoal: #151515;
  --charcoal-light: #1f1f1f;
  --charcoal-lighter: #2a2a2a;
  --red: #e01023;
  --red-dark: #a30d1a;
  --red-bright: #ff1a2e;
  --white: #f5f5f5;
  --gray: #a8a8a8;
  --gray-dark: #6b6b6b;
  --border: #2e2e2e;
  --gold: #d4af37;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section {
  padding: 80px 0;
}
.section--tight { padding: 56px 0; }
.section--alt { background: var(--charcoal); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.section-head p { color: var(--gray); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover { background: var(--red-bright); border-color: var(--red-bright); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark:hover { background: var(--charcoal-lighter); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Top bar ===== */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 9px;
  padding-bottom: 9px;
  min-height: 38px;
  color: var(--gray);
}
.topbar a { color: var(--gray); }
.topbar a:hover { color: var(--red); }
.topbar__left { display: flex; gap: 22px; }
.topbar__left span, .topbar__left a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { font-weight: 600; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 68px; width: auto; border-radius: 6px; }
.brand__text { display: none; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: var(--white); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mobile-nav .btn { margin: 16px 24px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.96) 20%, rgba(10,10,10,0.75) 55%, rgba(224,16,35,0.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 680px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--white);
}
.hero-stats div span { color: var(--gray); font-size: 0.85rem; letter-spacing: 0.5px; }

/* small page hero (interior pages) */
.page-hero {
  position: relative;
  padding: 90px 0 50px;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.88);
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero .eyebrow { }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.breadcrumb { color: var(--gray); margin-top: 10px; font-size: 0.9rem; }
.breadcrumb a:hover { color: var(--red); }

/* ===== Trust bar ===== */
.trust-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
}
.trust-item .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(224,16,35,0.12);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.trust-item span { color: var(--gray); font-size: 0.85rem; }

/* ===== About / feature split ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: 6px; width: 100%; height: 440px; object-fit: cover; }
.split__media .frame {
  position: absolute;
  inset: -14px;
  border: 2px solid var(--red);
  border-radius: 6px;
  z-index: -1;
}
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 18px; }
.split p { color: var(--gray); margin-bottom: 16px; }
.check-list { margin: 22px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--white);
}
.check-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  background: rgba(224,16,35,0.12);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); }
.service-card .icon {
  width: 54px; height: 54px;
  border-radius: 8px;
  background: rgba(224,16,35,0.12);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .cap {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: var(--white);
  font-size: 0.78rem;
  padding: 22px 10px 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-grid a:hover .cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 6px; }
.lightbox .cap { color: var(--gray); text-align: center; margin-top: 14px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ===== Reviews ===== */
.review-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
.review-summary__score {
  text-align: center;
}
.review-summary__score .num { font-family: var(--font-head); font-size: 3.6rem; line-height: 1; }
.review-summary__score .stars { color: var(--gold); font-size: 1.3rem; margin: 6px 0; }
.review-summary__score span { color: var(--gray); font-size: 0.9rem; }
.review-summary__platform {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: 6px;
}
.review-summary__platform strong { font-family: var(--font-head); font-size: 1.4rem; }
.review-summary__platform span { color: var(--gray); font-size: 0.82rem; display: block; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-card .stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.review-card p.body { color: var(--white); flex-grow: 1; margin-bottom: 18px; font-size: 0.97rem; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.review-card .who strong { display: block; font-size: 0.95rem; }
.review-card .who span { color: var(--gray); font-size: 0.8rem; }
.review-card .source {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--gray-dark);
  display: flex;
  justify-content: space-between;
}

.yelp-note {
  margin-top: 60px;
  text-align: center;
  background: var(--charcoal);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 36px;
}
.yelp-note h3 { margin-bottom: 10px; }
.yelp-note p { color: var(--gray); max-width: 560px; margin: 0 auto 20px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-banner .btn-row { justify-content: center; }
.cta-banner .btn--primary { background: var(--black); border-color: var(--black); }
.cta-banner .btn--primary:hover { background: var(--charcoal-lighter); border-color: var(--charcoal-lighter); }
.cta-banner .btn--outline { border-color: var(--white); }
.cta-banner .btn--outline:hover { background: var(--white); color: var(--red); }

/* ===== FAQ (accordion) ===== */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-item button .plus { color: var(--red); font-size: 1.4rem; transition: transform 0.2s ease; }
.accordion-item.open button .plus { transform: rotate(45deg); }
.accordion-item .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--gray);
}
.accordion-item.open .panel { max-height: 240px; }
.accordion-item .panel p { padding-bottom: 22px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px;
  margin-bottom: 22px;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-row .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(224,16,35,0.12);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row strong { display: block; }
.contact-row span, .contact-row a { color: var(--gray); font-size: 0.94rem; }
.contact-row a:hover { color: var(--red); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; color: var(--gray); }
.hours-table tr:last-child td { border-bottom: none; }

.form-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.8rem; color: var(--gray-dark); margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(224,16,35,0.1);
  border: 1px solid var(--red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.form-success.show { display: block; }

.map-embed { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-top: 22px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 64px; border-radius: 6px; }
.footer-brand > span { display: none; }
.site-footer p { color: var(--gray); font-size: 0.92rem; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--gray); font-size: 0.92rem; }
.footer-col a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  color: var(--gray-dark);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-bottom: 22px;
}
.powered-by span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-dark);
}
.powered-by a { display: inline-flex; align-items: center; opacity: 0.6; transition: opacity 0.2s ease; }
.powered-by a:hover { opacity: 1; }
.powered-by img { height: 20px; width: auto; display: block; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .main-nav ul, .header-cta .btn--outline { display: none; }
  .hamburger { display: flex; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media img { height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar__left span:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 520px; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .container { flex-direction: column; }
  .review-summary { flex-direction: column; }
  .topbar { font-size: 0.78rem; }
  .topbar .container { justify-content: center; gap: 10px 18px; }
  .topbar__left { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .topbar__left span { display: none; }
}
@media (max-width: 420px) {
  .topbar__social { display: none; }
}
