/* ============================================
   Top Ride LLC — N.E.M.T.
   Shared stylesheet
   ============================================ */

:root {
  --blue: #0a3d67;
  --blue-dark: #062843;
  --sky: #2f8fd6;
  --sky-light: #eaf4fc;
  --accent: #1fb6a8;
  --accent-dark: #14958a;
  --light: #f5f9fc;
  --white: #ffffff;
  --gray: #59677a;
  --border: #dbe6ef;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 61, 103, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-dark);
  color: #cfe0ee;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-badge {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  color: var(--white);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap;
}
.logo-text span {
  color: #b9dcf4;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: #e8f1fa;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main-nav a:hover { color: var(--accent); }
nav.main-nav a.active { color: var(--accent); border-color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.btn-nav { padding: 10px 20px; font-size: 0.9rem; background: var(--white); color: var(--blue); }
.btn.btn-nav:hover { background: var(--sky-light); }
.btn.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn.btn-outline:hover { background: var(--white); color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding: 100px 0 110px;
}
.hero .bg-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(6,40,67,0.93) 34%, rgba(6,40,67,0.55)),
    url("images/hero-minivan.jpg");
  background-size: cover;
  background-position: center 25%;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 640px; }
.hero .kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  margin: 14px 0 18px;
}
.hero p { font-size: 1.12rem; color: #d9e6f2; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-badges div { font-size: 0.85rem; color: #b9dcf4; font-weight: 600; }
.hero-badges strong { display: block; color: var(--white); font-size: 1.3rem; }

/* ---------- Sections ---------- */
section.block { padding: 80px 0; }
section.block.alt { background: var(--light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .kicker {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}
.section-head h2 { font-size: 2.1rem; margin: 8px 0 12px; }
.section-head p { color: var(--gray); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--blue);
  color: var(--white);
  padding: 50px 0;
}
.stats .grid { text-align: center; }
.stat strong { font-size: 2.4rem; color: var(--accent); display: block; }
.stat span { color: #c7dcee; font-size: 0.95rem; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split h2 { font-size: 2rem; margin-bottom: 16px; }
.split p { color: var(--gray); margin-bottom: 14px; }
.checklist { list-style: none; margin-top: 10px; }
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 600;
}
.checklist li::before {
  content: "✔";
  color: var(--accent-dark);
  position: absolute;
  left: 0;
}
.about-photo {
  border-radius: var(--radius);
  min-height: 340px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  background-image: url("images/fleet-sedan-silver-1.jpg");
}

/* ---------- Fleet gallery ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.fleet-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
}
.fleet-card .photo {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.fleet-card .info { padding: 20px 22px; }
.fleet-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.fleet-card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- Parallax-style band ---------- */
.promo-band {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}
.promo-band .bg-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,40,67,0.85), rgba(6,40,67,0.85)),
    url("images/fleet-sedan-maroon-1.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.promo-band .container { position: relative; z-index: 1; }
.promo-band .kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
}
.promo-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 12px 0; }
.promo-band p { color: #d9e6f2; font-size: 1.1rem; max-width: 620px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-info .info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info .info-row .ic {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--blue);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-info .info-row h4 { margin-bottom: 2px; font-size: 1rem; }
.contact-info .info-row p, .contact-info .info-row a { color: var(--gray); text-decoration: none; }
.contact-info .info-row a:hover { color: var(--accent-dark); }
.notice {
  background: #fff7e8;
  border: 1px solid #f3ddb0;
  border-left: 4px solid #e0a624;
  border-radius: 7px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #6b5421;
  margin-top: 8px;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.field-row:last-child { margin-bottom: 0; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 6px;
}
.field label .req { color: #d33; }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fbfdfe;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.submit-row { margin-top: 10px; }
.submit-row .btn { min-width: 240px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status.ok { display: block; background: #e7f6ec; color: #1d6b3a; border: 1px solid #b4dfc3; }
.form-status.err { display: block; background: #fdebea; color: #94261e; border: 1px solid #f2c2bf; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--blue-dark);
  color: #a9c2d6;
  padding: 50px 0 26px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
footer a { color: #a9c2d6; text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #123853;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5%;
    gap: 14px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .split, .contact-split { grid-template-columns: 1fr; }
  .about-photo { min-height: 240px; order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .quote-card { padding: 24px 20px; }
  .hero { padding: 70px 0; }
}
