/*
Theme Name: Wronsky Aeroworks
Author: Wronsky Aeroworks
Version: 1.0
*/

:root {
  --bg: #020814;
  --navy: #061A3A;
  --navy2: #09234B;
  --line: rgba(255,255,255,.13);
  --white: #F5F7FA;
  --text: #D8E0EC;
  --muted: #A6B3C3;
  --red: #E1262F;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

.wa-topbar {
  height: 118px;
  background: rgba(2, 8, 20, .96);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.wa-logo img {
  display: block;
  width: 360px;
  max-width: 42vw;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.35));
}

.wa-nav {
  display: flex;
  gap: 46px;
  align-items: center;
}

.wa-nav a {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .9;
}

.wa-nav a:hover {
  color: var(--red);
}

.wa-hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 42%, rgba(30, 85, 150, .42), transparent 32%),
    linear-gradient(90deg, #061A3A 0%, #04142D 47%, #061A3A 100%);
  overflow: hidden;
}

.wa-hero-copy {
  padding-left: clamp(42px, 8vw, 150px);
  padding-right: 30px;
}

.wa-kicker {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.wa-hero h1 {
  color: var(--white);
  font-size: clamp(48px, 5vw, 86px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
  margin: 0 0 24px;
  max-width: 760px;
}

.wa-hero p {
  color: var(--text);
  font-size: clamp(18px, 1.28vw, 23px);
  line-height: 1.58;
  max-width: 720px;
  margin: 0 0 44px;
  font-weight: 500;
}

.wa-buttons {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  min-width: 250px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: white;
}

.wa-button-primary {
  background: linear-gradient(180deg, #F0323A, #C81722);
  box-shadow: 0 22px 60px rgba(225,38,47,.34);
}

.wa-button-secondary {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.03);
}

.wa-plane {
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 48px;
}

.wa-plane-placeholder {
  width: min(900px, 90%);
  aspect-ratio: 16/8.6;
  border-radius: 34px;
  background:
    radial-gradient(circle at 45% 45%, rgba(255,255,255,.14), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px rgba(0,0,0,.42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.38);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.wa-section {
  padding: 56px 42px 98px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(19, 65, 128, .32), transparent 30%),
    linear-gradient(180deg, #061A3A 0%, #020814 100%);
}

.wa-section-inner {
  max-width: 1420px;
  margin: 0 auto;
  text-align: center;
}

.wa-section h2 {
  color: var(--white);
  font-size: clamp(34px, 3.2vw, 56px);
  letter-spacing: -.05em;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 18px;
}

.wa-section-intro {
  color: var(--text);
  max-width: 860px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.wa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: left;
}

.wa-card {
  min-height: 215px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 42px 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}

.wa-card h3 {
  color: var(--white);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.wa-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}

.wa-footer {
  padding: 70px 42px;
  background: #020814;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.wa-footer-inner {
  max-width: 1420px;
  margin: 0 auto;
}

.wa-footer strong {
  display: block;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .wa-topbar {
    height: auto;
    min-height: 96px;
    padding: 18px 24px;
    flex-direction: column;
    gap: 18px;
  }

  .wa-logo img {
    width: 320px;
    max-width: 86vw;
  }

  .wa-nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .wa-nav a {
    font-size: 12px;
  }

  .wa-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wa-hero-copy {
    padding: 72px 24px 20px;
    text-align: center;
  }

  .wa-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .wa-buttons {
    justify-content: center;
  }

  .wa-plane {
    min-height: 320px;
    padding: 20px 24px 72px;
  }

  .wa-grid {
    grid-template-columns: 1fr;
  }
}

/* FINAL HEADER FIX */
.wa-topbar {
  height: 112px;
}

.wa-logo img {
  width: 420px;
  max-height: 86px;
  object-fit: contain;
}

/* FEATURE ICONS */
.wa-card {
  position: relative;
  padding-left: 132px;
}

.wa-card::before {
  position: absolute;
  left: 38px;
  top: 46px;
  width: 64px;
  height: 64px;
  color: var(--red);
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
}

.wa-card:nth-child(1)::before {
  content: "◇";
  transform: rotate(12deg);
}

.wa-card:nth-child(2)::before {
  content: "✎";
}

.wa-card:nth-child(3)::before {
  content: "⚙";
}

@media (max-width: 900px) {
  .wa-logo img {
    width: 300px;
  }

  .wa-card {
    padding-left: 38px;
    padding-top: 110px;
  }

  .wa-card::before {
    left: 38px;
    top: 34px;
  }
}

/* FINAL LOGO + MOBILE MENU FIX */

.wa-logo img {
  width: 460px;
  max-height: 96px;
  object-fit: contain;
}

.wa-menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 34px;
  padding: 0;
  cursor: pointer;
}

.wa-menu-toggle span {
  display: block;
  width: 34px;
  height: 3px;
  margin: 7px 0;
  background: var(--white);
  border-radius: 999px;
}

.wa-plane img {
  width: min(980px, 96%);
  height: auto;
  display: block;
  filter: drop-shadow(0 42px 70px rgba(0,0,0,.55));
}

.wa-card {
  position: relative;
  padding-left: 132px;
}

.wa-card::before {
  position: absolute;
  left: 38px;
  top: 42px;
  width: 66px;
  height: 66px;
  color: var(--red);
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
}

.wa-card-airframe::before {
  content: "✈";
}

.wa-card-finish::before {
  content: "🖌";
}

.wa-card-parts::before {
  content: "⚙";
}

@media (max-width: 900px) {
  .wa-topbar {
    height: auto;
    min-height: 96px;
    padding: 18px 22px;
    flex-direction: row;
    background: rgba(2, 8, 20, .98) !important;
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 42px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
  }

  .wa-logo img {
    width: 250px;
    max-width: 72vw;
    max-height: 78px;
  }

  .wa-menu-toggle {
    display: block;
  }

  .wa-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(2, 8, 20, .98);
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 28px 60px rgba(0,0,0,.42);
    padding: 12px 0;
  }

  body.wa-menu-open .wa-nav {
    display: flex;
  }

  .wa-nav a {
    display: block;
    width: 100%;
    padding: 18px 28px;
    font-size: 14px;
    letter-spacing: .16em;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .wa-hero {
    padding-top: 0;
  }

  .wa-hero-copy {
    padding-top: 64px;
  }

  .wa-card {
    padding-left: 38px;
    padding-top: 112px;
  }

  .wa-card::before {
    left: 38px;
    top: 34px;
  }
}

/* AIRCRAFT HERO IMAGE - transparent PNG/WebP */
.wa-plane img {
  width: min(980px, 96%);
  max-height: 78vh;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 42px 70px rgba(0,0,0,.58))
    drop-shadow(0 0 34px rgba(36,105,190,.20));
  transform: translateX(-2%);
}

@media (max-width: 900px) {
  .wa-plane img {
    width: 112%;
    max-width: none;
    max-height: 420px;
    transform: translateX(0);
  }
}
