/* ===========================
   SANJOSEAIRPORTLIMO.COM
   Global Styles
   =========================== */

:root {
  --color-primary: #b8860b;
  --color-primary-dark: #8f6b08;
  --color-navy: #0f172a;
  --color-navy-dark: #111827;
  --color-text: #1f2937;
  --color-heading: #0f172a;
  --color-muted: #64748b;
  --color-border: #e5e7eb;
  --color-light: #f8fafc;
  --color-white: #ffffff;
  --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hero: 0 15px 40px rgba(0, 0, 0, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

p {
  margin-bottom: 18px;
}

h1,
h2 {
  font-weight: 700;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.2;
}

h2 {
  margin-bottom: 20px;
  color: var(--color-heading);
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  line-height: 1.3;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.alt {
  background: var(--color-light);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.small-note {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: var(--color-navy-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-heading);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===========================
   Header
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  padding: 10px 20px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.9rem;
  text-align: center;
}

.top-bar a {
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4%;
}

.logo-link {
  display: block;
  flex: 0 0 auto;
}

.site-logo {
  width: auto;
  max-height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--color-heading);
  transition: color var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.nav-actions .btn {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-heading);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ===========================
   Hero
   =========================== */

.hero {
  display: flex;
  align-items: center;
  min-height: 700px;
  color: var(--color-white);
  background: linear-gradient(90deg, rgba(4, 12, 24, 0.92), rgba(4, 12, 24, 0.72)), url("/images/backgrounds/sjc-airport-transportation-hero.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 820px;
}

.hero h1 {
  color: var(--color-white);
}

.hero-text {
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.hero .btn-outline {
  color: var(--color-white);
}

.hero .btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.hero-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-hero);
}

.hero-card ul {
  margin: 0;
}

.card-title {
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ===========================
   Trust Bar
   =========================== */

.trust-bar {
  padding: 25px 0;
  background: var(--color-navy-dark);
  color: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-grid span {
  font-weight: 700;
  line-height: 1.4;
}

/* ===========================
   Cards and Content Blocks
   =========================== */

.card-grid {
  display: grid;
  gap: 30px;
}

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

.info-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.info-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.info-card .card-title,
.info-card p,
.info-card a {
  padding-inline: 20px;
}

.info-card .card-title {
  margin: 20px 0 10px;
  color: var(--color-heading);
}

.info-card p:not(.card-title) {
  margin-bottom: 12px;
}

.info-card .capacity {
  margin-top: auto;
  color: var(--color-heading);
  font-weight: 700;
}

.info-card a {
  display: inline-block;
  padding-bottom: 20px;
  color: var(--color-primary);
  font-weight: 700;
}

.info-card a:hover {
  color: var(--color-primary-dark);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: 50px;
}

.feature-list {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.feature-list ul {
  margin-bottom: 0;
}

/* ===========================
   Tables
   =========================== */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.travel-time-table {
  width: 100%;
  min-width: 620px;
  margin-top: 30px;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.travel-time-table th {
  padding: 16px;
  background: var(--color-navy);
  color: var(--color-white);
  text-align: left;
}

.travel-time-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.travel-time-table tbody tr:nth-child(even) {
  background: var(--color-light);
}

.travel-time-table tbody tr:hover {
  background: #eef2ff;
}

/* ===========================
   FAQ and CTA
   =========================== */

.faq-preview .faq-item {
  max-width: 900px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-preview .faq-item:first-of-type {
  padding-top: 0;
}

.faq-preview .faq-item p:last-child {
  margin-bottom: 0;
}

.final-cta {
  padding: 70px 0 48px;
  background: var(--color-navy);
  color: var(--color-white);
}

.final-cta h2 {
  max-width: 880px;
  color: var(--color-white);
}

.final-cta p {
  max-width: 820px;
}

.final-cta .btn-secondary {
  background: var(--color-white);
  color: var(--color-navy-dark);
}

.final-cta .btn-secondary:hover {
  background: var(--color-light);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  padding: 52px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--color-navy);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(260px, 1.25fr)
    minmax(250px, 1fr)
    minmax(220px, 0.85fr)
    minmax(240px, 0.9fr);
  align-items: start;
  column-gap: 48px;
  row-gap: 36px;
}

.footer-column {
  min-width: 0;
}

.footer-about {
  max-width: 470px;
}

.footer-logo {
  width: 180px;
  max-width: 100%;
  margin: 0 0 22px;
}

.site-footer p {
  margin: 0;
  line-height: 1.55;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p,
.footer-list li {
  margin: 0 0 10px;
}

.footer-contact p:last-child,
.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--color-white);
  transition: color var(--transition);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-primary);
}

.footer-list a {
  display: inline-block;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 52px;
  padding: 22px 4% 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p + p {
  margin-top: 8px;
}
