/* FDZ Aviation — base styles */

:root{
  --bg: #16181c;
  --bg-alt: #1c1f24;
  --border: #2a2e35;
  --text: #e9edf2;
  --text-muted: #a3acb8;
  --blue: #1c9fe0;
  --blue-dark: #0d5f8f;
  --silver: #c7cdd4;
  --radius: 10px;
  --max-width: 1080px;
}

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

html{ scroll-behavior: smooth; font-size: 19px; }

body{
  margin: 0;
  background:
    radial-gradient(ellipse at top, rgba(28, 159, 224, 0.12), transparent 60%) fixed,
    var(--bg);
  color: var(--text);
  font-family: 'Ubuntu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 12px;
}

p{ margin: 0 0 16px; color: var(--text-muted); }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 24, 28, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand-logo{
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.brand-name{
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a{
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover{ color: #fff; }

.nav-cta{
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}

.nav-cta:hover{ background: var(--blue-dark); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero{
  padding: 90px 0 80px;
  text-align: center;
}

.hero-logo{
  width: 220px;
  margin: 0 auto 32px;
}

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

.hero-tagline{
  color: var(--silver);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Compensates for the removed hero-sub paragraph so the buttons stay where they were */
.hero-actions-spaced{
  margin-top: 92px;
}

.btn{
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary{
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}

.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover{ border-color: var(--blue); color: #fff; }

/* Sections */
.section{ padding: 0 0 72px; border-bottom: 1px solid var(--border); scroll-margin-top: 68px; }

.section-alt{ background: rgba(255, 255, 255, 0.025); }

.section-content{ padding-top: 48px; }

.section-content-wide{ max-width: 720px; margin: 0 auto; }

.section-content-wide p{ text-align: justify; }

/* Parallax banners */
.parallax-banner{
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-flying{
  background-image: url("img/paralax1.webp");
}

.banner-software{
  background-image: url("https://images.unsplash.com/photo-1534972195531-d756b9bfa9f2?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1600");
}

.banner-education{
  background-image: url("https://images.unsplash.com/photo-1758685848697-b5fb55f87407?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1600");
}

.banner-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(22,24,28,0.5), rgba(22,24,28,0.75));
}

.banner-overlay h2{
  font-size: 2rem;
  color: #fff;
}

.banner-kingair{
  background-image: url("img/Paralax4.webp");
  background-position: center 40%;
}

.eyebrow-logo{
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.tag-list{
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li{
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--silver);
}

.section-content-wide p.our-products-label{
  margin: 28px 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--silver);
  text-align: center;
}

.product-link{
  display: block;
  width: fit-content;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.product-link:hover{ opacity: 1; }

.product-link img{
  height: 88px;
  width: auto;
}

/* Contact */
.contact-section .section-label{ text-align: center; padding-top: 48px; margin-bottom: 40px; }
.center{ text-align: center; }
.contact-sub{ max-width: 480px; margin: 0 auto; }

.contact-form{
  max-width: 620px;
  margin: 0 auto;
}

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

.form-field{ margin-bottom: 20px; }

.form-field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--blue);
}

.recaptcha-disclosure{
  font-size: 0.62rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin: -20px 0 32px;
  white-space: nowrap;
}

.recaptcha-disclosure a{
  color: var(--silver);
  text-decoration: underline;
}

.recaptcha-disclosure a:hover{ color: #fff; }

/* Hide the floating reCAPTCHA v3 badge — required disclosure text above replaces it */
.grecaptcha-badge{
  visibility: hidden;
}

.form-submit{
  width: 100%;
  border: none;
  font-size: 1rem;
}

.form-status{
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.form-status.success{ color: #4fd18b; }
.form-status.error{ color: #e2645a; }

.company-info-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 620px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.company-info-logo{
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.company-info-name{
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--text);
}

.company-info-address{
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 760px){
  .recaptcha-disclosure{ white-space: normal; }

  .company-info-row{ flex-direction: column; align-items: center; gap: 12px; }
}

/* Footer */
.site-footer{ padding: 28px 0; }

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner a:hover{ color: #fff; }

/* Responsive */
@media (max-width: 760px){
  .main-nav{
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }

  .main-nav.open{ display: flex; }

  .nav-toggle{ display: flex; }

  html{ font-size: 17px; }

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

  .hero h1{ font-size: 2.1rem; }

  .parallax-banner{ height: 240px; background-attachment: scroll; }

  .banner-overlay h2{ font-size: 1.5rem; }
}

/* iOS Safari doesn't support background-attachment: fixed reliably */
@supports (-webkit-touch-callout: none){
  .parallax-banner{ background-attachment: scroll; }
}
