/* ============================================================
   Aura Cabs — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:          #050d1a;
  --bg-raised:   #081426;
  --accent:      #4a9ebb;
  --text:        #eaf2fb;
  --muted:       rgba(234, 242, 251, 0.56);
  --faint:       rgba(234, 242, 251, 0.30);
  --line:        rgba(255, 255, 255, 0.08);
  --line-accent: rgba(74, 158, 187, 0.18);
  --font:        'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --shell:       1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ----- Shared type ----- */
.eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
}

.lede {
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

section { padding-block: clamp(5rem, 11vw, 9rem); }

/* ----- Scroll reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- Navigation ----- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(5, 13, 26, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo { margin-right: auto; display: block; }

/* The logo PNG has large transparent padding — crop to the artwork band */
.nav-logo img,
.footer-logo,
.final-logo {
  object-fit: cover;
  object-position: 50% 41.5%;
}

.nav-logo img { width: 148px; height: 31px; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--line-accent);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background 0.25s var(--ease);
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(74, 158, 187, 0.06);
}

/* ----- Hero ----- */
#hero {
  position: relative;
  height: 500vh;
  padding: 0;
}

.hero-video-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  #hero {
    height: 300vh;
  }

  #hero-video {
    position: absolute;
    width: auto;
    height: 100%;
    min-height: 100vh;
    left: 50%;
    transform: translateX(-35%);
    object-fit: cover;
  }

  .kpi-overlay {
    display: none;
  }

  .hero-logo {
    width: 160px;
  }

  .final-card {
    width: 92%;
    margin: 0 auto;
    padding: 2rem;
    left: 50%;
    transform: translateX(-50%) !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 13, 26, 0.72) 0%,
    rgba(5, 13, 26, 0.48) 40%,
    rgba(5, 13, 26, 0.86) 100%
  );
}

.kpi-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

#card-1 { position: absolute; top: 52%; left: 18%; pointer-events: auto; }
#card-2 { position: absolute; top: 35%; left: 40%; pointer-events: auto; }
#card-3 { position: absolute; top: 28%; left: 64%; pointer-events: auto; }

.glass-card {
  background: rgba(5, 13, 26, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-accent);
  border-radius: 14px;
  padding: 14px 20px;
  max-width: 290px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.glass-card.visible { opacity: 1; transform: translateY(0); }

.card-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.glass-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ----- End screen ----- */
#end-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 13, 26, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

#end-screen.visible { opacity: 1; pointer-events: auto; }

/* Blurs only the centre of frame (the signage) — edges stay sharp */
.sign-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 92%;
  transform: translate(-50%, -50%);
  background: rgba(5, 13, 26, 0.18);
  backdrop-filter: blur(26px) saturate(105%);
  -webkit-backdrop-filter: blur(26px) saturate(105%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 80%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 80%);
}

.final-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  width: min(620px, 90vw);
  padding: 3rem 3.25rem;
  background: rgba(5, 13, 26, 0.82);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(2, 6, 14, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease 0.4s, transform 0.9s var(--ease) 0.4s;
}

#end-screen.show-buttons .final-card { opacity: 1; transform: translateY(0); }

.final-card-inner {
  align-items: center;
  text-align: center;
}

.final-logo { width: 176px; height: 37px; opacity: 0.95; }

.final-headline {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
}

.final-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.final-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 158, 187, 0.5), transparent);
}

.final-cta-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.final-cta {
  display: inline-block;
  padding: 0.78rem 1.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.final-cta:hover  { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.final-cta:active { transform: translateY(0); }

.final-cta-secondary {
  display: inline-block;
  padding: 0.78rem 1.7rem;
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.final-cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

.final-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.final-trust { display: flex; align-items: center; gap: 0.55rem; }

.final-trust span {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.final-trust span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.22);
}

.final-domain {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.22);
}

/* ----- Services (chrome grid) ----- */
.chrome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #050d1a;
}

.chrome-panel {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.4s ease;
}

.chrome-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.chrome-panel:hover::before { opacity: 1; }

.chrome-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.chrome-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  font-weight: 300;
}

.chrome-title {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.chrome-body {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  font-weight: 300;
}

/* ----- Routes ----- */
#routes { background: var(--bg-raised); }

.route-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3.5rem;
}

.route-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              border-color 0.3s var(--ease);
}

.route-list li:hover { border-bottom-color: var(--line-accent); }

.route-list li:nth-child(2) { transition-delay: 0.05s; }
.route-list li:nth-child(3) { transition-delay: 0.10s; }
.route-list li:nth-child(4) { transition-delay: 0.15s; }
.route-list li:nth-child(5) { transition-delay: 0.20s; }
.route-list li:nth-child(6) { transition-delay: 0.25s; }
.route-list li:nth-child(7) { transition-delay: 0.30s; }
.route-list li:nth-child(8) { transition-delay: 0.35s; }

.route-name {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
}

.route-code {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.route-note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 48ch;
}

/* ----- Fleet ----- */
.fleet-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.fleet-copy .section-title { margin-bottom: 1.5rem; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.35rem;
}

.spec-list dd {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
}

.fleet-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(2, 6, 14, 0.5);
  transition-delay: 0.12s;
}

.fleet-media img { width: 100%; height: auto; border-radius: 0 0 16px 16px; clip-path: inset(8% 0 0 0 round 0 0 16px 16px); }

/* ----- Booking ----- */
.booking-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(150deg, rgba(74, 158, 187, 0.07), rgba(8, 16, 30, 0.55) 55%);
  border: 1px solid var(--line-accent);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.booking-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.booking-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.form-optional {
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: border-color 0.25s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group input[type="date"],
.form-group input[type="time"] {
  color-scheme: dark;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.85rem 2.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.76rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.form-submit:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.form-submit:active:not(:disabled) { transform: translateY(0); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 300;
  min-height: 1.2em;
}

.form-message--success { color: rgba(100, 220, 160, 0.9); }
.form-message--error   { color: rgba(255, 120, 100, 0.9); }

.booking-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary:hover  { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

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

.trust-row {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.trust-row li {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
}

.trust-row li:not(:last-child)::after {
  content: "·";
  margin-left: 0.6rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ----- Footer ----- */
#site-footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo { width: 158px; height: 33px; margin-bottom: 1.1rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 34ch;
}

.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover { color: var(--accent); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-phone {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
  transition: color 0.25s var(--ease);
}

.footer-phone:hover { color: var(--accent); }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .chrome-grid { grid-template-columns: 1fr; }

  .route-list   { grid-template-columns: 1fr; gap: 0; }
  .fleet-split  { grid-template-columns: 1fr; }
  .fleet-media  { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  #card-1, #card-2, #card-3 {
    left: 6%;
    right: 6%;
    max-width: none;
  }
  #card-1 { top: 42%; }
  #card-2 { top: 57%; }
  #card-3 { top: 72%; }

  .glass-card { max-width: none; }

  .sign-blur { width: 100%; height: 70%; }

  .final-card { padding: 2.25rem 1.75rem; gap: 1.15rem; }

  .spec-list    { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
