/* ===========================================================
   Euro Auto Mall — Cliffside Park, NJ
   Stylesheet
   Palette drawn from on-site signage & logo:
   --red     : primary brand red (shop roof / signage)
   --navy    : deep navy (logo background)
   --gold    : gold/amber accent (logo type, tire rim)
   --cream   : off-white background
   --charcoal: body text
=========================================================== */

:root {
  --red: #c8102e;
  --red-dark: #99091f;
  --navy: #0b1c2c;
  --navy-2: #122840;
  --gold: #d4a017;
  --gold-light: #f0c94a;
  --cream: #f7f4ee;
  --white: #ffffff;
  --charcoal: #1c1c1c;
  --gray: #5c6672;
  --gray-light: #e6e2d9;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 28, 44, 0.12);
  --shadow-sm: 0 4px 14px rgba(11, 28, 44, 0.08);
  --maxw: 1180px;
  --ff-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --ff-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--gray); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: .6em;
}

.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #c7cfd8; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(200,16,46,.32); }
.btn-primary:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(212,160,23,.32); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd6df;
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #e9edf1; }
.topbar a:hover { color: var(--gold-light); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar-item:last-child { margin-right: 0; }
.topbar-hours { color: var(--gold-light); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(11,28,44,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; border-radius: 6px; }
.brand-text { font-family: var(--ff-head); line-height: 1.05; }
.brand-text .b1 { display: block; font-size: 1.3rem; color: var(--red); font-weight: 700; letter-spacing: .02em; }
.brand-text .b2 { display: block; font-size: .72rem; color: var(--navy); letter-spacing: .22em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--ff-head);
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); border-color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: .82rem; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(11,28,44,.72), rgba(11,28,44,.82)), center/cover no-repeat var(--hero-img);
  padding: 120px 0 100px;
}
.hero .container { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero p.lead { color: #dbe2e8; font-size: 1.12rem; max-width: 600px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero {
  background: linear-gradient(180deg, rgba(11,28,44,.82), rgba(11,28,44,.88)), center/cover no-repeat var(--hero-img);
  color: var(--white);
  padding: 78px 0 64px;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); margin-bottom: .2em; }
.breadcrumb { font-size: .85rem; color: #c7cfd8; }
.breadcrumb a { color: var(--gold-light); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 24px;
  text-align: center;
}
.trust-strip .num { font-family: var(--ff-head); font-size: 1.8rem; color: var(--red); font-weight: 700; }
.trust-strip .label { font-size: .82rem; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card .price-tag { display:inline-block; margin-top: 12px; font-family: var(--ff-head); color: var(--red); font-size: .85rem; letter-spacing: .04em; }

.service-card { display: flex; flex-direction: column; height: 100%; }

/* ---------- Split / feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.check-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 240px; object-fit: cover; width: 100%; }

/* ---------- Testimonials ---------- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  height: 100%;
}
.testimonial p { color: var(--charcoal); font-style: italic; }
.testimonial .who { font-family: var(--ff-head); color: var(--navy); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.testimonial .src { color: var(--gray); font-size: .78rem; }

.rating-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 28px;
}
.rating-badge .score { font-family: var(--ff-head); font-size: 2.6rem; color: var(--gold-light); line-height: 1; }
.rating-badge .meta { font-size: .85rem; color: #cdd6df; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 54px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { color: #ffe1e6; margin: 6px 0 0; }

/* ---------- Map / contact ---------- */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.info-list li:last-child { border-bottom: none; }
.info-list .ico {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list strong { display: block; color: var(--navy); font-family: var(--ff-head); font-size: .95rem; letter-spacing: .02em; }
.info-list span, .info-list a { color: var(--gray); font-size: .95rem; }
.info-list a:hover { color: var(--red); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.hours-table td:last-child { text-align: right; color: var(--gold-light); font-weight: 600; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: .95rem;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red); }
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--gray-light); }
.form-note { font-size: .8rem; color: var(--gray); margin-top: 10px; }
.form-alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .9rem; }
.form-alert.ok { background: #e4f6ea; color: #1e6b3c; border: 1px solid #b7e3c6; }
.form-alert.err { background: #fdeaea; color: #a3262c; border: 1px solid #f3bcbf; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c3cd; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; }
.footer-grid p { color: #a7b2bd; font-size: .9rem; }
.footer-grid ul li { margin-bottom: 10px; font-size: .9rem; }
.footer-grid ul a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 44px; }
.footer-brand span { font-family: var(--ff-head); color: var(--white); font-size: 1.1rem; letter-spacing: .02em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #8b96a1;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
  background: var(--gray-light);
  color: var(--navy);
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar .container { justify-content: center; text-align: center; }
  .nav-links, .nav-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 8px; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 18px 24px 26px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .hero { padding: 84px 0 70px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .rating-badge { flex-direction: column; align-items: flex-start; }
}
