:root {
  --blue: #0A3D62;
  --yellow: #F9C74F;
  --white: #ffffff;
  --light: #F4F6F8;
  --text: #1F2933;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

/* =========================
   STICKY HEADER
========================= */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: #08324f;
  color: white;
  font-size: 0.9rem;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center; 
}

.top-bar a {
  color: white;
  font-weight: 500;
  opacity: 0.9;
}

.top-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.top-bar .whatsapp {
  color: var(--yellow);
  font-weight: 700;
}

/* =========================
   NAV
========================= */
.nav {
  background: var(--blue);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px; 
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

.nav-phone {
  background: var(--yellow);
  color: #000;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.nav-phone:hover {
  background: #f7bd3a;
}

/* =========================
   HERO
========================= */
.hero {
  background:
    linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.85)),
    url("/images/hero-la-wide.jpg") center / cover no-repeat;
  color: white;
  padding: 160px 24px 100px; /* prevents sticky overlap */
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--yellow);
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
}

.btn-secondary {
  border: 2px solid white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  color: white;
}

/* =========================
   TRUST BAR
========================= */
.trust {
  background: var(--light);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-item {
  font-weight: 600;
}

/* ABOUT PAGE 50/50 SPLIT */
.about-page {
  background: var(--white);
}

.about-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* prevents overflow issues in grid children */
.about-page-inner > * {
  min-width: 0;
}

.about-text h1 {
  color: var(--blue);
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* keep image nicely sized and aligned right */
.about-image {
  display: flex;
  justify-content: flex-end;
}

.about-image img {
  width: 100%;
  max-width: 560px;      /* key: stops it from going huge */
  height: auto;
  display: block;
  border-radius: 16px;
}

/* MOBILE STACK */
@media (max-width: 900px) {
  .about-page-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    justify-content: center;
  }
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--blue);
}

/* =========================
   SERVICES
========================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 24px;
}

.service-content h3 {
  margin-bottom: 12px;
  color: var(--blue);
}

/* =========================
   LAX FEATURE
========================= */
.lax-section {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px 80px;
}

.lax {
  background:
    linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.85)),
    url("/images/taxi-lax.jpg") center / cover no-repeat;
  color: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}

.lax h2 {
  color: white;
}

.lax p {
  max-width: 800px;
  margin: 0 auto 24px;
}

/* =========================
   WHY US
========================= */
.why {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.why-item {
  width: 100%;
  max-width: 320px;
  padding: 24px;
  border-left: 4px solid var(--yellow);
  background: var(--light);
}

/* =========================
   CTA
========================= */
.cta {
  background:
    linear-gradient(rgba(249, 199, 79, 0.9), rgba(249, 199, 79, 0.9)),
    url("/images/la-super-taxi.jpg") center / cover no-repeat;
  padding: 100px 24px;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  color: var(--blue);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.btn-cta {
  background: var(--blue);
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #0b2239;
  color: white;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.9rem;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .about-home-inner,
  .about-page-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-phone {
    font-size: 0.95rem;
  }

  .top-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 12px;
  }

  .top-bar .whatsapp {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}

/* =========================
   PAGE HERO (ABOUT / CONTACT)
========================= */
.page-hero {
  background: #F5F6F8;
  padding: 160px 24px 100px;
  text-align: center;
  color: #08324F;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 600px) {
  .page-hero {
    padding: 140px 20px 80px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1.05rem;
  }
}

/* =========================
   CONTACT FORM
========================= */

.contact-section {
  background: var(--white);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Form layout */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Labels */
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #cfd6dc;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus states */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

/* Submit button */
.contact-form button {
  margin-top: 16px;
  align-self: flex-start;
  cursor: pointer;
}

.legal-page {
  background: var(--white);
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-inner h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 1.4rem;
}

.legal-inner p,
.legal-inner li {
  font-size: 1rem;
  line-height: 1.7;
}

.legal-inner ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* =========================
   LEGAL BAR (BOTTOM)
========================= */
.legal-bar {
  background: #08324f; /* same as top bar */
  color: white;
  font-size: 0.85rem;
}

.legal-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-bar a {
  color: white;
  opacity: 0.85;
  font-weight: 500;
}

.legal-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-bar-inner {
    gap: 10px;
    text-align: center;
  }
}
