/* ============================================================
   ZACH STEPP DESIGN — styles.css
   Sports Graphics & Photography Portfolio
   ============================================================ */

/* --- RESET & CUSTOM PROPERTIES ----------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #0A0A0F;
  --charcoal:   #141419;
  --card-bg:    #1A1A22;
  --white:      #FFFFFF;
  --gray:       #8A8A9A;
  --blue:       #00A3FF;
  --red:        #FF2D55;
  --gold:       #C9A84C;
  --border:     rgba(255, 255, 255, 0.06);

  --font-display: 'Bebas Neue', sans-serif;
  --font-sub:     'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --nav-h:      64px;
  --radius:     8px;
  --radius-lg:  16px;
  --trans:      0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cinematic noise grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- TYPOGRAPHY -------------------------------------------- */
.section-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

/* --- NAVIGATION (centered, all pages) ---------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 60px);
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease,
              transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Page-load fade-in */
  animation: navEntrance 0.55s ease 0.1s both;
}
@keyframes navEntrance {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-nav.nav-scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

/* Homepage: nav starts hidden, appears on scroll */
body.page-home .site-nav              { transform: translateY(-100%); animation: none; }
body.page-home .site-nav.nav-visible  { transform: translateY(0); animation: navEntrance 0.45s ease both; }

/* Centered nav inner wrapper */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: filter var(--trans);
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0,163,255,0.1));
  transition: filter var(--trans);
}
.nav-logo:hover img {
  filter: brightness(1.15) drop-shadow(0 2px 12px rgba(0,163,255,0.15));
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color var(--trans);
  padding-bottom: 6px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover,
.nav-links a.active      { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 60px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--trans);
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.is-open a {
  animation: mobileMenuIn 0.4s ease forwards;
}
.mobile-menu.is-open a:nth-child(2) { animation-delay: 0.08s; }
.mobile-menu.is-open a:nth-child(3) { animation-delay: 0.16s; }
.mobile-menu.is-open a:nth-child(4) { animation-delay: 0.24s; }
@keyframes mobileMenuIn {
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--blue); }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--gray);
  font-size: 28px;
  padding: 8px;
  transition: color var(--trans);
}
.mobile-menu-close:hover { color: var(--white); }

/* --- HOMEPAGE HERO — cinematic photo background ------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/photography/DSC08832_1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.4) 0%,
    rgba(10, 10, 15, 0.85) 60%,
    rgba(10, 10, 15, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

/* Staggered entrance animations */
.hero-logo-img {
  width: clamp(220px, 30vw, 350px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 4px 24px rgba(0,163,255,0.15));
  opacity: 0;
  transform: scale(0.85);
  animation: heroLogoIn 0.8s ease-out 0.2s forwards;
}
@keyframes heroLogoIn {
  to { opacity: 1; transform: scale(1); }
}

.hero-tagline {
  font-family: var(--font-sub);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.5s forwards;
}

.hero-divider {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 22px;
  animation: heroDividerGrow 0.5s ease-out 0.7s forwards;
}
@keyframes heroDividerGrow {
  to { width: 60px; }
}

.hero-desc {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--gray);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.9s forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 1.1s forwards;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,163,255,0.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: heroFadeUp 0.5s ease-out 1.5s forwards;
  cursor: pointer;
}
.scroll-indicator svg {
  width: 20px; height: 20px;
  color: rgba(255,255,255,0.5);
  animation: scrollBounce 2s ease-in-out 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* --- SECTIONS BASE ----------------------------------------- */
section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}

.section-header {
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* --- PAGE HERO (work / services / contact) — animated ------ */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 80, 180, 0.16) 0%, transparent 60%),
    var(--bg);
}
.page-hero .section-label {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.2s forwards;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 13vw, 116px);
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s ease-out 0.35s forwards;
}
.page-hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.55s forwards;
}

/* --- FEATURED WORK (Homepage) ------------------------------ */
.featured-work {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  max-width: 1440px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.featured-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.featured-item:nth-child(2) { grid-column: span 5; }
.featured-item:nth-child(3) { grid-column: span 5; }
.featured-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.featured-item:nth-child(5) { grid-column: span 8; }
.featured-item:nth-child(6) { grid-column: span 12; grid-row: span 1; }

.featured-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

/* --- SHARED PORTFOLIO & FEATURED CARD INTERNALS ------------ */
.portfolio-media,
.featured-media {
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-item:hover .portfolio-media,
.featured-item:hover .featured-media { transform: scale(1.07); }

.portfolio-media img,
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover overlay */
.portfolio-overlay,
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    transparent 72%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-item:hover .portfolio-overlay,
.featured-item:hover .featured-overlay { opacity: 1; }

.portfolio-overlay h3,
.featured-overlay h3 {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  transform: translateY(10px);
  transition: transform 0.35s ease;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.portfolio-overlay .tag,
.featured-overlay .tag {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  transform: translateY(10px);
  transition: transform 0.35s ease 0.05s;
}
.portfolio-item:hover .portfolio-overlay h3,
.featured-item:hover .featured-overlay h3,
.portfolio-item:hover .portfolio-overlay .tag,
.featured-item:hover .featured-overlay .tag { transform: translateY(0); }

/* Portfolio items: lift on hover */
.portfolio-item {
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.portfolio-item:hover {
  box-shadow: 0 0 0 2px rgba(0, 163, 255, 0.45), 0 10px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 32px;
  transition: color var(--trans), gap var(--trans);
}
.view-all-link::after { content: '\2192'; }
.view-all-link:hover  { color: var(--blue); gap: 18px; }

/* --- SERVICES PREVIEW (Homepage) --------------------------- */
.services-preview {
  position: relative;
  background: var(--charcoal);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 60px) clamp(60px, 8vw, 120px);
}
.services-preview::before {
  content: '';
  position: absolute;
  top: -58px; left: 0; right: 0;
  height: 80px;
  background: var(--charcoal);
  clip-path: polygon(0 100%, 100% 22%, 100% 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 36px rgba(0, 163, 255, 0.1);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  opacity: 0.75;
}
.service-card h3 {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-price {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* --- CTA SECTION ------------------------------------------- */
.cta-section {
  text-align: center;
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.055) 0%, transparent 70%);
  pointer-events: none;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 92px);
  letter-spacing: -0.02em;
  line-height: 0.93;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
}
.cta-headline span { color: var(--blue); display: block; }
.cta-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--gray);
  max-width: 480px;
  margin: 24px auto 36px;
  line-height: 1.75;
}

/* --- BUTTONS ----------------------------------------------- */
.btn-primary {
  display: inline-block;
  padding: 16px 44px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  text-decoration: none;
}
.btn-primary:hover {
  background: #E0234A;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 45, 85, 0.32);
}

.cta-contact {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-contact a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--trans);
}
.cta-contact a:hover { color: var(--blue); }

/* --- FOOTER (centered, stacked) ----------------------------- */
.site-footer {
  background: #0C0C14;
  border-top: 1px solid var(--border);
  padding: 56px clamp(20px, 4vw, 60px) 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--gray);
}

.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  height: auto;
  width: 120px;
  opacity: 0.6;
  transition: opacity var(--trans);
}
.footer-logo:hover img { opacity: 0.85; }

.footer-nav {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--white); }

.footer-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-contact a {
  color: var(--gray);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-bottom span {
  color: rgba(138,138,154,0.55);
  font-size: 12px;
}
.footer-credit a { color: var(--blue); transition: opacity 0.25s ease; }
.footer-credit a:hover { opacity: 0.8; }

/* --- FILTER BAR (Work page) -------------------------------- */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px clamp(20px, 4vw, 60px);
}
.filter-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  background: transparent;
  transition: color var(--trans), border-color var(--trans), background var(--trans);
  white-space: nowrap;
}
.filter-btn:hover  { color: var(--white); border-color: rgba(255,255,255,0.3); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* --- PORTFOLIO GRID ---------------------------------------- */
.portfolio-section {
  padding: clamp(36px, 4vw, 56px) clamp(20px, 4vw, 60px);
  max-width: 1600px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.portfolio-item.tall  { aspect-ratio: 3 / 4; }
.portfolio-item.wide  { grid-column: span 2; aspect-ratio: 16 / 9; }

/* --- LIGHTBOX ---------------------------------------------- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
#lightbox.active {
  opacity: 1;
  pointer-events: all;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-media {
  width: clamp(300px, 80vw, 960px);
  height: clamp(200px, 75vh, 680px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.lightbox-media.transitioning {
  opacity: 0;
  transform: scale(0.95);
}

.lightbox-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--charcoal);
}
.lightbox-placeholder-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: 0.04em;
}
.lightbox-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.lightbox-placeholder-cat {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--charcoal);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.lightbox-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  transition: background var(--trans), transform var(--trans);
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.14); transform: rotate(90deg); }

.lightbox-btn {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  transition: background var(--trans);
  z-index: 1;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.14); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- SERVICES PAGE ----------------------------------------- */
.services-full {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.service-row:hover           { border-color: rgba(255,255,255,0.1); }
.service-row.featured        { border-color: var(--blue); box-shadow: 0 0 48px rgba(0, 163, 255, 0.1); }
.service-row.reverse         { direction: rtl; }
.service-row.reverse > *     { direction: ltr; }

.service-img-area {
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 0;
}

/* Real images inside service cards */
.service-img-area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-row:hover .service-img-area img {
  transform: scale(1.05);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--trans);
}
.service-row:hover .service-img-overlay {
  background: rgba(10, 10, 15, 0.4);
}

.service-icon-xl {
  position: relative;
  z-index: 2;
  width: 72px; height: 72px;
  opacity: 0.75;
}

.service-details {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-self: flex-start;
}
.service-badge.gold    { background: rgba(201,168,76,0.14); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); }
.service-badge.popular { background: rgba(0,163,255,0.14); border: 1px solid rgba(0,163,255,0.3); color: var(--blue); }

.service-details h2 {
  font-family: var(--font-sub);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.service-details p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.78;
}

.service-pricing { display: flex; flex-direction: column; gap: 10px; }
.price-line      { display: flex; align-items: baseline; gap: 14px; }
.price-label {
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
}
.price-value {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1;
}

.service-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.pricing-disclaimer {
  text-align: center;
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 5vw, 60px);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.65;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- CONTACT PAGE ------------------------------------------ */
.contact-section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.contact-form-title,
.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.form-group   { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(138, 138, 154, 0.45); }

.form-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 1l5 5 5-5' stroke='%238A8A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-select option { background: var(--charcoal); color: var(--white); }
.form-textarea { min-height: 140px; resize: vertical; }

.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; flex-direction: column; gap: 5px; }
.contact-item-label {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-item-value {
  font-size: 15px;
  color: var(--white);
}
.contact-item-value a { transition: color var(--trans); }
.contact-item-value a:hover { color: var(--blue); }

.contact-note {
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--charcoal);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.contact-note p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
}

/* --- SCROLL ANIMATIONS ------------------------------------- */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-up.in-view { opacity: 1; transform: translateY(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.in-view > * { opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.in-view > *:nth-child(6) { transition-delay: 500ms; }

/* Gold divider animation */
.divider-anim {
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s ease-out;
}
.divider-anim.in-view { width: 60px; }

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 210px;
  }
  .featured-item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
  .featured-item:nth-child(2) { grid-column: span 3; }
  .featured-item:nth-child(3) { grid-column: span 3; }
  .featured-item:nth-child(4) { grid-column: span 6; }
  .featured-item:nth-child(5) { grid-column: span 6; }
  .featured-item:nth-child(6) { display: none; }

  .service-row                { grid-template-columns: 1fr; min-height: auto; }
  .service-row.reverse        { direction: ltr; }
  .service-img-area           { min-height: 220px; }

  .contact-section { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  .nav-inner .nav-links { display: none; }
  .nav-toggle  { display: flex; }

  .portfolio-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }

  .cta-contact { flex-direction: column; align-items: center; gap: 12px; }

  .filter-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .filter-inner::-webkit-scrollbar { display: none; }

  .lightbox-btn { display: none; }

  .footer-nav { gap: 20px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item,
  .portfolio-item.tall { aspect-ratio: 4 / 3; }

  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn-outline,
  .hero-buttons .btn-primary { width: 100%; text-align: center; }
}
