/* ============================================
   ACCENT AERIAL PHOTOGRAPHY
   Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #888888;
  --gray-light: #cccccc;
  --white: #f5f5f0;
  --accent: #c8a96e;       /* warm gold */
  --accent-dark: #a8894e;
  --accent-light: #e0c98a;
  --tinted: #f0ede8;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --nav-height: 72px;
  --max-width: 1280px;
  --section-pad: 100px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: var(--accent-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.section-title--light { color: var(--white); }

.section-intro {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.body-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.link-arrow {
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
}
.link-arrow:hover { letter-spacing: 0.14em; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--dark); }
.section--tinted { background: var(--tinted); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
}
.btn--large { padding: 18px 44px; font-size: 0.95rem; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-accent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.logo-aerial {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.08em;
}
.logo-sub {
  font-family: var(--font-condensed);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}
.footer-brand .logo-sub { color: var(--gray); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-light) !important; }

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.7;
  z-index: 1;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 800px;
  margin-left: max(40px, calc((100vw - var(--max-width)) / 2 + 40px));
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.title-line { display: block; }
.title-line--accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245,245,240,0.75);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   CREDIBILITY BAR
   ============================================ */
.cred-bar {
  background: var(--dark);
  border-top: 1px solid rgba(200,169,110,0.2);
  border-bottom: 1px solid rgba(200,169,110,0.2);
  padding: 28px 40px;
}
.cred-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cred-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.cred-unit { font-size: 1.2rem; }
.cred-label {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}
.cred-divider {
  width: 1px;
  height: 40px;
  background: rgba(200,169,110,0.2);
}

/* ============================================
   INTRO
   ============================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}
.intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.intro-img-wrap:hover img { transform: scale(1.03); }
.intro-tag {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--accent);
  color: var(--dark);
  padding: 10px 20px;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}
.service-card {
  background: var(--dark-2);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition);
  display: block;
}
.service-card:hover {
  background: var(--dark-3);
  border-color: rgba(200,169,110,0.2);
  transform: translateY(-3px);
}
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-title {
  font-family: var(--font-condensed);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.service-link {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
}
.service-card:hover .service-link { letter-spacing: 0.18em; }

/* ============================================
   FEATURED PROJECTS TEASER
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 2.5rem;
}
/* Projects Teaser Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  margin-bottom: 2.5rem;
}
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-card {
  position: relative;
  border-radius: 2px;
  display: block;
  background: var(--dark-2);
  overflow: hidden;
  text-decoration: none;
}
.project-card--hero .project-img-wrap {
  height: 500px;
}
.projects-stack .project-card .project-img-wrap {
  aspect-ratio: 3/2;
  height: auto;
}
.project-img-wrap {
  width: 100%;
  overflow: hidden;
  display: block;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-info {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--dark);
}
.project-tag {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}
.project-title {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.2rem;
}
.projects-cta { text-align: center; margin-top: 1rem; }

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.why-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  min-width: 40px;
  opacity: 0.6;
}
.why-item h4 {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.why-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  font-weight: 300;
}
.why-visual {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--dark);
  border-top: 1px solid rgba(200,169,110,0.2);
  padding: 80px 40px;
  text-align: center;
}
.cta-banner-inner { max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.cta-sub {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 2rem;
}
.cta-phone {
  color: var(--accent);
  font-weight: 500;
}
.cta-phone:hover { text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(200,169,110,0.15);
  padding: 60px 40px 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-brand .logo-accent,
.footer-brand .logo-aerial { font-size: 1.3rem; }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a,
.footer-contact a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
  font-weight: 300;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-contact p {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray) !important;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(136,136,136,0.6);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Scroll offset for fixed nav */
section[id], .project-block[id] {
  scroll-margin-top: calc(var(--nav-height) + 4px);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  height: 340px;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  padding: 0 40px 50px;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.08) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  letter-spacing: 0.03em;
}
.page-hero p {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
  margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--hero .project-img-wrap { height: 250px; }
  .projects-stack .project-card .project-img-wrap { height: 180px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(200,169,110,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 0 20px; margin-left: 20px; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }

  .cred-bar { padding: 20px; }
  .cred-bar-inner { gap: 1.5rem; }
  .cred-divider { display: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-visual { order: -1; }

  .services-grid { grid-template-columns: 1fr; }

  .projects-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 40px 20px 0; }

  .page-hero { height: 240px; padding: 0 20px 30px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .cred-bar-inner { grid-template-columns: repeat(2, 1fr); display: grid; gap: 1rem; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
#lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  opacity: 1;
  transition: opacity 0.15s ease;
  user-select: none;
}
#lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  opacity: 0.7;
  transition: opacity var(--transition);
  z-index: 1001;
}
#lightbox-close:hover { opacity: 1; }
#lightbox-prev,
#lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 2.5rem;
  width: 52px;
  height: 52px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 1001;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
#lightbox-prev:hover,
#lightbox-next:hover { background: rgba(200,169,110,0.3); }
