/* Baseline Cinematic — shared interaction & section styling
 *
 * Loaded after each page's own <style> block, so these rules refine the
 * page styles rather than fight them. What's in here:
 *
 *   1. Current-page indicator in the nav (gold text + persistent underline)
 *        - mark a nav link with aria-current="page"
 *        - mark the Services button with class="dropbtn is-current"
 *   2. Alternating section bands — add class="section-alt" to a <section>
 *      to give it the deeper background and gold hairline edges
 *   3. Press/tap feedback (:active) on buttons and nav links
 *   4. Keyboard focus rings (:focus-visible), plus keyboard access to the
 *      Services dropdown on desktop
 *   5. Animated gold underline that grows in on nav hover
 */

:root {
  --bc-gold: #d4af37;
  --bc-gold-hover: #b5952f;
  --bc-gold-pressed: #9c8028;
  --bc-band-bg: #050505;
  --bc-gold-hairline: rgba(212, 175, 55, 0.35);
}

/* ------------------------------------------------------------------ */
/* 5 + 1. Nav underline (hover) and current-page indicator            */
/* ------------------------------------------------------------------ */

.nav-links > a,
.dropbtn {
  position: relative;
}

.nav-links > a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--bc-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after,
.dropdown:hover .dropbtn::after,
.dropdown:focus-within .dropbtn::after,
.nav-links > a[aria-current="page"]::after,
.dropbtn.is-current::after {
  transform: scaleX(1);
}

.nav-links > a[aria-current="page"],
.dropbtn.is-current {
  color: var(--bc-gold);
}

/* The specific page inside the Services dropdown */
.dropdown-content a[aria-current="page"] {
  color: var(--bc-gold);
  background-color: rgba(212, 175, 55, 0.08);
  box-shadow: inset 3px 0 0 var(--bc-gold);
}

/* Keep the underline the width of the text in the stacked mobile menu */
@media (max-width: 768px) {
  .nav-links > a {
    width: fit-content;
  }
}

/* ------------------------------------------------------------------ */
/* 2. Alternating section bands                                        */
/* ------------------------------------------------------------------ */

/* Sections are max-width 1200px, so the box-shadow + clip-path pair
   extends the background edge-to-edge without changing the layout. */
section.section-alt {
  position: relative;
  background-color: var(--bc-band-bg);
  box-shadow: 0 0 0 100vmax var(--bc-band-bg);
  clip-path: inset(0 -100vmax);
}

/* Gold hairline at the top and bottom edge of each band, fading out
   toward the sides */
section.section-alt::before,
section.section-alt::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(1200px, 100vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--bc-gold-hairline), transparent);
  pointer-events: none;
}
section.section-alt::before { top: 0; }
section.section-alt::after { bottom: 0; }

/* ------------------------------------------------------------------ */
/* 3. Press / tap feedback                                             */
/* ------------------------------------------------------------------ */

/* Replace the default grey mobile tap flash with the styled states below */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

.btn {
  transition: background 0.3s ease, transform 0.12s ease, box-shadow 0.3s ease;
}
.btn:active {
  transform: scale(0.97);
  background: var(--bc-gold-pressed);
}
.btn-outline:active {
  background: rgba(212, 175, 55, 0.25);
}

.nav-links > a:active,
.dropbtn:active,
.footer-links a:active {
  color: var(--bc-gold-hover);
}
.dropdown-content a:active {
  background-color: #2a2a2a;
  color: var(--bc-gold-hover);
}
.top-banner a:active {
  opacity: 0.5;
}

.menu-toggle {
  transition: transform 0.12s ease;
}
.menu-toggle:active {
  transform: scale(0.9);
}

/* ------------------------------------------------------------------ */
/* 4. Keyboard focus                                                   */
/* ------------------------------------------------------------------ */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--bc-gold);
  outline-offset: 4px;
}
.btn:focus-visible {
  outline-offset: 3px;
}
.dropdown-content a:focus-visible {
  outline-offset: -2px;
}
/* Gold ring would disappear on the gold promo banner */
.top-banner a:focus-visible {
  outline-color: #000;
}

/* Let keyboard users (and a click on "Services") open the dropdown on
   desktop, not just mouse hover */
@media (min-width: 769px) {
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
}

/* Let the 4-step Our Process section fit a tidy single row on desktop
   instead of leaving one card stranded on its own line */
#process .grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ------------------------------------------------------------------ */
/* 6. Footer social icons                                              */
/* ------------------------------------------------------------------ */

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 15px;
}

.social-links a {
  display: inline-flex;
  color: var(--bc-gold);
  transition: color 0.3s ease, transform 0.15s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
}

.social-links a:active {
  color: var(--bc-gold-hover);
  transform: scale(0.9);
}

.social-links svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ------------------------------------------------------------------ */
/* Respect reduced-motion preferences                                  */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .nav-links > a::after,
  .dropbtn::after,
  .btn,
  .menu-toggle,
  .social-links a {
    transition: none;
  }
  .btn:active,
  .menu-toggle:active,
  .social-links a:active {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* 6. Floating "Book a Shoot" button (created by floating-cta.js)     */
/*    Appears once you scroll past the hero, hides at the contact form */
/* ------------------------------------------------------------------ */

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 900; /* under the sticky nav (1000) */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bc-gold);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover { background: var(--bc-gold-hover); }
.floating-cta:active { background: var(--bc-gold-pressed); }
.floating-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 768px) {
  .floating-cta {
    right: 16px;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta { transition: none; }
}

/* ------------------------------------------------------------------ */
/* 7. Client reviews (#reviews)                                       */
/* ------------------------------------------------------------------ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.review-card {
  margin: 0;
  background: #1e1e1e;
  border: 1px solid #333;
  border-top: 3px solid var(--bc-gold);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.review-stars {
  color: var(--bc-gold);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}
.review-card blockquote {
  margin: 0 0 20px;
  color: #e6e6e6;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}
.review-card figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-card figcaption strong {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.review-card figcaption span {
  color: #999;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .review-card { padding: 22px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 8. Credentials line under "Our Process" (homepage)                 */
/* ------------------------------------------------------------------ */

.process-credentials {
  text-align: center;
  max-width: 720px;
  margin: 40px auto 0;
}
.process-credentials p {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* 9. Footer links: one per line on phones so long emails don't wrap  */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-links a { margin: 0; }
}

/* ------------------------------------------------------------------ */
/* 10. Aerial photo gallery                                           */
/* ------------------------------------------------------------------ */

.photo-gallery-intro {
  text-align: center;
  color: #ccc;
  max-width: 640px;
  margin: 0 auto 32px;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.photo-tile { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.photo-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  cursor: zoom-in; transition: transform .4s ease;
}
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile img:focus-visible { outline: 3px solid #d4af37; outline-offset: -3px; }

/* Homepage: a full-width strip that spans the whole screen edge to edge */
.photo-gallery.strip {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  gap: 4px;
}
.photo-gallery.strip .photo-tile { border-radius: 0; }

@media (max-width: 768px) {
  .photo-gallery.full { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* Strip becomes a swipeable row on phones, with the next photo peeking in */
  .photo-gallery.strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 0 20px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  .photo-gallery.strip .photo-tile {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-radius: 6px;
  }
}

/* Click-to-enlarge viewer with arrows and swipe */
.photo-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.98); padding: 2vh 2vw;
  touch-action: pan-y pinch-zoom;
}
.photo-lightbox.open { display: flex; }
.photo-lightbox .lb-img {
  max-width: 100vw; max-height: 88vh; object-fit: contain; border-radius: 4px;
  user-select: none; -webkit-user-drag: none;
}
.lb-btn {
  position: absolute; background: rgba(20,20,20,0.7); color: #fff;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
  transition: background .2s, border-color .2s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: #d4af37; color: #111; border-color: #d4af37; outline: none; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lb-count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #ddd; font-size: 0.95rem; letter-spacing: 1px;
  background: rgba(20,20,20,0.7); padding: 4px 14px; border-radius: 20px;
}
.lb-in-right { animation: lbInRight .25s ease; }
.lb-in-left  { animation: lbInLeft .25s ease; }
@keyframes lbInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lbInLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
  .lb-btn { width: 44px; height: 44px; font-size: 1.7rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; }
  .photo-lightbox { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-in-right, .lb-in-left { animation: none; }
}

/* ------------------------------------------------------------------ */
/* 11. Pricing cards: photos, item descriptions, per-card buttons     */
/* ------------------------------------------------------------------ */

.price-card .card-photo {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  margin: -30px -30px 22px;
  height: 170px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.price-list .item-desc {
  display: block;
  color: #999;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 3px;
}
.price-card .price-note { margin-top: 0; }
.price-card .card-btn {
  align-self: stretch;
  text-align: center;
  margin-top: auto;
  color: #fff;
}
.price-card .price-note + .card-btn { margin-top: auto; }
.price-card .price-note { margin-bottom: 18px; }

/* ------------------------------------------------------------------ */
/* 12. Quick request band (short form just under the homepage hero)   */
/* ------------------------------------------------------------------ */

.quick-request {
  max-width: none;
  margin: 0;
  padding: 28px 20px;
  background: #151515;
  border-top: 1px solid #2c2c2c;
  border-bottom: 1px solid #2c2c2c;
}
.quick-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.quick-copy { flex: 1 1 260px; }
.quick-copy h2 { font-size: 1.5rem; margin: 0 0 4px; padding: 0; border: 0; }
.quick-copy p { margin: 0; color: #bbb; }
.quick-form {
  flex: 2 1 560px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-form input[type="text"],
.quick-form input[type="email"],
.quick-form select {
  flex: 1 1 150px;
  min-width: 0;
  padding: 14px;
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 1rem;
}
.quick-form input:focus, .quick-form select:focus { outline: 2px solid #d4af37; border-color: #d4af37; }
.quick-form .btn { margin-top: 0; padding: 14px 26px; font-size: 1.05rem; flex: 0 0 auto; }
.quick-success { flex: 2 1 560px; color: #fff; font-size: 1.1rem; }
.quick-success strong { color: #d4af37; }
@media (max-width: 768px) {
  .quick-form { flex-direction: column; flex: 1 1 100%; }
  .quick-form input[type="text"], .quick-form input[type="email"], .quick-form select { flex: 0 0 auto; }
  .quick-form .btn { width: 100%; }
  .quick-copy h2 { font-size: 1.3rem; }
}


/* 13. Color grade compare slider ------------------------------------- */
.grade-compare { max-width: 980px; margin: 48px auto 0; padding: 0 16px; }
.grade-compare h3 { text-align: center; color: #fff; margin: 0 0 8px; }
.grade-compare .gc-intro { text-align: center; color: #ccc; margin: 0 auto 22px; max-width: 640px; line-height: 1.5; }
.gc-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.7); user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; }
.gc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gc-frame .gc-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.gc-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9);
  box-shadow: 0 0 8px rgba(0,0,0,.6); pointer-events: none; }
.gc-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #d4af37; color: #000; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.6); pointer-events: none; }
.gc-label { position: absolute; bottom: 14px; padding: 6px 12px; background: rgba(0,0,0,.72); color: #fff; border-radius: 4px;
  font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; }
.gc-label.l { left: 14px; } .gc-label.r { right: 14px; }
.gc-frame input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.gc-frame:focus-within .gc-knob { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { .gc-label { font-size: .68rem; padding: 5px 9px; bottom: 10px; } .gc-knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }
