/* ============================================================
   SNWFLK PRODUCTIONS — SHARED STYLES
   Used on every page: index.html, about.html, contact.html, services.html
   Link this file in the <head> of EVERY page with:
     <link rel="stylesheet" href="style.css">
   Page-specific styles (hero, slideshow, mission grid, pricing
   cards, etc.) stay in that page's own <style> tag.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0f0e0c;
  --paper: #f5f0e8;
  --accent: #e83a1e;
  --muted: #9c9688;
  --dim: #c8c2b4;
}

html,
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Mono", monospace;
}

/* Grain overlay — appears on every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100;
}

/* ── Nav (identical on every page) ── */

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  border-bottom: 0.5px solid rgba(245, 240, 232, 0.1);
  background: rgba(15, 14, 12, 0.85);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a,
.dropdown > a {
  text-decoration: none;
  padding: 7px 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
  border: 0.5px solid transparent;
  border-radius: 4px;
  transition: all 0.2s;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: rgba(15, 14, 12, 0.95);
  border: 0.5px solid rgba(245, 240, 232, 0.15);
  border-radius: 6px;
  min-width: 160px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .footer-strip {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .dropdown > a {
    white-space: nowrap;
  }
}
.nav-links a:hover,
.dropdown:hover > a {
  color: var(--paper);
  border-color: rgba(245, 240, 232, 0.2);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition:
    background 0.15s,
    color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(245, 240, 232, 0.07);
  color: var(--paper);
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ── Buttons (used across multiple pages) ── */
.btn-primary {
  padding: 12px 28px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  border-radius: 3px;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #c82e16;
}

.btn-secondary {
  padding: 12px 28px;
  border: 0.5px solid rgba(245, 240, 232, 0.3);
  color: var(--dim);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  border-radius: 3px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* ── Generic section helpers (about.html + services.html) ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  border-bottom: 0.5px solid rgba(245, 240, 232, 0.08);
}

.section-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(245, 240, 232, 0.1);
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox.open {
  display: flex;
  animation: lb-in 0.3s ease forwards;
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border: 0.5px solid rgba(245, 240, 232, 0.1);
  animation: lb-scale 0.3s ease forwards;
}

@keyframes lb-scale {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 28px;
  color: var(--dim);
  cursor: none;
  background: none;
  border: none;
  line-height: 1;
  transition:
    color 0.2s,
    transform 0.2s;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 0.5px solid rgba(245, 240, 232, 0.2);
  color: rgba(245, 240, 232, 0.8);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}

.lightbox-prev {
  left: 1.5rem;
}
.lightbox-next {
  right: 1.5rem;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
/* ── Footer (index.html, about.html, services.html) ── */
.footer-strip {
  padding: 2rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid rgba(245, 240, 232, 0.08);
}

.footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.3);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--paper);
}

/* ── Scroll reveal animation (index.html, about.html, services.html) ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Shared responsive rules ── */
@media (max-width: 768px) {
  .footer-strip {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Active nav link- highliting nav link for the page you're on */
.nav-active {
  color: var(--paper) !important;
  border-color: rgba(248, 105, 4, 0.861) !important;
  border: 0.5px solid rgba(222, 90, 8, 0.881);
  border-radius: 4px;
}
