/* Illiyas Aerials — illiyasaerials.com */
:root {
  --bg: #faf9f5;
  --ink: #1f1e1d;
  --gray: #6e6a63;
  --line: #e6e2d8;
  --card: #ffffff;
  --accent: #c9603d; /* clay — switchable */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.18rem;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a {
  font-family: var(--sans);
  text-decoration: none;
  font-size: 0.84rem;
  color: var(--gray);
}
.top nav a:hover { color: var(--ink); }
.top nav a.nav-cta {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.18s;
}
.top nav a.nav-cta:hover { background: var(--accent); color: #fff; }

/* ---------- Intro ---------- */
.intro { padding: 72px 0 36px; }
.intro h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.intro h1 .underline {
  position: relative;
  white-space: nowrap;
}
.intro h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.14em;
  background: #f0958a; /* pastel red */
  opacity: 0.65;
  border-radius: 2px;
  transform: rotate(-0.6deg);
}
.intro p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 24px;
}
.creds {
  font-family: var(--sans);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 28px;
}
.creds b { color: var(--ink); font-weight: 600; }

.btn {
  font-family: var(--sans);
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  margin-right: 8px;
  transition: background 0.18s, border-color 0.18s;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.light:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* ---------- Captions ---------- */
.post figcaption, .compare-block figcaption {
  font-size: 0.92rem;
  color: var(--gray);
  margin-top: 10px;
  font-style: italic;
}
.disclosure {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--gray);
  margin-top: 18px;
  max-width: 620px;
}

/* ---------- Section headers ---------- */
.sec { padding: 52px 0 8px; }
.sec h2 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sec p { color: var(--gray); font-size: 0.98rem; margin-top: 6px; max-width: 600px; }

/* ---------- Feed ---------- */
.feed { display: flex; flex-direction: column; gap: 44px; padding: 30px 0 10px; }
.post img {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
}
.feed-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feed-pair .post img { aspect-ratio: 3/4; object-fit: cover; }

/* ---------- Before / after slider ---------- */
.compare-block { margin: 30px 0 10px; }
.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  outline-offset: 3px;
}
.compare:focus-visible { outline: 2px solid var(--accent); }
.compare img {
  width: 100%;
  display: block;
  pointer-events: none;
}
.compare img.after-img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 var(--pos));
}
.compare .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--bg);
  pointer-events: none;
}
.compare .handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(31, 30, 29, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink);
  pointer-events: none;
}
.compare .tag {
  font-family: var(--sans);
  position: absolute;
  bottom: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(31, 30, 29, 0.6);
  color: #fff;
  padding: 4px 11px;
  border-radius: 999px;
  pointer-events: none;
}
.compare .tag.before { left: 10px; }
.compare .tag.after { right: 10px; }

/* ---------- Service area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.chip {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink);
}
.chip.home { border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* ---------- Testimonial ---------- */
.quote {
  margin: 56px 0 8px;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 620px;
  margin: 0 auto 14px;
}
.quote figcaption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--gray);
}

/* ---------- Pricing ---------- */
.pricing { padding: 26px 0 10px; }
.price-big {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.price-big small {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pricing p.lede {
  font-size: 1.06rem;
  color: var(--ink);
  max-width: 580px;
  margin-top: 18px;
}
.pricing p.sub {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 580px;
  margin-top: 12px;
}

/* ---------- Note (why I do this) ---------- */
.note {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 48px 0;
}
.note p { color: var(--ink); font-size: 1rem; }
.note p + p { margin-top: 10px; }
.note .small { font-family: var(--sans); font-size: 0.8rem; color: var(--gray); }

/* ---------- Contact + form ---------- */
.contact { padding: 44px 0 30px; }
.contact h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 8px; }
.contact > .wrap > p { color: var(--gray); margin-bottom: 24px; max-width: 560px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 28px;
}
.form h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
  font-family: var(--sans);
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gray);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  width: 100%;
  padding: 11px 13px;
  font-size: 16px; /* 16px+ prevents iOS auto-zoom on focus */
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236e6a63' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form .btn { margin-top: 6px; }
.form-note { font-family: var(--sans); font-size: 0.78rem; color: var(--gray); margin-top: 12px; }
.form-success {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 30px 28px;
}
.form-success h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.form-success p { color: var(--gray); font-size: 0.97rem; }
.form-success p + p { margin-top: 10px; }
.form-success a { color: var(--ink); font-weight: 600; }

/* ---------- AI card ---------- */
.ai-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
  margin: 14px 0 50px;
}
.ai-card svg { width: 100%; height: auto; }
.ai-card h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.ai-card p { color: var(--gray); font-size: 0.97rem; }
.ai-card a { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 40px;
}
.foot-towns { margin-bottom: 14px; line-height: 1.7; }
.foot-towns strong { color: var(--ink); font-weight: 600; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--gray); }
footer a:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(25, 24, 22, 0.95);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox button {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav { gap: 11px; }
  .top nav a { font-size: 0.78rem; padding: 6px 0; }
  .top nav a.hide-sm { display: none; } /* Contact link — duplicated by Book a shoot */
  .top nav a.nav-cta { padding: 7px 13px; }
  .brand { font-size: 0.98rem; }
  .intro { padding: 48px 0 28px; }
  .intro h1 { line-height: 1.15; }
  .creds { gap: 6px 14px; }
  .feed { gap: 34px; }
  .feed-pair { grid-template-columns: 1fr; }
  .feed-pair .post img { aspect-ratio: auto; }
  .compare .handle { width: 46px; height: 46px; }
  .quote { margin: 44px 0 8px; }
  .contact-links { flex-direction: column; align-items: stretch; }
  .contact-links .btn { text-align: center; margin-right: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 18px; }
  .btn { margin-bottom: 8px; }
  .ai-card { grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 20px; }
}

@media (max-width: 410px) {
  .top nav a.hide-xs { display: none; } /* Pricing link — still reachable by scrolling */
  .top nav { gap: 9px; }
}

/* ---------- Accessibility & motion ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
