/* ==============================================
   OLD RIVER TIRES — style.css
   Typography-led, mobile-first, no AI-template BS
   ============================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --charcoal: #1a1a2e;
  --charcoal-light: #2d2d44;
  --off-black: #111118;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --warm-gray: #e8e6e1;
  --mid-gray: #8a8a8a;
  --accent: #c44900;
  --accent-dark: #a33d00;
  --accent-light: #d4611a;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* --- Loading Bar --- */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 10000;
  width: 0;
  transition: width 0.3s var(--ease);
  pointer-events: none;
}

.loading-bar.active {
  width: 60%;
  transition: width 1.5s var(--ease);
}

.loading-bar.done {
  width: 100%;
  transition: width 0.2s var(--ease);
}

.loading-bar.hidden {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-secondary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal-light);
  border-color: var(--charcoal-light);
}

.btn-full {
  width: 100%;
}

/* ==============================================
   NAVIGATION
   ============================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  font-weight: 400;
  opacity: 0.7;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-phone:hover {
  background: var(--accent-dark);
}

.nav-phone i {
  font-size: 12px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--off-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 28px;
  color: var(--white);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  background: var(--accent);
  padding: 16px 32px;
  border-radius: 8px;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 24, 0.95) 0%,
    rgba(17, 17, 24, 0.7) 40%,
    rgba(17, 17, 24, 0.4) 70%,
    rgba(17, 17, 24, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(48px, 12vw, 88px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-ctas .btn {
  font-size: 14px;
  padding: 14px 24px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  display: block;
  line-height: 1.1;
}

.stat-number small {
  font-size: 0.5em;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==============================================
   FAST SERVICE BANNER
   ============================================== */
.fast-banner {
  background: var(--accent);
  padding: 40px 24px;
}

.fast-banner blockquote {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(20px, 4vw, 32px);
  color: var(--white);
  text-align: center;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
}

/* ==============================================
   SERVICES
   ============================================== */
.services {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--mid-gray);
  max-width: 520px;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--warm-gray);
  border: 1px solid var(--warm-gray);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 32px 28px;
}

.service-number {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.6;
}

.service-card--featured {
  background: var(--off-white);
}

.services-note {
  margin-top: 40px;
  text-align: center;
}

.services-note p {
  font-size: 16px;
  color: var(--mid-gray);
}

.services-note strong {
  color: var(--charcoal);
}

/* ==============================================
   ABOUT — Asymmetric two-column
   ============================================== */
.about {
  padding: 0;
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.about-image {
  height: 400px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 60px 24px;
}

.about-content h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.about-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.about-content > p {
  font-size: 16px;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 32px;
}

.about-pull-quote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 40px;
}

.about-pull-quote blockquote {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--charcoal);
  font-style: italic;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.value strong {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--charcoal);
  display: block;
  margin-bottom: 2px;
}

.value span {
  font-size: 14px;
  color: var(--mid-gray);
}

/* ==============================================
   REVIEWS
   ============================================== */
.reviews {
  padding: 80px 0;
  background: var(--charcoal);
}

.reviews-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.reviews-header h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.reviews-header > div:first-child p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.reviews-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-badge-number {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}

.reviews-badge-stars {
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 2px;
}

.reviews-badge-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.review {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.review blockquote p {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.review--large blockquote p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.review-source {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.reviews-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.theme {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
}

/* ==============================================
   LOCATION
   ============================================== */
.location {
  padding: 0;
  background: var(--white);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.location-info {
  padding: 60px 24px;
}

.location-info h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.location-address,
.location-phone {
  font-style: normal;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.location-address i,
.location-phone i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
}

.location-address {
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
}

.location-phone {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
}

.location-phone a {
  transition: color 0.2s ease;
}

.location-phone a:hover {
  color: var(--accent);
}

.hours {
  margin-top: 32px;
  margin-bottom: 32px;
}

.hours h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.hours-table {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--warm-gray);
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--charcoal);
  width: 120px;
}

.hours-table td:last-child {
  color: var(--mid-gray);
  text-align: right;
}

.hours-saturday td:last-child {
  color: var(--accent);
  font-weight: 500;
}

.hours-closed td:last-child {
  color: var(--mid-gray);
  font-style: italic;
}

.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-map {
  height: 400px;
  background: var(--warm-gray);
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

/* ==============================================
   CONTACT
   ============================================== */
.contact {
  padding: 80px 0;
  background: var(--off-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-text h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.contact-text > p {
  font-size: 16px;
  color: var(--mid-gray);
  margin-bottom: 32px;
}

.contact-call {
  display: block;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid var(--warm-gray);
  transition: border-color 0.2s ease;
}

.contact-call:hover {
  border-color: var(--accent);
}

.contact-call strong {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.contact-call span {
  font-size: 14px;
  color: var(--mid-gray);
}

/* Form */
.contact-form {
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--body-font);
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--warm-gray);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--charcoal);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: #e8f5e9;
  border-radius: 6px;
}

.form-success.visible {
  display: block;
}

.form-success p {
  font-size: 15px;
  color: #2e7d32;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--off-black);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-brand a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-brand a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ==============================================
   SCROLL REVEAL
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==============================================
   RESPONSIVE — Tablet (640px+)
   ============================================== */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

  .reviews-grid .review--large {
    grid-column: 1 / -1;
  }

  .reviews-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-number {
    font-size: 36px;
  }
}


/* ==============================================
   RESPONSIVE — Desktop (960px+)
   ============================================== */
@media (min-width: 960px) {
  .container {
    padding: 0 40px;
  }

  /* Nav */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-phone {
    display: inline-flex;
  }

  /* Hero */
  .hero {
    padding: 0 40px 80px;
    align-items: flex-end;
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-ctas .btn {
    font-size: 15px;
    padding: 16px 32px;
  }

  /* Services */
  .services {
    padding: 120px 0;
  }

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

  .service-card {
    padding: 40px 36px;
  }

  /* About — asymmetric */
  .about-inner {
    grid-template-columns: 5fr 7fr;
  }

  .about-image {
    height: auto;
    min-height: 600px;
  }

  .about-content {
    padding: 80px 64px;
  }

  /* Reviews */
  .reviews {
    padding: 120px 0;
  }

  .review--large blockquote p {
    font-size: 26px;
  }

  /* Location — split */
  .location-inner {
    grid-template-columns: 1fr 1fr;
  }

  .location-info {
    padding: 80px 64px;
  }

  .location-map {
    height: auto;
    min-height: 500px;
  }

  /* Contact */
  .contact {
    padding: 120px 0;
  }

  .contact-inner {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 64px;
  }

  .footer-links {
    gap: 24px;
  }
}


/* ==============================================
   RESPONSIVE — Large Desktop (1200px+)
   ============================================== */
@media (min-width: 1200px) {
  .hero-text h1 {
    font-size: 96px;
  }

  .section-header h2 {
    font-size: 56px;
  }

  .about-content h2 {
    font-size: 52px;
  }

  .reviews-header h2 {
    font-size: 56px;
  }

  .about-content {
    padding: 100px 80px;
  }

  .location-info {
    padding: 100px 80px;
  }
}


/* ==============================================
   PRINT
   ============================================== */
@media print {
  .site-header,
  .nav-toggle,
  .mobile-nav,
  .loading-bar,
  .hero-bg,
  .location-map,
  .contact-form {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content {
    color: #000;
  }
}
