/* Al Tareef Auto Maint. — design concept by Beans Digital
   Palette reasoning: no existing brand found. Deep charcoal/graphite = workshop
   steel and the premium feel of the European marques they service; amber accent
   = hazard/indicator amber, high-visibility and unmistakably automotive. */

:root {
  --coal-950: #15181d;
  --coal-900: #1c2026;
  --coal-800: #262b33;
  --coal-700: #343b45;
  --steel-300: #9aa4b1;
  --steel-100: #e4e8ee;
  --paper: #f5f6f8;
  --amber-500: #f0a21a;
  --amber-600: #d98e0b;
  --amber-100: #fdf1d8;
  --ink: #1b1f24;
  --ink-soft: #4d5661;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(21, 24, 29, 0.14);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@view-transition { navigation: auto; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-600); }

/* Concept banner */
.concept-banner {
  background: #fff8e8;
  border-bottom: 1px solid #eadbb8;
  color: #6b5518;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Header */
.site-header {
  background: var(--coal-950);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  view-transition-name: site-header;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  view-transition-name: site-logo;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--amber-500);
  color: var(--coal-950);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; color: var(--white); font-size: 1.02rem; }
.logo-text span { font-size: 0.7rem; color: var(--steel-300); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--steel-300);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.main-nav a:hover { background: var(--coal-800); color: var(--white); }
.main-nav a.active { background: var(--amber-500); color: var(--coal-950); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--amber-500);
  color: var(--amber-500);
  text-decoration: none;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Hero */
.hero {
  background:
    linear-gradient(145deg, rgba(21,24,29,0.97), rgba(38,43,51,0.95)),
    repeating-linear-gradient(45deg, #1c2026 0 14px, #20242b 14px 28px);
  color: var(--white);
  padding: 3.5rem 1rem 4rem;
  border-bottom: 4px solid var(--amber-500);
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.22; max-width: 30ch; }
.hero h1 em { color: var(--amber-500); font-style: normal; }
.hero p.lede { margin-top: 1rem; max-width: 55ch; color: var(--steel-100); font-size: 1.05rem; }
.hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-badges span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.hero-actions { margin-top: 1.8rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.btn-primary { background: var(--amber-500); color: var(--coal-950); }
.btn-primary:hover { background: var(--amber-600); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-dark { background: var(--coal-900); color: var(--white); }

/* Sections */
.section { padding: 3rem 1rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--white); }
.section h2 { color: var(--coal-950); font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: 0.4rem; }
.section .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-600);
}
.section .section-intro { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.6rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid #dde2e9;
  border-top: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--paper); }
.card h3 { color: var(--coal-950); font-size: 1.08rem; margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.93rem; }
.card .card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--amber-100);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Marque strip */
.marque-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.marque-strip span {
  background: var(--coal-900);
  color: var(--steel-100);
  padding: 0.4rem 0.95rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* Photo placeholders — real photos come from the owner */
.photo-slot {
  border: 2px dashed var(--amber-600);
  border-radius: var(--radius);
  background: var(--amber-100);
  min-height: 200px;
  display: grid;
  place-items: center;
  color: #7a5a10;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Reviews strip */
.review-card { border-top: none; border-left: 4px solid var(--amber-500); }
.review-card .stars { color: var(--amber-500); letter-spacing: 0.1em; margin-bottom: 0.4rem; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; max-width: 480px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #dde2e9;
  font-size: 0.93rem;
}
.hours-table th { color: var(--coal-950); font-weight: 700; }
.hours-table tr.today td, .hours-table tr.today th { background: var(--amber-100); }
.hours-table .closed { color: #b23b3b; font-weight: 600; }

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-list { list-style: none; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-list .ci {
  width: 38px; height: 38px; flex: none;
  border-radius: 8px;
  background: var(--amber-100);
  display: grid; place-items: center;
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 1.5rem; }
.step {
  background: var(--white);
  border: 1px solid #dde2e9;
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  position: relative;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--coal-950);
  font-weight: 800;
  display: grid; place-items: center;
}
.step h3 { color: var(--coal-950); font-size: 1.02rem; margin-bottom: 0.2rem; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--coal-900), var(--coal-950));
  border-left: 5px solid var(--amber-500);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { color: var(--steel-300); margin-top: 0.3rem; }

/* Footer */
.site-footer {
  background: var(--coal-950);
  color: var(--steel-300);
  padding: 2.5rem 1rem 5.5rem; /* bottom space clears the floating button */
  margin-top: 3rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.site-footer h4 { color: var(--white); margin-bottom: 0.6rem; font-size: 1rem; }
.site-footer a { color: var(--steel-100); }
.footer-credit {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 0.95rem;
}
.wa-float svg { flex: none; }

/* Mobile */
@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .main-nav { justify-content: center; }
  .wa-float span.wa-label { display: none; }
  .wa-float { padding: 0.9rem; border-radius: 50%; }
}
