/* ========================================
   Multipage-specific styles
   ======================================== */

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-caret {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Page hero (shorter than homepage) */
.page-hero {
  position: relative;
  padding: 160px 40px 80px;
  background: var(--navy);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img,
.page-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.55) 35%, rgba(10, 22, 40, 0.15));
}

.page-hero-content {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(30, 77, 140, 0.1);
  border: 1px solid rgba(30, 77, 140, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--silver);
  max-width: 600px;
  line-height: 1.7;
}

/* Callout section (homepage S-61T teaser) */
.callout-section {
  padding: 100px 0;
  background: var(--off-white);
}

.callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.callout-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
}

.callout-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* CTA section */
.cta-section {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

/* Aircraft Sales page */
.aircraft-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.aircraft-hero-stat {
  text-align: center;
}

.aircraft-hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.aircraft-hero-stat .stat-unit {
  font-size: 14px;
  color: var(--silver);
  display: block;
}

.aircraft-hero-stat .stat-label {
  font-size: 12px;
  color: var(--steel);
  display: block;
  margin-top: 4px;
}

.aircraft-gallery {
  padding: 80px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 16px 20px;
  background: var(--off-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* Mission equipment grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.equipment-card {
  padding: 32px;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.equipment-card:hover {
  border-color: rgba(30, 77, 140, 0.2);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.equipment-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.equipment-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}

/* Upgrade cards with hover reveal */
.upgrade-card {
  position: relative;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.upgrade-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  transition: opacity 0.3s var(--ease);
}

.upgrade-card .upgrade-desc {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: 12px;
}

.upgrade-card:hover .upgrade-desc {
  opacity: 1;
}

.upgrade-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 77, 140, 0.3);
}

/* About page - history timeline */
.history-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 48px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark), transparent);
}

.history-entry {
  position: relative;
  padding-bottom: 40px;
}

.history-entry:last-child {
  padding-bottom: 0;
}

.history-entry::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.history-year {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.history-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.history-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 640px;
}

/* Founder section */
.founder-section {
  padding: 100px 0;
  background: var(--navy);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.founder-image {
  border-radius: 16px;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  object-fit: cover;
}

.founder-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-placeholder span {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

/* Careers page */
.careers-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  padding: 40px 32px;
  background: var(--off-white);
  border-radius: 12px;
  text-align: center;
}

.benefit-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.careers-cta {
  text-align: center;
  padding: 80px 0;
  background: var(--navy);
}

.careers-cta .btn {
  font-size: 18px;
  padding: 18px 48px;
}

/* Trusted section updates for multipage */
.trusted-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.trusted-context {
  display: block;
  font-size: 12px;
  color: var(--silver);
  margin-top: 2px;
}

.trusted-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
}

/* Contact pathways */
.contact-pathways {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}

.pathway {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.pathway-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.pathway-desc {
  display: block;
  font-size: 13px;
  color: var(--steel);
  margin-top: 4px;
}

.pathway-contact {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .callout {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .careers-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 24px 60px;
  }
  .aircraft-hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .nav-dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
}
