/*
Theme Name: 146 Aerial Solutions
Theme URI: https://example.com/
Author: 146 Aerial Solutions LLC
Description: Custom WordPress theme converted from the 146 Aerial Solutions standalone website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aerial146
*/

:root {
  --black: #090909;
  --near-black: #111111;
  --charcoal: #191919;
  --gold: #d1a63b;
  --gold-light: #f0cf70;
  --cream: #f5f1e8;
  --white: #ffffff;
  --muted: #b7b2a8;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--near-black);
  background: var(--cream);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.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; }
.skip-link { position: fixed; left: 10px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--gold); color: #000; font-weight: 700; }
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; letter-spacing: .06em; }
.brand-mark { width: 52px; height: 52px; color: var(--gold); }
.brand strong { font-size: 1.45rem; color: var(--gold-light); }
.brand small { font-size: .72rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav a:hover { color: var(--gold-light); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--gold); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--white); }

.hero {
  min-height: 750px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--white);
  background: radial-gradient(circle at 68% 30%, #3a301d 0, #18150f 22%, #080808 60%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28) 62%, rgba(0,0,0,.58)); }
.hero-grid { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 70px 70px; transform: perspective(600px) rotateX(62deg) translateY(360px) scale(1.6); transform-origin: center; }
.hero-glow { position: absolute; width: 560px; height: 560px; right: 4%; top: 7%; border-radius: 50%; background: radial-gradient(circle, rgba(240,207,112,.28), rgba(209,166,59,.07) 38%, transparent 68%); filter: blur(8px); }
.mountain { position: absolute; bottom: -70px; clip-path: polygon(0 100%, 18% 52%, 34% 75%, 52% 17%, 65% 57%, 76% 39%, 100% 100%); }
.mountain-back { right: -6%; width: 74%; height: 64%; background: #242019; opacity: .85; }
.mountain-front { right: -14%; width: 72%; height: 50%; background: #111; }
.hero-content { position: relative; z-index: 2; padding: 120px 0 110px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .19em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; line-height: 1.08; margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3.6rem, 8vw, 7.2rem); letter-spacing: -.035em; text-transform: uppercase; }
.hero-copy { max-width: 680px; margin: 0 0 34px; color: #ddd8cc; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #0a0a0a; box-shadow: 0 12px 30px rgba(209,166,59,.2); }
.button-secondary { border-color: rgba(255,255,255,.38); color: var(--white); background: rgba(255,255,255,.04); }
.full-width { width: 100%; border: 0; }
.service-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 72px; color: #d8d3c8; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.service-strip i { display: block; width: 42px; height: 1px; background: var(--gold); }

.trust-bar { background: var(--near-black); color: var(--white); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 26px 22px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--gold-light); font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; font-size: 1.15rem; }
.trust-grid span { color: var(--muted); font-size: .82rem; }

.section { padding: 110px 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--near-black); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .industries-layout h2, .cta-layout h2, .contact-layout h2 { margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; letter-spacing: -.025em; }
.section-heading > p:last-child { color: #666057; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 285px; padding: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,0,0,.05); }
.service-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 160px; height: 160px; border: 1px solid rgba(209,166,59,.32); border-radius: 50%; }
.service-card h3 { margin: 46px 0 14px; font-size: 1.55rem; text-transform: uppercase; }
.service-card p { color: #686157; }
.card-number { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.featured-card { color: var(--white); background: linear-gradient(145deg, #201c14, #0c0c0c); border-color: rgba(209,166,59,.35); }
.featured-card p { color: #cfc8bb; }

.industries-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lead { color: #c9c3b8; font-size: 1.08rem; }
.text-link { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--gold-light); text-decoration: none; font-weight: 800; }
.industry-list { border-top: 1px solid var(--line); }
.industry-list div { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.industry-list span { color: var(--gold); font-weight: 800; }
.industry-list strong { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; }

.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.split-heading > p { margin-bottom: 10px; }
.availability-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: 24px; align-items: start; }
.calendar-panel, .request-panel { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); box-shadow: var(--shadow); }
.calendar-panel { padding: 28px; }
.calendar-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.calendar-label { color: #777066; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.calendar-top h3 { margin: 4px 0 0; font-size: 1.55rem; }
.legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; color: #6b655d; font-size: .72rem; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.legend-open { background: #2f8b57; }
.legend-limited { background: #c68d1b; }
.legend-booked { background: #9c3e3e; }
.availability-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day-card { min-height: 116px; padding: 14px 10px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); background: #faf9f6; text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.day-card:hover, .day-card:focus-visible { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 18px rgba(0,0,0,.08); outline: none; }
.day-card[disabled] { cursor: not-allowed; opacity: .58; transform: none; box-shadow: none; }
.day-name, .day-number, .day-status { display: block; }
.day-name { color: #767066; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.day-number { margin: 6px 0 12px; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-stretch: condensed; font-size: 1.7rem; }
.day-status { font-size: .68rem; font-weight: 700; line-height: 1.25; }
.status-open { border-bottom: 4px solid #2f8b57; }
.status-limited { border-bottom: 4px solid #c68d1b; }
.status-booked { border-bottom: 4px solid #9c3e3e; }
.request-panel { padding: 30px; background: var(--near-black); color: var(--white); border-color: rgba(209,166,59,.26); }
.request-panel h3 { font-size: 2rem; text-transform: uppercase; }
.request-panel label { display: block; margin: 14px 0 6px; color: #d8d2c6; font-size: .82rem; font-weight: 700; }
.request-panel label span { color: #8f897f; font-weight: 500; }
.request-panel input, .request-panel textarea { width: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: #1b1b1b; color: var(--white); padding: 12px 13px; outline: none; }
.request-panel input:focus, .request-panel textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(209,166,59,.12); }
.request-panel textarea { resize: vertical; }
.form-note { margin: 12px 0 0; color: #8f897f; font-size: .72rem; text-align: center; }

.cta-band { padding: 70px 0; background: linear-gradient(135deg, #3b2f16, #a87e25 54%, #d1a63b); color: #0b0b0b; }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-layout .eyebrow { color: #17130b; }
.cta-layout h2 { margin: 0; max-width: 720px; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.cta-band .button-primary { background: #0b0b0b; color: var(--white); box-shadow: none; }
.cta-band .button-secondary { border-color: rgba(0,0,0,.5); color: #0b0b0b; background: transparent; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-layout p { color: #aaa399; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards a { padding: 24px 26px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.025); }
.contact-cards a:hover { border-color: var(--gold); }
.contact-cards span, .contact-cards strong { display: block; }
.contact-cards span { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.contact-cards strong { margin-top: 6px; font-size: clamp(1rem, 2.1vw, 1.35rem); word-break: break-word; }

.site-footer { padding: 24px 0; color: #918b82; background: #060606; border-top: 1px solid var(--line); font-size: .8rem; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-layout a { color: var(--gold-light); text-decoration: none; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 22px; background: #0b0b0b; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 8px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-grid div:first-child, .trust-grid div:nth-child(3) { padding-left: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-layout, .availability-layout, .contact-layout { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 8px; }
  .availability-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand span { font-size: .85rem; }
  .brand-mark { width: 44px; height: 44px; }
  .hero { min-height: 680px; }
  .hero-content { padding: 90px 0 80px; }
  h1 { font-size: clamp(3rem, 16vw, 5.4rem); }
  .service-strip { margin-top: 54px; gap: 10px; }
  .service-strip i { width: 22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child, .trust-grid div:nth-child(3) { padding: 19px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .industries-layout { gap: 50px; }
  .calendar-top { flex-direction: column; }
  .legend { justify-content: flex-start; }
  .availability-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-panel, .request-panel { padding: 20px; }
  .footer-layout { flex-direction: column; align-items: flex-start; }
}

/* WordPress integration */
body.admin-bar .site-header { top: 32px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 54px; width: auto; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
