/* ============================================================
   Northbound Aerial Studios — main.css
   Palette carried forward from Drones on Demand, rebranded.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #f5f7fa;
  --color-text: #1c2e40;
  --color-text-muted: #5c7080;
  --color-accent: #3a9bd5;
  --color-divider: #d6e4f0;
  --color-hero-overlay: #0d1b2a;
  --color-footer-bg: #0d1b2a;
  --color-footer-text: #e8edf2;
  --color-highlight: #e8a020;

  --white: var(--color-bg);
  --black: var(--color-text);
  --gray: var(--color-text-muted);
  --light: var(--color-divider);
  --accent: var(--color-accent);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- NAV ---------- */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: background .4s, backdrop-filter .4s;
}
nav.site-nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: .12em;
  color: #fff;
  transition: color .4s;
}
nav.site-nav.scrolled .nav-logo { color: var(--black); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color .3s;
}
nav.site-nav.scrolled .nav-links a { color: var(--gray); }
.nav-links a:hover { color: var(--accent) !important; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 70vh;
  padding: 5rem 3rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 100vh; } }
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--color-hero-overlay) 78%, transparent),
    color-mix(in srgb, var(--color-hero-overlay) 22%, transparent));
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  font-size: .65rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
  opacity: 0; transform: translateY(20px); animation: fadeUp .8s .3s forwards;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1; color: #fff; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(30px); animation: fadeUp .9s .5s forwards;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: .95rem; line-height: 1.8; letter-spacing: .08em;
  color: rgba(255,255,255,.85); max-width: 440px;
  opacity: 0; transform: translateY(20px); animation: fadeUp .8s .7s forwards;
}
.hero-cta {
  display: inline-block; margin-top: 1.5rem; padding-bottom: 2px;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid var(--accent);
  transition: color .3s;
  opacity: 0; transform: translateY(20px); animation: fadeUp .8s .9s forwards;
}
.hero-cta:hover { color: var(--accent); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  opacity: 0; animation: fadeUp .8s 1.2s forwards;
}
.hero-scroll-line { width: 1px; height: 48px; background: var(--accent); animation: scrollPulse 2s 1.5s infinite; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity:.4; transform: scaleY(1); } 50% { opacity:1; transform: scaleY(1.2); } }

/* ---------- INTRO ---------- */
.intro {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 4rem; max-width: 1200px; margin: 0 auto; padding: 7rem 3rem;
}
.intro-label { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.intro-headline { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.2; }
.intro-text { font-size: .875rem; line-height: 1.9; color: var(--gray); }
.intro-text p + p { margin-top: 1rem; }
.intro-divider { width: 40px; height: 1px; background: var(--accent); margin: 2rem 0; }
.intro-stat { display: flex; gap: 3rem; margin-top: 2.5rem; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 300; line-height: 1; }
.stat-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-top: .4rem; }

/* ---------- SERVICES ---------- */
.services { max-width: 1200px; margin: 0 auto; padding: 2rem 3rem 6rem; }
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-eyebrow { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.services-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { border: 1px solid var(--light); background: #fff; padding: 2rem 1.5rem; transition: box-shadow .3s, transform .3s; }
.service-card:hover { box-shadow: 0 4px 24px rgba(28,43,58,.08); transform: translateY(-3px); }
.service-card-num { font-family: var(--serif); font-size: 1rem; color: var(--accent); margin-bottom: 1rem; }
.service-card-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; margin-bottom: .6rem; }
.service-card-desc { font-size: .8rem; line-height: 1.7; color: var(--gray); }

/* ---------- GALLERY ---------- */
.gallery-header { max-width: 1400px; margin: 0 auto; padding: 3rem 3rem 1rem; border-top: 1px solid var(--light); }
.gallery-title { font-family: var(--serif); font-size: 2rem; font-weight: 300; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem; max-width: 1400px; margin: 0 auto; padding: 2rem 3rem 6rem;
}
.gallery-item { position: relative; overflow: hidden; background: var(--light); cursor: pointer; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.9); transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s; }
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.gallery-item-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.2rem; background: rgba(20,45,70,0); transition: background .4s; }
.gallery-item:hover .gallery-item-overlay { background: rgba(20,45,70,.6); }
.gallery-item-caption { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery-item:hover .gallery-item-caption { opacity: 1; transform: translateY(0); }
.caption-location { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.caption-title { font-family: var(--serif); font-size: 1rem; font-weight: 300; line-height: 1.3; color: #fff; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; justify-content: center; align-items: center; padding: 2rem; background: rgba(15,28,44,.97); }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: fixed; top: 1.5rem; right: 2rem; background: none; border: none; color: rgba(255,255,255,.6); font-family: var(--sans); font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-nav { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; }
.lightbox-nav button { background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); font-family: var(--sans); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; padding: .5rem 1.2rem; cursor: pointer; transition: border-color .2s, color .2s; }
.lightbox-nav button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-counter { min-width: 60px; text-align: center; font-size: .65rem; letter-spacing: .2em; color: rgba(255,255,255,.35); }
.lightbox-caption { position: fixed; bottom: 5rem; left: 50%; transform: translateX(-50%); text-align: center; }
.lightbox-caption .caption-location { display: block; margin-bottom: .3rem; }
.lightbox-caption .caption-title { font-size: 1.2rem; }

/* ---------- PRICING ---------- */
.pricing-section { max-width: 1200px; margin: 0 auto; padding: 6rem 3rem; text-align: center; }
.pricing-eyebrow { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.pricing-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-bottom: 2rem; }
.pricing-ladder-heading { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; margin-bottom: 1.5rem; }
.pricing-ladder-divider { width: 60px; height: 1px; background: var(--accent); margin: 3rem auto; }
.pricing-events-clarifier { max-width: 600px; margin: 0 auto 1.5rem; font-size: .8rem; line-height: 1.6; color: var(--gray); }
.pricing-grid { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.pricing-grid-property { grid-template-columns: repeat(3, 1fr); }
.pricing-grid-events { grid-template-columns: repeat(2, 1fr); max-width: 740px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .pricing-grid-property, .pricing-grid-events { grid-template-columns: 1fr; } }
.pricing-card { position: relative; border: 1px solid var(--light); background: #fff; padding: 2.5rem 1.5rem; text-align: center; transition: box-shadow .3s; }
.pricing-card:hover { box-shadow: 0 4px 24px rgba(28,43,58,.08); }
.pricing-card.popular { border-color: var(--color-highlight); border-width: 2px; transform: scale(1.03); }
.pricing-badge { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--color-highlight); color: #fff; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding: .25rem 1rem; }
.pricing-card-name { font-family: var(--sans); font-size: .7rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--gray); margin-bottom: .8rem; }
.pricing-card-price { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; margin-bottom: 1rem; }
.pricing-card-features { list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .8rem; line-height: 2; color: var(--gray); }
.pricing-card-best { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.pricing-custom { font-size: .8rem; line-height: 1.7; color: var(--gray); }
.pricing-custom a { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color .2s; }
.pricing-custom a:hover { color: var(--black); }

/* ---------- CONTACT ---------- */
.contact-section { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 6rem 3rem; text-align: center; }
.contact-eyebrow { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.contact-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: 1.2rem; }
.contact-sub { max-width: 520px; margin: 0 auto 2rem; font-size: .9rem; line-height: 1.8; color: rgba(232,237,242,.75); }
.contact-cta { display: inline-block; padding: .9rem 2.4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-footer-bg); background: var(--accent); transition: background .3s; }
.contact-cta:hover { background: #fff; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3rem; background: var(--color-footer-bg); color: var(--color-footer-text);
  border-top: 1px solid rgba(214,228,240,.1);
}
.footer-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; letter-spacing: .1em; }
.footer-address { margin: .5rem 0; font-size: .75rem; font-style: normal; line-height: 1.6; color: rgba(232,237,242,.7); }
.footer-copy { font-size: .7rem; letter-spacing: .1em; color: rgba(232,237,242,.6); }
.footer-contact a { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color .2s; }
.footer-contact a:hover { color: var(--accent); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOBILE ---------- */
.nav-hamburger, .mobile-menu-overlay { display: none; }
@media (max-width: 767px) {
  nav.site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 4px; background: none; border: none; cursor: pointer; }
  .nav-hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,.9); transition: background .4s; }
  nav.site-nav.scrolled .nav-hamburger span { background: var(--gray); }
  .mobile-menu-overlay { display: flex; position: fixed; inset: 0; z-index: 150; flex-direction: column; justify-content: center; align-items: center; background: rgba(13,27,42,.97); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
  .mobile-menu-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; color: rgba(255,255,255,.7); font-family: var(--sans); font-size: 1.5rem; cursor: pointer; }
  .mobile-menu-links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
  .mobile-menu-links a { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); }
  .nav-logo { font-size: 1.1rem; line-height: 1.3; }
  .hero { align-items: flex-start; padding-top: 0; }
  .hero-content { padding-top: 5rem; }
  .hero-title { margin-top: calc(40vh - 7rem); }
  .hero-scroll { bottom: 1.5rem; right: 1.5rem; }
  .intro { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.5rem; }
  .services { padding: 2rem 1.5rem 4rem; }
  .gallery { padding: 2rem 1.5rem 4rem; }
  .gallery-header { padding: 3rem 1.5rem 1rem; }
  .pricing-section, .contact-section { padding: 4rem 1.5rem; }
  footer.site-footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 3rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-scroll { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
