@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lora:wght@300;400;500;600&family=Source+Code+Pro:wght@300;400;500&display=swap');

:root {
  --sky-navy: #1E3A5F;
  --air-blue: #4A6FA5;
  --cloud-white: #F8FAFC;
  --runway-grey: #6B7280;
  --signal-red: #D62828;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --font-code: 'Source Code Pro', monospace;
  
  --shadow-soft: 0 4px 20px rgba(30, 58, 95, 0.1);
  --shadow-medium: 0 8px 32px rgba(30, 58, 95, 0.15);
  --shadow-strong: 0 16px 48px rgba(30, 58, 95, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--runway-grey);
  background: var(--cloud-white);
  overflow-x: hidden;
}

/* Header */
.kt-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  z-index: 9999;
  transition: all 0.3s ease;
}

.kt-header.scrolled {
  background: rgba(30, 58, 95, 0.98);
  backdrop-filter: blur(16px);
}

.kt-header.scrolled .wp-nav a {
  color: var(--cloud-white);
}

.kt-header.scrolled .fj-logo {
  color: var(--cloud-white);
}

.fj-nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.fj-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--sky-navy);
  text-decoration: none;
  transition: all 0.3s ease;
}

.wp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.wp-nav a {
  color: var(--sky-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.wp-nav a:hover {
  color: var(--air-blue);
}

.wp-nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--air-blue);
  transition: width 0.3s ease;
}

.wp-nav a:hover::after {
  width: 100%;
}

.qx-cta-btn {
  background: var(--air-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.qx-cta-btn:hover {
  background: var(--sky-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.rt-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.rt-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sky-navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile Nav */
.mp-mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mp-mobile-nav.active {
  transform: translateY(0);
}

.mp-mobile-nav a {
  display: block;
  padding: 16px 24px;
  color: var(--sky-navy);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  transition: all 0.3s ease;
}

.mp-mobile-nav a:hover {
  background: rgba(74, 111, 165, 0.1);
  color: var(--air-blue);
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--sky-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

h1 {
  font-size: 44px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 600;
}

h3 {
  font-size: 28px;
  font-weight: 600;
}

h4 {
  font-size: 24px;
  font-weight: 500;
}

p {
  margin-bottom: 16px;
}

/* Sections */
.bv-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.8));
  color: var(--cloud-white);
  overflow: hidden;
}

.bv-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  z-index: -1;
}

.nm-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.nm-section:nth-child(even) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.zp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.zp-container.wide {
  max-width: 1200px;
}

.zp-container.medium {
  max-width: 980px;
}

.zp-container.compact {
  max-width: 720px;
}

/* Grid Systems */
.lq-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.lq-grid.archive-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lq-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.lq-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Cards */
.dx-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 58, 95, 0.1);
}

.dx-card:hover {
  transform: perspective(1000px) rotateY(2deg) translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.dx-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.dx-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dx-card:hover .dx-card-header img {
  transform: scale(1.05);
}

.dx-card-content {
  padding: 24px;
}

.dx-card-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--sky-navy);
}

.dx-card-text {
  font-size: 16px;
  color: var(--runway-grey);
  line-height: 1.6;
}

/* Timeline */
.kw-timeline {
  position: relative;
  padding: 48px 0;
}

.kw-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--air-blue);
  transform: translateX(-50%);
}

.kw-timeline-item {
  display: flex;
  margin: 48px 0;
  position: relative;
}

.kw-timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.kw-timeline-content {
  flex: 1;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin: 0 32px;
  border: 1px solid rgba(30, 58, 95, 0.1);
  transition: all 0.3s ease;
}

.kw-timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.kw-timeline-year {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--air-blue);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-code);
  font-weight: 500;
  font-size: 14px;
  z-index: 2;
}

/* Interactive Map */
.vt-map-container {
  position: relative;
  background: var(--cloud-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin: 48px 0;
}

.vt-map-controls {
  padding: 24px;
  background: var(--sky-navy);
  color: var(--cloud-white);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.vt-decade-btn {
  background: rgba(248, 250, 252, 0.2);
  border: 1px solid rgba(248, 250, 252, 0.3);
  color: var(--cloud-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vt-decade-btn:hover,
.vt-decade-btn.active {
  background: var(--air-blue);
  border-color: var(--air-blue);
}

/* Forms */
.pz-form {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(30, 58, 95, 0.1);
  margin: 48px 0;
}

.pz-form-group {
  margin-bottom: 24px;
}

.pz-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--sky-navy);
  font-size: 16px;
}

.pz-form-input,
.pz-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(30, 58, 95, 0.2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--cloud-white);
}

.pz-form-input:focus,
.pz-form-textarea:focus {
  outline: none;
  border-color: var(--air-blue);
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

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

.pz-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.pz-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--air-blue);
}

.pz-checkbox-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--runway-grey);
}

/* Buttons */
.rb-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--air-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.rb-btn:hover {
  background: var(--sky-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.rb-btn.secondary {
  background: transparent;
  color: var(--air-blue);
  border: 2px solid var(--air-blue);
}

.rb-btn.secondary:hover {
  background: var(--air-blue);
  color: white;
}

/* Aircraft Schematic */
.sc-aircraft {
  max-width: 100%;
  margin: 48px 0;
}

.sc-aircraft svg {
  width: 100%;
  height: auto;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 12px;
  background: white;
}

.sc-hotspot {
  cursor: pointer;
  transition: all 0.3s ease;
}

.sc-hotspot:hover {
  fill: var(--signal-red);
  opacity: 0.8;
}

/* Footer */
.gs-footer {
  background: var(--sky-navy);
  color: var(--cloud-white);
  padding: 64px 0 32px;
  margin-top: 96px;
}

.gs-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.gs-footer-section h4 {
  color: var(--cloud-white);
  margin-bottom: 24px;
  font-size: 18px;
}

.gs-footer-section p,
.gs-footer-section a {
  color: rgba(248, 250, 252, 0.8);
  text-decoration: none;
  line-height: 1.6;
  font-size: 16px;
  transition: color 0.3s ease;
}

.gs-footer-section a:hover {
  color: var(--cloud-white);
}

.gs-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gs-footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.2);
  padding-top: 24px;
  text-align: center;
}

.gs-footer-bottom p {
  color: rgba(248, 250, 252, 0.6);
  font-size: 14px;
}

/* Cookie Banner */
.yz-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(12px);
  color: var(--cloud-white);
  padding: 16px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid rgba(74, 111, 165, 0.3);
}

.yz-cookie-banner.show {
  transform: translateY(0);
}

.yz-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yz-cookie-text {
  font-size: 14px;
  flex: 1;
  min-width: 300px;
}

.yz-cookie-actions {
  display: flex;
  gap: 12px;
}

.yz-cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.yz-cookie-accept {
  background: var(--air-blue);
  color: white;
}

.yz-cookie-decline {
  background: transparent;
  color: var(--cloud-white);
  border: 1px solid rgba(248, 250, 252, 0.3);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

.fade-in-delay-1 {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.fade-in-delay-2 {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.fade-in-delay-3 {
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rt-mobile-toggle {
    display: flex;
  }
  
  .wp-nav {
    display: none;
  }
  
  .mp-mobile-nav {
    display: block;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .nm-section {
    padding: 64px 0;
  }
  
  .fj-nav-wrap {
    padding: 0 16px;
  }
  
  .zp-container {
    padding: 0 16px;
  }
  
  .lq-grid.two-col {
    grid-template-columns: 1fr;
  }
  
  .kw-timeline::before {
    left: 20px;
  }
  
  .kw-timeline-item {
    flex-direction: column;
    margin-left: 40px;
  }
  
  .kw-timeline-item:nth-child(even) {
    flex-direction: column;
  }
  
  .kw-timeline-year {
    left: 20px;
    transform: translateX(-50%);
  }
  
  .yz-cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .yz-cookie-text {
    min-width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus {
  outline: 3px solid var(--air-blue);
  outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--air-blue);
  outline-offset: 2px;
}