/* ============================================
   MINERS AUTO REPAIR — Global Stylesheet
   Color palette derived from logo:
     Navy:    #2C3E5A
     Dark:    #1A2744
     Silver:  #8C939A
     Light:   #F4F5F7
     Accent:  #C0C7CF
     White:   #FFFFFF
   ============================================ */

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

:root {
  --navy: #2C3E5A;
  --navy-dark: #1A2744;
  --navy-light: #3A5278;
  --silver: #8C939A;
  --silver-light: #C0C7CF;
  --silver-dark: #6B7280;
  --light: #F4F5F7;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-light: #64748B;
  --accent: #3B82F6;
  --success: #10B981;
  --shadow: 0 4px 24px rgba(26, 39, 68, .10);
  --shadow-lg: 0 12px 48px rgba(26, 39, 68, .15);
  --radius: 12px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--navy-dark); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-light); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header p { margin-top: .75rem; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  background: rgba(44,62,90,.08);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(44,62,90,.3);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,62,90,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,62,90,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo img { height: 50px; width: auto; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--navy-dark); line-height: 1.2; }
.logo-text span { display: block; font-size: .7rem; font-weight: 500; color: var(--silver); text-transform: uppercase; letter-spacing: 1.5px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-light);
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.header-phone svg { width: 18px; height: 18px; margin-right: .35rem; vertical-align: middle; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 2rem 2rem 3rem;
  z-index: 999;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  padding: .75rem 0;
  border-bottom: 1px solid var(--light);
}
.mobile-nav .btn {
  margin-top: 1.5rem;
  padding: 1rem;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,.55), rgba(44,62,90,.45));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 3rem 0;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 .highlight { color: var(--silver-light); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--white);
}
.hero-phone .phone-label { font-size: .8rem; opacity: .7; display: block; }
.hero-phone .phone-number { font-size: 1.4rem; font-weight: 800; font-family: 'Poppins', sans-serif; letter-spacing: .5px; }

.hero-badge {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  z-index: 2;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  max-width: 260px;
}
.hero-badge-icon { font-size: 2rem; margin-bottom: .5rem; }
.hero-badge h4 { color: var(--white); font-size: 1rem; }
.hero-badge p { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: .25rem; }

/* ---------- Trust Badges ---------- */
.trust-bar {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(44,62,90,.06);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.trust-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(44,62,90,.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 28px; height: 28px; color: var(--navy); }
.trust-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.trust-item p { font-size: .85rem; }

/* ---------- Section Padding ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--light); }

/* ---------- Services Preview (Home) ---------- */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(44,62,90,.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card-icon svg { width: 26px; height: 26px; color: var(--white); }
.service-card-icon i { font-size: 1.5rem; color: var(--white); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .92rem; }

/* ---------- Services Page Full Grid ---------- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-full-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(44,62,90,.04);
}
.service-full-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-full-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-full-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,39,68,.6));
}
.service-full-body { padding: 1.75rem; }
.service-full-body .service-card-icon { margin-bottom: 1rem; }
.service-full-body h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.service-full-body p { font-size: .92rem; line-height: 1.6; }

/* ---------- After Hours Highlight ---------- */
.after-hours {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.after-hours::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%);
  border-radius: 50%;
}
.after-hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.after-hours h2 { color: var(--white); margin-bottom: 1rem; }
.after-hours p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 1.5rem; }
.after-hours-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.after-hours-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.after-hours-features li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }
.after-hours-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.after-hours-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(44,62,90,.04);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(44,62,90,.06);
  line-height: 1;
}
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-name { font-weight: 600; color: var(--text); font-size: .9rem; }
.testimonial-loc { font-size: .8rem; color: var(--silver); }

/* ---------- About Page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-story-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-story-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.about-story h2 { margin-bottom: 1rem; }
.about-story p { margin-bottom: 1rem; font-size: 1.02rem; }

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(44,62,90,.04);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(44,62,90,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card-icon svg { width: 32px; height: 32px; color: var(--navy); }
.why-card h3 { margin-bottom: .5rem; }
.why-card p { font-size: .92rem; }

.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}
.team-photo img { width: 100%; height: 400px; object-fit: cover; }
.team-photo-caption {
  background: var(--navy-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: .9rem;
  text-align: center;
}

/* ---------- Booking Form ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(44,62,90,.06);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid rgba(44,62,90,.15);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44,62,90,.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.booking-info { padding-top: 1rem; }
.booking-info h3 { margin-bottom: 1rem; }
.booking-info p { margin-bottom: 1.5rem; font-size: 1.02rem; }
.booking-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.booking-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(44,62,90,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-info-icon svg { width: 22px; height: 22px; color: var(--navy); }
.booking-info-item h4 { font-size: .95rem; margin-bottom: .15rem; }
.booking-info-item p { font-size: .9rem; }

.after-hours-note {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.after-hours-note svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--silver-light); }
.after-hours-note p { color: rgba(255,255,255,.85); font-size: .92rem; }
.after-hours-note strong { color: var(--white); }

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.75rem; margin-bottom: 2.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(44,62,90,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--navy); }
.contact-info-item h4 { font-size: .95rem; margin-bottom: .15rem; }
.contact-info-item p { font-size: .92rem; }
.contact-info-item a { color: var(--navy); font-weight: 500; }
.contact-info-item a:hover { text-decoration: underline; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.03), transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { opacity: .4; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo img { filter: brightness(0) invert(1); height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,.15); }
.footer-social a svg { width: 18px; height: 18px; color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .75rem;
  font-size: .9rem;
}
.footer-contact-item svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--silver-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-preview-grid,
  .services-full-grid,
  .testimonial-grid,
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .after-hours-inner { grid-template-columns: 1fr; }
  .after-hours-img { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { height: 70px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-badge { display: none; }
  .hero-phone { flex-direction: column; gap: .25rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .services-preview-grid,
  .services-full-grid,
  .testimonial-grid,
  .why-choose-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-img { order: -1; }
  .about-story-img img { height: 280px; }
  .booking-layout, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .cta-banner { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero h1 { font-size: 1.75rem; }
}
