/* ============================================================
   Aviation Law Solutions, PLLC — Coming Soon
   Design: deep navy (#0a1628) + sky accent (#38bdf8 / #7dd3fc),
   Cormorant Garamond display type, Inter body.
   ============================================================ */

:root {
  --navy: #0a1628;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --slate-50: #f8fafc;
  --slate-500: #64748b;
  --slate-800: #1e293b;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--slate-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: 48rem; text-align: center; }

/* ---------------- Entrance animation ---------------- */
@keyframes avFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow, .hero__title, .hero__sub, .hero__cta {
  opacity: 0;
  animation: avFadeUp 0.9s var(--ease-out) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__title, .hero__sub, .hero__cta {
    animation: none; opacity: 1;
  }
  html { scroll-behavior: auto; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--solid {
  background: var(--sky-400);
  color: var(--navy);
}
.btn--solid:hover { background: var(--sky-300); }

.btn--ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.3s var(--ease-out);
}
.nav--scrolled {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.nav__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: 3rem; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0.75rem; }
.nav__icon {
  color: rgba(255,255,255,0.8);
  padding: 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  transition: all 0.2s var(--ease-out);
}
.nav__icon:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav__cta {
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.2s var(--ease-out);
}
.nav__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.80) 0%,
    rgba(10,22,40,0.45) 50%,
    rgba(10,22,40,0.85) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
}
.hero__title em {
  font-style: italic;
  color: var(--sky-300);
}
.hero__sub {
  max-width: 36rem;
  margin: 2rem auto 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.6;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.6);
  animation: avPulse 2s ease-in-out infinite;
}
@keyframes avPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------------- Sections ---------------- */
.section { padding-block: 5rem; }
.section--light { background: #fff; }
.section--gallery { background: var(--slate-50); }
.section--dark { background: var(--navy); }

.section__logo {
  width: 14rem;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow--blue { color: var(--sky-600); }
.eyebrow--sky { color: rgba(125,211,252,0.8); }

.section__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}
.section__title--left { text-align: left; }
.section__title--light { color: #fff; }
.section__title--light em { font-style: italic; color: var(--sky-300); }

.section__lead {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  line-height: 1.7;
  color: var(--slate-500);
}
.section__lead--light { color: rgba(255,255,255,0.6); max-width: 28rem; }

.section__emaillink {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--sky-700);
  text-decoration: underline;
  text-decoration-color: var(--sky-300);
  text-underline-offset: 8px;
  transition: color 0.2s var(--ease-out);
}
.section__emaillink:hover { color: var(--navy); }

.section__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.link-sky {
  color: var(--sky-300);
  text-decoration: underline;
  text-decoration-color: rgba(125,211,252,0.4);
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease-out);
}
.link-sky:hover { color: #bae6fd; }

/* ---------------- Gallery ---------------- */
.gallery__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
.gallery__note {
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-500);
}
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10,22,40,0.8), transparent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 2.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer__logo { height: 3rem; width: auto; opacity: 0.9; }
.footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.footer__links a {
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  transition: color 0.2s var(--ease-out);
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ---------------- Responsive ---------------- */
@media (min-width: 640px) {
  .hero__cta, .section__actions { flex-direction: row; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav__logo { height: 4rem; }
  .nav__cta { padding: 0.5rem 1.5rem; }
  .nav__links { gap: 1.25rem; }
  .hero__eyebrow { font-size: 0.875rem; }
  .hero__sub { font-size: 1.125rem; }
  .section { padding-block: 7rem; }
  .section__logo { width: 18rem; }
  .gallery__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: block; } }
