:root {
  --ink: #0b2138;
  --navy: #071827;
  --blue: #0d4d80;
  --sky: #b9d4e8;
  --gold: #d4aa65;
  --cream: #f4f0e8;
  --paper: #fff;
  --muted: #637383;
  --line: #dbe2e7;
  --shadow: 0 18px 45px rgba(2, 20, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

/* =========================
   TOP BAR / NAVIGATION
   ========================= */

.topbar {
  background: var(--navy);
  color: #d9e5ed;
  font-size: 0.82rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a:hover {
  color: #fff;
}

.dot {
  margin: 0 10px;
  color: var(--gold);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 33, 56, 0.08);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.brand small {
  display: block;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  color: var(--blue);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.nav-links > a:not(.btn):hover {
  color: var(--blue);
}

.nav-links .active {
  color: var(--blue);
  position: relative;
}

.nav-links .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--gold);
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--ink);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #102337;
  padding: 13px 21px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.79rem;
  font-weight: 850;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-small {
  padding: 10px 15px;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* =========================
   HOME HERO
   ========================= */

.hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient over photograph */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 17, 29, 0.88) 0%,
      rgba(5, 22, 36, 0.66) 44%,
      rgba(6, 21, 34, 0.18) 75%
    ),
    linear-gradient(0deg, rgba(3, 15, 25, 0.25), rgba(3, 15, 25, 0.05));
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 85px 0;
  max-width: 1160px;
}

.hero-content > * {
  max-width: 720px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 13px;
}

.hero .eyebrow,
.dark .eyebrow,
.contact .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero p:not(.eyebrow) {
  font-size: 1.18rem;
  color: #e4edf4;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* =========================
   QUICK FEATURES
   ========================= */

.quick {
  background: #fff;
  position: relative;
  z-index: 3;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.12);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}

.quick-grid > div {
  padding: 6px 28px;
  border-right: 1px solid var(--line);
}

.quick-grid > div:last-child {
  border: 0;
}

.quick h3 {
  font-family: inherit;
  font-size: 1rem;
  margin: 8px 0 6px;
}

.quick p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.icon {
  font-size: 1.25rem;
  color: var(--gold);
}

/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
  padding: 100px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 76px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.98fr 1.02fr;
}

.section h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.section p {
  color: var(--muted);
}

.photo {
  margin: 0;
  position: relative;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.checkgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
  margin-top: 28px;
  font-size: 0.92rem;
  font-weight: 650;
}

.checkgrid span::first-letter {
  color: var(--gold);
}

.dark {
  background: var(--navy);
  color: #fff;
}

.dark p {
  color: #bfcbd4;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   FUEL
   ========================= */

.fuel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 18px;
}

.fuel-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  padding: 34px;
}

.fuel-card > span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--gold);
}

.fuel-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  margin: 20px 0 8px;
}

.fuel-card strong small {
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  color: #bfcbd4;
  margin-left: 5px;
}

.fuel-card p {
  margin: 0;
}

.fuel-card.airnav h3 {
  font-size: 2rem;
  margin: 18px 0 10px;
}

.fuel-card.airnav .btn {
  margin-top: 18px;
}

.fuel-note {
  text-align: center;
  font-size: 0.83rem;
  margin-top: 20px;
}

.fuel-page {
  grid-template-columns: 1fr 1fr 1.25fr;
}

.notice {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c4d1db;
}

/* =========================
   WARM / STATS
   ========================= */

.warm {
  background: var(--cream);
}

.stat-row {
  display: flex;
  gap: 36px;
  border-top: 1px solid #d7d0c4;
  border-bottom: 1px solid #d7d0c4;
  padding: 23px 0;
  margin: 30px 0;
}

.stat-row div {
  display: flex;
  flex-direction: column;
}

.stat-row strong {
  font-family: Georgia, serif;
  font-size: 1.7rem;
}

.stat-row span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.text-link {
  font-weight: 800;
  color: var(--blue);
}

/* =========================
   GALLERY
   ========================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.gallery-page {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-page img,
.gallery-page img:not(:first-child) {
  height: 420px;
}

.gallery-page img:first-child {
  grid-column: span 2;
  height: 560px;
}

.gallery-note {
  text-align: center;
  margin-top: 24px;
}

/* =========================
   CONTACT
   ========================= */

.contact,
.contact-page {
  background: linear-gradient(120deg, #0a253d, #071827);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.contact h2 {
  max-width: 720px;
}

.contact p,
.contact-page p {
  color: #c2d0da;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 18px;
  color: #edf5f9;
}

.contact-list b {
  min-width: 70px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card {
  background: #fff;
  color: #000;
  padding: 36px;
  align-self: center;
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-card a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.contact-card a:hover {
  color: var(--blue);
}

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
  padding: 105px 0 92px;
  background: linear-gradient(120deg, #071827, #0a3150);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 850px;
  margin-bottom: 20px;
}

.page-hero p:not(.eyebrow) {
  font-size: 1.15rem;
  color: #c4d1db;
  max-width: 700px;
}

/* =========================
   CARDS
   ========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  padding: 34px;
  border: 1px solid var(--line);
  min-height: 260px;
  transition: 0.2s;
  background: #fff;
}

.cards article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cards article > span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cards h3 {
  font-size: 1.8rem;
  margin: 22px 0 12px;
}

.cards p {
  font-size: 0.94rem;
}

.cards a {
  font-weight: 800;
  color: var(--blue);
}

/* =========================
   CTA
   ========================= */

.cta {
  padding: 70px 0;
  background: #e9eff3;
}

.cta .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  margin: 0;
  max-width: 750px;
}

/* =========================
   INFO BOX
   ========================= */

.info-box {
  border: 1px solid var(--line);
  padding: 34px;
}

.info-box h3 {
  font-size: 2rem;
}

.info-box dl {
  margin: 0;
}

.info-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-box dt {
  font-weight: 800;
}

.info-box dd {
  margin: 0;
  color: var(--muted);
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: #04111c;
  color: #9fb0bd;
  padding: 28px 0;
  font-size: 0.82rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 60px;
  padding: 55px 0;
}

.footer-main > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-main b {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.footer-main p {
  max-width: 360px;
}

.footer-main span {
  max-width: 300px;
}

.footer-main a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.footer-grid {
  display: none;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: #7d9aaf;
  color: #bcd0dd;
}

.footer-brand small {
  color: #8096a7;
}

/* =========================
   ADMIN
   ========================= */

.admin-body {
  min-height: 100vh;
  background: #edf1f4;
  padding: 40px 20px;
}

.admin-card,
.admin-panel {
  background: #fff;
  box-shadow: var(--shadow);
  margin: auto;
}

.admin-card {
  max-width: 480px;
  padding: 42px;
}

.admin-card h1 {
  font-size: 2.4rem;
  margin: 30px 0 20px;
}

.admin-card form,
.editor {
  display: grid;
  gap: 20px;
}

.admin-card label,
.editor label {
  font-weight: 750;
  font-size: 0.86rem;
}

.admin-card input,
.editor input,
.editor textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid #c7d2da;
  font: inherit;
  background: #fff;
}

.editor textarea {
  min-height: 110px;
  resize: vertical;
}

.alert {
  background: #fee8e7;
  color: #8b1e1e;
  padding: 10px 12px;
}

.success {
  background: #e8f7ed;
  color: #205e32;
  padding: 13px 16px;
}

.admin-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-panel {
  max-width: 1080px;
  padding: 42px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 30px;
}

.admin-head h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.admin-head p {
  margin: 0;
  color: var(--muted);
}

.editor section {
  border: 1px solid var(--line);
  padding: 26px;
}

.editor h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.image-editor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.image-editor label {
  border: 1px solid var(--line);
  padding: 12px;
}

.image-editor img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 10px;
}

.image-editor input {
  padding: 7px;
  font-size: 0.78rem;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
  .topbar-inner {
    font-size: 0.73rem;
  }

  .nav-links {
    position: absolute;
    display: none;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .menu {
    display: block;
  }

  .nav-links .active::after {
    display: none;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-grid > div:nth-child(2) {
    border-right: 0;
  }

  .quick-grid > div {
    padding: 20px;
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .fuel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fuel-card.airnav,
  .fuel-page .airnav {
    grid-column: 1 / -1;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img:first-child {
    grid-column: 1 / -1;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cta .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .fuel-page {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .form-grid,
  .image-editor {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 28px), 1160px);
  }

  .topbar-inner > span {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 55px 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 3.45rem);
  }

  .hero p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .quick-grid,
  .fuel-grid,
  .gallery,
  .checkgrid,
  .cards,
  .fuel-page,
  .gallery-page,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .quick-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .fuel-card.airnav,
  .fuel-page .airnav {
    grid-column: auto;
  }

  .gallery img,
  .gallery-page img,
  .gallery-page img:not(:first-child),
  .gallery-page img:first-child {
    grid-column: auto;
    height: 300px;
  }

  .stat-row {
    gap: 20px;
    justify-content: space-between;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 75px 0 65px;
  }

  .admin-panel,
  .admin-card {
    padding: 24px;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .image-editor {
    grid-template-columns: 1fr;
  }
}

/* Admin gallery manager + API diagnostics */
.admin-standalone-section {
  border: 1px solid var(--line);
  padding: 26px;
  margin-top: 20px;
}
.admin-standalone-section h2 { font-size: 1.7rem; margin-bottom: 12px; }
.gallery-admin-card { border: 1px solid var(--line); padding: 12px; }
.gallery-admin-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 10px; }
.gallery-admin-card form { margin: 0; }
.btn-danger { background: #9f2727; border-color: #9f2727; color: #fff; width: 100%; }
.btn-danger:hover { background: #7f1f1f; border-color: #7f1f1f; }
.api-status { margin-top: 16px; padding: 16px; border: 1px solid var(--line); }
.api-status p { margin: 6px 0 0; }
.api-ok { background: #e8f7ed; color: #205e32; }
.api-fail { background: #fee8e7; color: #8b1e1e; }

/* Admin-managed hangar rentals */
.rental-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px}.rental-card{background:#fff;border:1px solid rgba(15,31,45,.12);border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(15,31,45,.08)}.rental-card>img{width:100%;height:240px;object-fit:cover}.rental-card-body{padding:24px}.rental-inquiry{display:grid;gap:12px;margin-top:14px}.rental-inquiry label{display:grid;gap:6px}.rental-inquiry input,.rental-inquiry textarea,.editor select{width:100%;padding:12px;border:1px solid #c9d0d6;border-radius:7px;font:inherit}.rental-inquiry textarea{min-height:110px}.rental-admin-card{margin-bottom:24px;border-bottom:1px solid #d7dde2;padding-bottom:24px}
