/* TopCar Limo Services — static site styles
   No JavaScript is used anywhere on this site. Every interactive-looking
   element (mobile menu, booking modal) is driven with pure CSS using the
   checkbox/label toggle technique. */

:root {
  --bg: #13191b;
  --bg-alt: #0f1416;
  --panel: #1b2225;
  --panel-border: rgba(255, 255, 255, 0.08);
  --heading: #ffffff;
  --body: #d4d4d8;
  --muted: #9a9ea3;
  --accent: #c1a47b;
  --accent-ink: #13191b;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Fixed-ratio, cropped photo frames — guarantees every content photo
   (regardless of its original file's exact aspect ratio) fills its box
   edge-to-edge with no stretching, squishing, or distortion. */
.diff-image, .feature-image, .process-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
}
.diff-image img, .feature-image img, .process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

.eyebrow-rule {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 18px 0 28px;
}

.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover { border-color: #fff; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(15, 20, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand svg { flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.brand-tag {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  color: #cfd2d4;
}
.nav-links a:hover { color: #fff; }
.nav-phone {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-cta { display: flex; align-items: center; gap: 22px; }

.hamburger-label {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
}
#nav-toggle { display: none; }

.mobile-panel { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hamburger-label { display: flex; }
  .mobile-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--bg-alt);
    transition: max-height 0.3s ease;
  }
  #nav-toggle:checked ~ .mobile-panel {
    max-height: 480px;
  }
  .mobile-panel-inner { padding: 10px 24px 28px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-panel-inner a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #cfd2d4;
  }
  .mobile-panel-inner .btn { margin-top: 14px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,13,0.88) 0%, rgba(10,12,13,0.55) 45%, rgba(10,12,13,0.35) 100%);
}
.hero-slide-1 { background-image: url("../images/hero-1-rear-seat.jpg"); animation-delay: 0s; }
.hero-slide-2 { background-image: url("../images/hero-2-jet-tarmac.jpg"); animation-delay: -6s; }
.hero-slide-3 { background-image: url("../images/hero-3-door-open.jpg"); animation-delay: -12s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide-1 { opacity: 1; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  font-size: 1.15rem;
  color: #e4e5e6;
  max-width: 46ch;
}

.quote-card {
  background: rgba(15, 19, 21, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(4px);
}
.quote-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-tagline {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.quote-field {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}
.quote-field::placeholder { color: #9a9ea3; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-submit { width: 100%; margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Generic section ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Difference ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.diff-item { display: flex; gap: 16px; margin-bottom: 32px; }
.diff-item:last-child { margin-bottom: 0; }
.diff-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.diff-item p { color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .diff-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Feature rows (Chauffeured / One Contact) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-image { order: 1; }
.feature-copy p { color: var(--muted); }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-image { order: initial; }
}

/* ---------- Service area map ---------- */
.map-frame {
  border: 0;
  width: 100%;
  height: 460px;
  border-radius: 14px;
  filter: grayscale(0.15) invert(0.92) contrast(0.9);
}

/* ---------- Process ---------- */
.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.process-row:last-child { margin-bottom: 0; }
.process-row.reverse .process-copy { order: 2; }
.process-row.reverse .process-image { order: 1; }
.process-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.16);
  margin-bottom: 6px;
}
.process-copy p { color: var(--muted); }

@media (max-width: 860px) {
  .process-row, .process-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .process-row.reverse .process-copy,
  .process-row.reverse .process-image { order: initial; }
}

/* ---------- Testimonials ---------- */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}
.stars { color: var(--accent); letter-spacing: 2px; }
.review-count { color: var(--muted); font-weight: 400; font-size: 0.95rem; text-align: center; margin-bottom: 40px; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.review-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 28px;
}
.review-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.review-name { color: #fff; font-weight: 700; }
.review-date { color: var(--muted); font-size: 0.85rem; display: block; margin-bottom: 10px; }
.review-stars { color: var(--accent); margin-bottom: 10px; letter-spacing: 2px; }

.review-cta { text-align: center; margin-top: 36px; }

@media (max-width: 700px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* ---------- Brand story ---------- */
.story p { max-width: 760px; margin-left: auto; margin-right: auto; color: var(--muted); font-size: 1.05rem; }
.story + .story { margin-top: 56px; }

/* ---------- Safety banner ---------- */
.safety-banner {
  position: relative;
  padding: 120px 0;
  background-image: linear-gradient(rgba(10,12,13,0.82), rgba(10,12,13,0.86)), url("../images/hero-1-rear-seat.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}
.safety-banner .section-head { margin-bottom: 32px; }
.safety-banner .btn-row { justify-content: center; }

/* ---------- Compliance ---------- */
.compliance h3 { margin-top: 40px; }
.compliance h4 { color: #fff; font-size: 1.05rem; margin: 20px 0 8px; }
.compliance ul { color: var(--muted); padding-left: 20px; }
.compliance li { margin-bottom: 8px; }
.compliance a { color: var(--accent); }
.compliance-intro { color: var(--muted); max-width: 760px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-alt);
  padding: 72px 0 28px;
  border-top: 1px solid var(--panel-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { color: var(--muted); font-size: 0.92rem; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #cfd2d4;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col .contact-line { display: flex; gap: 10px; color: var(--muted); font-size: 0.94rem; }
.footer-col .contact-line svg { flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid var(--panel-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); margin-left: 18px; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Booking modal (pure CSS, checkbox-driven) ---------- */
#book-modal { display: none; }
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 9, 0.82);
  z-index: 1000;
  padding: 40px 20px;
  overflow-y: auto;
}
#book-modal:checked ~ .modal-overlay {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.modal-box {
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 8px;
  position: relative;
  margin: auto;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.modal-box iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  border-radius: 12px;
  display: block;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}
.notfound .big { font-size: clamp(5rem, 18vw, 11rem); color: rgba(255,255,255,0.08); font-weight: 800; margin: 0; }
