/* ============================================
   ACTIVE AUTO REPAIRS & SALES
   Design: Trade / industrial confidence
   Palette: charcoal #1a1a1a | warm off-white #f2efe9 | hazard orange #f25c05
   Type: Anton (display) + Inter (body)
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --black: #1a1a1a;
  --near-black: #222222;
  --dark: #2a2a2a;
  --off-white: #f2efe9;
  --warm-gray: #c4bdb0;
  --muted: #8a8275;
  --orange: #f25c05;
  --orange-hover: #d44e00;
  --orange-glow: rgba(242, 92, 5, 0.25);

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --max-width: 1200px;
  --radius: 4px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* --- UTILITY --- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-lg);
  color: var(--off-white);
  line-height: 1.1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://lh3.googleusercontent.com/place-photos/AJRVUZMJRBKzC6DJIQNnkJTno_T-VPlTDZNlIMra7lYAdlgKcCYv-CDwZzQfTzRIrGzMeBsItjc8f-ytpU6tXIlHjPbBpdGuav9DsObZFZ1dcG0fdGg6z4kSGec1EbimknY2j6tM5pgdEklwNWnpZh9D--FhDg=s4800-w1600');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: saturate(1.1) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.92) 0%,
    rgba(26, 26, 26, 0.75) 50%,
    rgba(26, 26, 26, 0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 800px;
}
.hero-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  margin: 0 0 var(--space-md);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-md);
  color: var(--off-white);
}
.hero-phone {
  margin: 0 0 var(--space-sm);
}
.phone-link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.04em;
  color: var(--orange);
  transition: color 0.2s;
}
.phone-link:hover { color: var(--orange-hover); }
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--warm-gray);
  margin: 0 0 var(--space-lg);
  line-height: 1.5;
}
.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--orange);
  color: var(--off-white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-button:hover {
  background: var(--orange-hover);
  box-shadow: 0 0 24px var(--orange-glow);
  transform: translateY(-1px);
}
.cta-button:active {
  transform: translateY(0);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: var(--space-2xl) 0;
  background: var(--near-black);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.review-card {
  margin: 0;
  padding: var(--space-lg);
  background: var(--dark);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.review-stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warm-gray);
  margin: 0 0 var(--space-sm);
}
.review-author {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--off-white);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--space-2xl) 0;
  background: var(--black);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.service-card {
  padding: var(--space-lg);
  background: var(--near-black);
  border: 1px solid rgba(242, 92, 5, 0.12);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-sm);
  color: var(--off-white);
}
.service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: var(--space-2xl) 0;
  background: var(--near-black);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s, filter 0.3s;
  filter: saturate(0.9) contrast(1.05);
}
.gallery-img:hover {
  transform: scale(1.02);
  filter: saturate(1) contrast(1.1);
}

/* ============================================
   INFO (HOURS + LOCATION + CONTACT)
   ============================================ */
.info {
  padding: var(--space-2xl) 0;
  background: var(--black);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.info-block .section-title {
  margin-bottom: var(--space-md);
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}
.closed td {
  color: var(--muted);
}
.info-address {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0 0 var(--space-md);
}
.info-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.info-link:hover { color: var(--orange-hover); }
.info-phone {
  margin-top: var(--space-sm);
}

/* --- CONTACT FORM --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.form-label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
}
.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--off-white);
  transition: border-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
textarea.form-input {
  resize: vertical;
  min-height: 80px;
}
.form-submit {
  align-self: flex-start;
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
}
.form-status {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--space-lg) 0;
  background: var(--near-black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}
.footer-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.attribution {
  font-size: 0.75rem;
  opacity: 0.5;
  margin: 0;
}
.attribution a {
  color: var(--muted);
  transition: opacity 0.2s;
}
.attribution a:hover { opacity: 0.8; }

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    font-size: 2.5rem;
  }
}

/* Desktop (960px+) */
@media (min-width: 960px) {
  .review-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .review-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-img {
    height: 320px;
  }
  .gallery-img:first-child {
    grid-column: 1 / -1;
    height: 400px;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .section-title {
    font-size: 3rem;
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
