/* =============================================
   BLACK WIDOW AVIATION — Main Stylesheet
   LAMP Stack Edition
   ============================================= */

:root {
  --black:      #0d0d0d;
  --dark:       #111111;
  --dark-mid:   #1a1a1a;
  --mid:        #2a2a2a;
  --steel:      #3d3d3d;
  --muted:      #6f6f6f;
  --light-muted:#9a9a9a;
  --offwhite:   #e8e4de;
  --white:      #f5f2ed;
  --accent:     #c62314;       /* deep aviation red */
  --accent-lt:  #e83025;
  --gold:       #c4922a;
  --gold-lt:    #e0b040;

  --font-display: 'Bebas Neue', sans-serif;
  --font-ui:      'Rajdhani', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  --radius:     4px;
  --transition: 0.25s ease;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.7);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--white);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-family: var(--font-ui); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }

p { margin-bottom: 1rem; color: var(--offwhite); }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark-mid);
  border-top: 2px solid var(--steel);
  z-index: 9999;
  padding: 1rem 2rem;
}
.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 0.875rem; color: var(--light-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.logo-sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  color: var(--light-muted);
  transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.btn-nav {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.4rem 1.2rem !important;
  margin-left: 0.5rem;
}
.btn-nav:hover { background: var(--accent-lt) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ---- Page wrapper ---- */
.page-content { padding-top: 90px; }

/* ---- Section spacing ---- */
.section { padding: 6rem 2rem; }
.section-sm { padding: 4rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

/* ---- Section heading block ---- */
.section-heading {
  margin-bottom: 3rem;
}
.section-heading .eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { color: var(--light-muted); max-width: 600px; }
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem 0 1.5rem;
}

/* ========== HOME PAGE ========== */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(26,26,26,0.75) 50%, rgba(13,13,13,0.9) 100%),
    url('https://img1.wsimg.com/isteam/ip/5f3024f6-f193-475b-9cb8-3352b61c35fb/IMG_8928.jpeg') center/cover no-repeat;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Diagonal red accent bar */
.hero::after {
  content: '';
  position: absolute;
  left: -80px; top: 30%;
  width: 6px;
  height: 50%;
  background: var(--accent);
  transform: skewY(-8deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--offwhite);
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
}
.badge {
  text-align: center;
  background: rgba(26,26,26,0.85);
  border: 1px solid var(--steel);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.badge-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.badge-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-muted);
}

/* Services strip on home */
.home-services {
  background: var(--dark-mid);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--steel);
}
.service-card {
  background: var(--dark-mid);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}
.service-card:hover { background: var(--mid); }
.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--light-muted);
  margin: 0;
}

/* About strip */
.home-about {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.home-about-image {
  background: url('https://img1.wsimg.com/isteam/ip/5f3024f6-f193-475b-9cb8-3352b61c35fb/blob-caa1959.png') center/cover no-repeat;
  min-height: 400px;
}
.home-about-text {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-about-text h2 { margin-bottom: 0.5rem; }
.home-about-text p { color: var(--light-muted); margin-bottom: 1.5rem; }

/* Subscribe strip */
.subscribe-strip {
  background: var(--accent);
  padding: 4rem 2rem;
  text-align: center;
}
.subscribe-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.subscribe-strip p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.2rem;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form button {
  padding: 0.8rem 2rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background var(--transition);
}
.subscribe-form button:hover { background: var(--mid); }

/* ========== SERVICES PAGE ========== */

.page-hero {
  background: var(--black);
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,50,26,0.08) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: var(--light-muted); font-size: 1.1rem; max-width: 550px; }

.services-list { background: var(--dark); }

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border-bottom: 1px solid var(--steel);
}
.service-item:nth-child(even) { direction: rtl; }
.service-item:nth-child(even) > * { direction: ltr; }

.service-item-image {
  background-size: cover;
  background-position: center;
  min-height: 300px;
}
.service-item-text {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-mid);
}
.service-item-text h3 { margin-bottom: 1rem; }
.service-item-text p { color: var(--light-muted); }

/* ========== PRICING PAGE ========== */

.pricing-hero { background: var(--black); }

.rate-card {
  background: var(--dark-mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.rate-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.rate-card h3 { margin-bottom: 0.5rem; }
.rate-card .price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}
.rate-card .price-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.info-block {
  background: var(--dark-mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-block h4 { margin-bottom: 1rem; }
.info-block ul { padding-left: 0; }
.info-block li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--offwhite);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--steel);
}
.info-block li:last-child { border-bottom: none; }
.info-block li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.policy-block {
  background: var(--dark-mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}
.policy-block h4 { margin-bottom: 1rem; }
.policy-block ol { padding-left: 1.2rem; }
.policy-block ol li {
  color: var(--offwhite);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.policy-block ol li strong { color: var(--gold); }

.cta-banner {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.cta-banner h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.cta-banner a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* ========== CONTACT PAGE ========== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.contact-detail .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.2rem;
}
.contact-detail strong {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.contact-detail p { margin: 0; color: var(--offwhite); }
.contact-detail a { color: var(--offwhite); }
.contact-detail a:hover { color: var(--accent-lt); }

.hours-table { width: 100%; }
.hours-table tr td { padding: 0.35rem 0; font-size: 0.95rem; }
.hours-table tr td:first-child { color: var(--light-muted); font-weight: 600; }

/* Contact Form */
.contact-form-card {
  background: var(--dark-mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--mid); }

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

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
}
.alert-success { background: rgba(40,120,60,0.25); border: 1px solid rgba(40,180,80,0.4); color: #6dea8a; }
.alert-error   { background: rgba(200,50,26,0.2);  border: 1px solid rgba(200,80,26,0.5); color: #ff8070; }

/* ========== CURRENT PROJECT PAGE ========== */

.project-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
.project-intro {
  background: var(--dark-mid);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.project-intro p { color: var(--light-muted); margin-bottom: 0; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--steel);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.footer-brand .logo-icon { font-size: 2rem; color: var(--accent); }
.footer-logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
.footer-tagline {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--steel); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .home-about { grid-template-columns: 1fr; }
  .home-about-image { min-height: 300px; }
  .home-about-text { padding: 3rem 2rem; }

  .service-item { grid-template-columns: 1fr; direction: ltr !important; }
  .service-item:nth-child(even) { direction: ltr; }
  .service-item-image { min-height: 240px; }
  .service-item-text { padding: 2.5rem 2rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .hero-badges { display: none; }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 90px; left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--steel);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 0; width: 100%; }
  .btn-nav { margin-left: 0 !important; }

  .nav-toggle { display: flex; }

  .section { padding: 4rem 1.25rem; }
  .section-sm { padding: 3rem 1.25rem; }
}

/* ---- Pricing table (per-aircraft rates) ---- */
.rate-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
table.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--dark-mid);
}
table.rate-table caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.25rem 0.75rem;
  color: var(--light-muted);
  font-size: 0.85rem;
}
table.rate-table th, table.rate-table td {
  padding: 0.65rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--steel);
  white-space: nowrap;
}
table.rate-table th {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--dark);
}
table.rate-table td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--offwhite); }
table.rate-table tr:hover td { background: var(--mid); }
table.rate-table tr:last-child td { border-bottom: none; font-style: italic; }

/* ---- Inline photos: smaller than full-width, centered, no text-wrap
   (floats broke badly next to headings/lists — abandoned that approach) ---- */
.inline-photo {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 2rem;
}

/* ---- Protected contact info: hides real phone/email from simple
   scrapers. The real value never appears in the page source — only
   character codes in a data attribute — and isn't turned into a
   working tel:/mailto: link until the visitor clicks it once. ---- */
.protected-contact {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.protected-contact .mask {
  filter: blur(3px);
  user-select: none;
  transition: filter 0.2s ease;
}
.protected-contact .hint {
  font-size: 0.75rem;
  color: var(--metal);
  margin-left: 6px;
}
.protected-contact.revealed { cursor: text; }
.protected-contact.revealed .mask { filter: none; user-select: text; }
.protected-contact.revealed .hint { display: none; }

/* ---- Portal nav button ---- */
.btn-portal {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-left: 0.75rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-portal:hover {
  background: var(--gold);
  color: var(--black);
}



