/*
Theme Name: Hummel Field Airport
Theme URI: https://flyw75.com
Author: Hummel Field / Custom Theme
Description: A clean custom WordPress theme for Hummel Field W75 in Topping, Virginia.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hummel-field
*/

:root {
  --hf-navy: #082f5f;
  --hf-navy-dark: #042346;
  --hf-blue: #0e6eb8;
  --hf-sky: #dff2ff;
  --hf-sky-2: #f4fbff;
  --hf-water: #0b83c9;
  --hf-text: #0b2340;
  --hf-muted: #64748b;
  --hf-border: #d9e7f3;
  --hf-white: #ffffff;
  --hf-gray: #f5f8fb;
  --hf-shadow: 0 18px 45px rgba(8, 47, 95, 0.13);
  --hf-radius: 16px;
  --hf-radius-lg: 24px;
  --hf-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--hf-text);
  background: var(--hf-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--hf-blue); text-decoration: none; }
a:hover { color: var(--hf-navy); }

.hf-container {
  width: min(var(--hf-max), calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Top Bar */
.hf-topbar {
  background: linear-gradient(90deg, var(--hf-navy-dark), var(--hf-navy));
  color: #fff;
  font-size: 0.92rem;
}
.hf-topbar .hf-container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 42px;
}
.hf-topbar-left, .hf-topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.hf-topbar a { color: #fff; }
.hf-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .96;
}
.hf-icon-sm { width: 16px; height: 16px; display: inline-block; }

/* Header */
.hf-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 24px rgba(5,35,70,.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.admin-bar .hf-header { top: 32px; }
.hf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 108px;
}
.hf-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--hf-navy);
  min-width: 260px;
}
.hf-logo-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, #eaf7ff);
  border: 3px solid var(--hf-navy);
  overflow: hidden;
  flex: 0 0 auto;
}
.hf-logo-mark svg { width: 64px; height: 64px; }
.hf-brand-title {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--hf-navy);
  text-transform: uppercase;
}
.hf-brand-subtitle {
  margin-top: 4px;
  color: var(--hf-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hf-nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--hf-border);
  background: var(--hf-white);
  color: var(--hf-navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
}
.hf-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hf-nav a {
  display: block;
  padding: 14px 15px;
  color: var(--hf-text);
  font-weight: 800;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-radius: 999px;
}
.hf-nav a:hover, .hf-nav .current-menu-item > a, .hf-nav .current_page_item > a {
  color: var(--hf-blue);
  background: #eef8ff;
}

/* Hero */
.hf-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(244,251,255,.95), rgba(223,242,255,.82)), url('assets/img/hero-placeholder.svg') center/cover no-repeat;
  min-height: 510px;
  display: flex;
  align-items: center;
}
.hf-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.hf-hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 118px;
  max-width: 650px;
}
.hf-eyebrow {
  color: var(--hf-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0;
}
.hf-hero h1 {
  color: var(--hf-navy);
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: .92;
  margin: 8px 0 10px;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 950;
}
.hf-hero-code {
  color: var(--hf-blue);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.hf-hero-line {
  width: min(440px, 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--hf-navy), var(--hf-blue), transparent);
  position: relative;
  margin: 12px 0 24px;
}
.hf-hero-line:after { content: "✈"; position: absolute; right: 0; top: -18px; color: var(--hf-blue); font-size: 28px; }
.hf-hero p { font-size: 1.15rem; max-width: 430px; margin-bottom: 28px; }
.hf-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 2px solid var(--hf-navy);
  padding: 14px 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--hf-navy);
  background: #fff;
  box-shadow: 0 8px 16px rgba(8,47,95,.08);
}
.hf-btn-primary { background: var(--hf-navy); color: #fff; }
.hf-btn:hover { transform: translateY(-1px); color: var(--hf-navy); }
.hf-btn-primary:hover { color: #fff; background: var(--hf-blue); border-color: var(--hf-blue); }

/* Quick Facts */
.hf-quickfacts-wrap { margin-top: -74px; position: relative; z-index: 3; }
.hf-quickfacts {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.hf-fact {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 22px;
  border-right: 1px solid var(--hf-border);
}
.hf-fact:last-child { border-right: 0; }
.hf-fact-icon {
  color: var(--hf-blue);
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}
.hf-fact-label {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--hf-navy);
  font-size: .88rem;
}
.hf-fact-value { font-weight: 750; font-size: .95rem; line-height: 1.35; }

/* Sections */
.hf-section { padding: 62px 0; }
.hf-section-light { background: linear-gradient(180deg, #fff, var(--hf-sky-2)); }
.hf-grid-4 {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr 1fr;
  gap: 22px;
}
.hf-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  box-shadow: 0 12px 28px rgba(8,47,95,.07);
  padding: 28px;
  min-height: 220px;
}
.hf-card-dark {
  background: linear-gradient(145deg, var(--hf-navy-dark), var(--hf-navy));
  color: #fff;
  border-color: var(--hf-navy);
}
.hf-card-sky {
  background: linear-gradient(145deg, #f2fbff, #dff2ff);
}
.hf-card-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.82)), url('assets/img/feature-placeholder.svg') center/cover no-repeat;
}
.hf-card h2, .hf-card h3 {
  margin-top: 0;
  color: var(--hf-navy);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.05rem;
}
.hf-card-dark h2, .hf-card-dark h3 { color: #fff; }
.hf-card p { margin: 0 0 22px; }
.hf-small-btn {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid currentColor;
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 900;
}
.hf-card-dark .hf-small-btn { color: #fff; }
.hf-feature-center {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--hf-navy);
  font-weight: 900;
  text-transform: uppercase;
}
.hf-feature-center svg { width: 92px; height: 92px; color: var(--hf-navy); opacity: .9; }

.hf-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hf-navy);
  margin: 0 0 12px;
  line-height: 1.05;
  text-transform: uppercase;
}
.hf-section-intro { max-width: 760px; color: var(--hf-muted); font-size: 1.08rem; margin-bottom: 32px; }
.hf-two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}
.hf-list { padding-left: 1.2rem; }
.hf-list li { margin-bottom: 8px; }

/* Page */
.hf-page-hero {
  background: linear-gradient(135deg, var(--hf-navy), var(--hf-blue));
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hf-page-hero:after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
}
.hf-page-hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); text-transform: uppercase; line-height: 1; }
.hf-page-content { padding: 58px 0; }
.hf-content-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-lg);
  box-shadow: var(--hf-shadow);
  padding: clamp(24px, 4vw, 48px);
}
.hf-content-card h2 { color: var(--hf-navy); }

/* Gallery */
.hf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hf-gallery-placeholder {
  min-height: 220px;
  background: linear-gradient(145deg, #eef8ff, #cfeeff);
  border: 1px dashed #8fc8ec;
  border-radius: var(--hf-radius);
  display: grid;
  place-items: center;
  color: var(--hf-navy);
  font-weight: 850;
  text-align: center;
  padding: 20px;
}

/* Footer */
.hf-footer {
  color: #fff;
  background: linear-gradient(180deg, var(--hf-water), var(--hf-navy));
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.hf-footer-wave {
  height: 70px;
  background: url('assets/img/wave.svg') center bottom/cover no-repeat;
  margin-top: -1px;
}
.hf-footer-main { padding: 44px 0; }
.hf-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
}
.hf-footer h3 {
  font-size: .93rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 12px;
}
.hf-footer a { color: #fff; opacity: .92; }
.hf-footer ul { list-style: none; padding: 0; margin: 0; }
.hf-footer li { margin-bottom: 5px; }
.hf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 18px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.82);
}
.hf-footer-bottom .hf-container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hf-social-circle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--hf-blue) !important;
  border-radius: 50%;
  font-weight: 950;
  font-size: 1.35rem;
}

/* Forms / WP */
.wp-block-button__link { background: var(--hf-navy); border-radius: 8px; font-weight: 800; }
.wp-block-separator { border-color: var(--hf-border); }
.alignwide { max-width: var(--hf-max); }

/* Responsive */
@media (max-width: 1040px) {
  .hf-header-inner { min-height: 92px; }
  .hf-nav-toggle { display: inline-flex; }
  .hf-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--hf-border);
    box-shadow: 0 20px 35px rgba(8,47,95,.12);
  }
  .hf-nav.is-open { display: block; }
  .hf-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  .hf-nav a { border-radius: 8px; }
  .hf-quickfacts { grid-template-columns: repeat(2, 1fr); }
  .hf-fact { border-bottom: 1px solid var(--hf-border); }
  .hf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hf-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hf-topbar .hf-container, .hf-topbar-left, .hf-topbar-right { align-items: flex-start; justify-content: flex-start; }
  .hf-topbar .hf-container { flex-direction: column; padding: 10px 0; gap: 6px; }
  .hf-header-inner { gap: 12px; }
  .hf-logo-mark { width: 58px; height: 58px; }
  .hf-brand-title { font-size: 1.35rem; }
  .hf-brand-subtitle { font-size: .82rem; }
  .hf-hero { min-height: auto; }
  .hf-hero-content { padding: 56px 0 100px; }
  .hf-buttons { align-items: stretch; }
  .hf-btn { width: 100%; }
  .hf-quickfacts { grid-template-columns: 1fr; }
  .hf-fact { border-right: 0; }
  .hf-grid-4, .hf-two-col, .hf-gallery-grid, .hf-footer-grid { grid-template-columns: 1fr; }
  .hf-card { min-height: auto; }
}

/* WordPress menu compatibility */
.hf-nav .hf-page-menu ul,
.hf-footer .hf-page-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hf-nav .hf-page-menu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.hf-nav .hf-page-menu a {
  display: block;
  padding: 14px 15px;
  color: var(--hf-text);
  font-weight: 800;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-radius: 999px;
}
.hf-nav .hf-page-menu a:hover {
  color: var(--hf-blue);
  background: #eef8ff;
}
@media (max-width: 1040px) {
  .hf-nav .hf-page-menu > ul { flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  .hf-nav .hf-page-menu a { border-radius: 8px; }
}
