/* ==================================================================
   ROCKET CITY PRIVATE TRANSPORTATION — STYLES
   Mobile-first. Sections are edited from top to bottom in the order
   they appear on the page. Color/type tokens live in :root at the
   top — change a value there to update it everywhere.
   ================================================================== */

:root {
  /* Colors */
  --bg: #06070c;
  --bg-panel: #0c0f1a;
  --ink: #f2f4f9;
  --ink-dim: #98a1b8;
  --blue: #2e5cf6;
  --blue-bright: #5b82ff;
  --blue-deep: #12204f;
  --line: rgba(242, 244, 249, 0.1);
  --line-strong: rgba(242, 244, 249, 0.2);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1120px;
  --gutter: 20px;
  --radius: 4px;
}

/* ------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

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

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

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Respect users who've asked for less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Hides content visually while keeping it available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-bright);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-dim);
  border-color: transparent;
  padding: 10px 16px;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-full {
  width: 100%;
}

/* ------------------------------------------------------------------
   HEADER / NAV
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-call {
  display: none;
}

/* Mobile nav (hidden off-canvas, slides in) */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--bg-panel);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 90px 28px 28px;
  z-index: 99;
}

.main-nav.is-open {
  transform: translateX(0);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.main-nav a:hover {
  color: var(--blue-bright);
}

.nav-book-link {
  color: var(--blue-bright) !important;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  position: relative;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* The hero photo already contains the full logo, tagline and icon row,
   so it's shown in full (never cropped) and simply centered. On tall
   screens it's height-capped; on wide screens it's width-capped. */
.hero-media {
  display: flex;
  justify-content: center;
  background: #06070c;
  padding: 0 var(--gutter);
}

.hero-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px var(--gutter) 44px;
  text-align: center;
}

/* Recreated caption strip: this replaces the bottom row that was
   baked into the original artwork, so wording (like "Local") can be
   edited here without touching the image file. */
.hero-caption {
  background: var(--bg);
  padding: 28px var(--gutter) 22px;
}

.hero-caption-list {
  list-style: none;
  margin: 0 auto 18px;
  padding: 0;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 8px;
}

.hero-caption-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hero-caption-icon {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.hero-caption-label {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
}

.hero-caption-tag {
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.hero-caption-tag span {
  color: var(--blue-bright);
  margin: 0 4px;
}

@media (min-width: 560px) {
  .hero-caption-list {
    grid-template-columns: repeat(4, 1fr);
    max-width: 640px;
  }
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 0 auto 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (min-width: 720px) {
  .hero-image {
    max-height: 78vh;
    object-position: center 18%;
  }
}

/* ------------------------------------------------------------------
   SELLING POINTS
   ------------------------------------------------------------------ */
.selling-points {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.point-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0 22px 20px;
  border-left: 2px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.point-row:last-child {
  border-bottom: none;
}

.point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-icon svg {
  width: 22px;
  height: 22px;
}

.point-copy h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.point-copy p {
  margin: 0;
  max-width: 60ch;
}

/* ------------------------------------------------------------------
   SECTION TITLES (shared)
   ------------------------------------------------------------------ */
.section-title {
  font-size: clamp(26px, 5vw, 34px);
  margin-bottom: 36px;
}

/* ------------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------------ */
.services {
  padding: 70px 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-panel);
  padding: 28px 24px;
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-card:hover {
  border-left-color: var(--blue-bright);
  background: #101526;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  margin: 0;
  font-size: 15px;
}

/* ------------------------------------------------------------------
   WHY CHOOSE US
   ------------------------------------------------------------------ */
.why-choose-us {
  padding: 70px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  font-size: 14px;
}

/* ------------------------------------------------------------------
   BOOKING FORM
   ------------------------------------------------------------------ */
.booking {
  padding: 70px 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.booking-note {
  max-width: 60ch;
  margin-bottom: 30px;
  font-size: 14px;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 640px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue-bright);
}

.form-row textarea {
  resize: vertical;
}

.field-error {
  font-size: 12.5px;
  color: #ff8a8a;
  min-height: 1em;
}

.form-success {
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(46, 92, 246, 0.12);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
}

/* ------------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------------ */
.contact {
  padding: 70px 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-role,
.contact-location {
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-name {
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 2px;
}

.footer-location {
  margin: 0;
  font-size: 14px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.footer-contact a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* ------------------------------------------------------------------
   STICKY MOBILE BOOK BUTTON
   ------------------------------------------------------------------ */
.mobile-sticky-book {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-sticky-book.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------------------------------------------------
   RESPONSIVE — TABLET AND UP
   ------------------------------------------------------------------ */
@media (min-width: 720px) {
  .header-call {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contact-buttons {
    flex-direction: row;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer-contact {
    align-items: flex-end;
  }
}

/* ------------------------------------------------------------------
   RESPONSIVE — DESKTOP
   ------------------------------------------------------------------ */
@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    border-left: none;
    transform: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .main-nav a {
    padding: 0;
    border-bottom: none;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mobile-sticky-book {
    display: none;
  }

  .booking-form {
    grid-template-columns: 1fr 1fr;
  }

  .booking-form .form-row:not(.form-row-half) {
    grid-column: 1 / -1;
  }

  .booking-form .btn-full,
  .form-success {
    grid-column: 1 / -1;
  }
}
