/* ==========================================================================
   FENESTRA MEDIA — LUXURY ARCHITECTURAL & RESIDENTIAL MEDIA
   Dark Luxury with Warm Amber/Gold Accents (#c9a84c)
   ========================================================================== */

:root {
  --bg-primary: #070708;
  --bg-secondary: #111113;
  --bg-card: rgba(17, 17, 19, 0.88);
  --bg-card-hover: rgba(26, 26, 29, 0.96);
  --bg-glass: rgba(7, 7, 8, 0.76);
  
  --accent-gold: #c9a84c;
  --accent-gold-light: #dfc067;
  --accent-gold-dark: #a18134;
  --accent-glow: rgba(201, 168, 76, 0.35);
  --accent-glow-subtle: rgba(201, 168, 76, 0.15);
  
  --text-main: #f5f5f3;
  --text-muted: #9e9ea7;
  --text-dim: #6b6966;
  
  --border-gold: rgba(201, 168, 76, 0.25);
  --border-gold-bright: rgba(201, 168, 76, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1280px;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #2a2822;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--accent-gold-light);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 88px;
}

/* Consistent Luxury Photo Grading Filter */
img[data-img] {
  filter: contrast(1.05) brightness(0.95) saturate(0.92) sepia(0.08);
  transition: transform 0.6s var(--transition-smooth), filter 0.6s ease;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Camera Shutter Flash Burst Animation
   -------------------------------------------------------------------------- */
.shutter-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.4s ease-out;
}
.shutter-flash.flash-active {
  opacity: 0.85;
  transition: none;
}

/* --------------------------------------------------------------------------
   Typography & Accents
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #dfc067 0%, #c9a84c 50%, #997828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-italic {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--accent-gold-light);
}

.gold-accent {
  color: var(--accent-gold);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}
.section-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}
.center-tag {
  justify-content: center;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  font-weight: 300;
}

.center-align {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.btn-gold {
  background: linear-gradient(135deg, #c9a84c 0%, #ab8931 100%);
  color: #080808;
  font-weight: 600;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.28);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #dfc067 0%, #c9a84c 100%);
  color: #050505;
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}
.btn-outline-gold:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  box-shadow: 0 0 20px var(--accent-glow-subtle);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-glass:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.pulse-glow {
  animation: pulseGlow 3s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3); }
  50% { box-shadow: 0 6px 36px rgba(201, 168, 76, 0.6); }
}

.link-gold {
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.link-gold:hover {
  color: var(--accent-gold-light);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background-color: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo .brand-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo .brand-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}
.brand-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text-main);
}
.brand-logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.desktop-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}
.desktop-nav .nav-link:hover {
  color: var(--text-main);
}
.desktop-nav .nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 90;
}
.mobile-menu.menu-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  transition: color 0.3s ease;
}
.mobile-nav-link:hover {
  color: var(--accent-gold);
}
.mobile-btn {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.88) 75%, #0a0a0a 100%),
              linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.95) 100%);
}
.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-eyebrow .gold-line {
  width: 32px;
  height: 1px;
  background-color: var(--accent-gold);
}
.hero-eyebrow .eyebrow-text {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reveal-line {
  display: block;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #d1cfc7;
  max-width: 680px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 36px;
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}
.stat-number small {
  font-size: 0.85rem;
  margin-left: 2px;
  font-family: var(--font-sans);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-subtle);
}

.scroll-down-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.scroll-down-hint:hover {
  opacity: 1;
}
.scroll-text {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--accent-gold);
}
.scroll-arrow {
  animation: bounceArrow 2s infinite;
}
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* --------------------------------------------------------------------------
   2. About Section
   -------------------------------------------------------------------------- */
.about-section {
  position: relative;
  padding: 140px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.about-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.18;
}
.about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a0a0a 0%, rgba(10,10,10,0.85) 50%, #0a0a0a 100%);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(20,20,20,0.8) 0%, rgba(10,10,10,0.95) 70%);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 30px rgba(201, 168, 76, 0.08);
}

.aperture-caption {
  position: absolute;
  bottom: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.aperture-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
}
.aperture-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text-content {
  padding-left: 20px;
}
.about-text-content .lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #e5e3de;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-text-content .body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.pillar-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.pillar-card:hover {
  border-color: var(--border-gold);
}
.pillar-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   3. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
  padding: 140px 0;
  background-color: #0d0d0d;
}

/* Cinema Camera Showcase Bar */
.camera-showcase-bar {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, rgba(20,20,20,0.8) 0%, rgba(12,12,12,0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 20px 30px;
  margin: 50px 0 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.camera-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cam-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
}
.cam-specs {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px var(--accent-glow-subtle);
}

.service-card-highlight {
  border-color: var(--border-gold-bright);
  background: linear-gradient(180deg, rgba(30, 26, 16, 0.8) 0%, rgba(18, 18, 18, 0.85) 100%);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.12);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: rgba(201, 168, 76, 0.16);
}

.service-name {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-features li {
  font-size: 0.85rem;
  color: #cccabf;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.service-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  transition: gap 0.25s ease, color 0.25s ease;
}
.service-link:hover {
  color: var(--accent-gold-light);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   4. Portfolio / Gallery Section
   -------------------------------------------------------------------------- */
.portfolio-section {
  position: relative;
  padding: 140px 0;
  background-color: var(--bg-primary);
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
}
.filter-btn.active,
.filter-btn[aria-pressed="true"] {
  background: var(--accent-gold);
  color: #070708;
  font-weight: 600;
  border-color: var(--accent-gold);
  box-shadow: 0 2px 14px rgba(201, 168, 76, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.portfolio-item.hidden,
.portfolio-item[hidden] {
  display: none !important;
}

/* Asymmetrical Masonry Spans */
.portfolio-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.portfolio-item:nth-child(2) {
  grid-column: span 2;
}
.portfolio-item:nth-child(3) {
  grid-column: span 1;
}
.portfolio-item:nth-child(4) {
  grid-column: span 1;
}
.portfolio-item:nth-child(5) {
  grid-column: span 2;
}
.portfolio-item:nth-child(6) {
  grid-column: span 2;
}

.portfolio-card {
  appearance: none;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  color: inherit;
  background: transparent;
  cursor: pointer;
  height: 100%;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background-color: #141414;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card:hover .image-wrapper img {
  transform: scale(1.06);
  filter: contrast(1.08) brightness(1.02) saturate(1.0) sepia(0.02);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: opacity 0.35s ease, background 0.35s ease;
}
.portfolio-card:hover .image-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10, 10, 10, 0.98) 100%);
}

.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(6px);
  transition: transform 0.35s var(--transition-smooth);
}
.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.item-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
}
.item-title {
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.3;
}
.view-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
}
.portfolio-card:hover .view-link {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent-gold-light);
}

/* --------------------------------------------------------------------------
   5. How It Works Section
   -------------------------------------------------------------------------- */
.process-section {
  position: relative;
  padding: 140px 0;
  background-color: #0d0d0d;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.process-line-progress {
  position: absolute;
  top: 35px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, rgba(201, 168, 76, 0.2) 100%);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-marker {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #121212;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}
.marker-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  opacity: 0.4;
  animation: markerPulse 3s infinite;
}
@keyframes markerPulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.step-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto 16px;
}

/* --------------------------------------------------------------------------
   6. Booking CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: 160px 0;
  background-color: #080808;
  overflow: hidden;
  text-align: center;
}

.cta-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 10, 0.72) 0%, rgba(8, 8, 8, 0.95) 80%, #080808 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-headline {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.cta-subtext {
  font-size: 1.18rem;
  color: #cccabf;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
}

.cta-button-wrapper {
  margin-bottom: 30px;
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.meta-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   7. Connect / Social Section
   -------------------------------------------------------------------------- */
.social-section {
  position: relative;
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.social-box {
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.7) 0%, rgba(14, 14, 14, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 60px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.social-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.handle-display {
  margin-top: 18px;
  display: inline-block;
  padding: 8px 24px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
}
.handle-gold {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  letter-spacing: 0.06em;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.social-card:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.social-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.social-platform {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}
.social-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.social-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.25s ease, color 0.25s ease;
}
.social-card:hover .social-arrow {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #070707;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-motto {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}
.footer-domain-badge strong {
  color: var(--accent-gold);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-cta-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social-row a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.footer-social-row a:hover {
  color: var(--accent-gold);
}
.footer-sep {
  color: var(--text-dim);
  font-size: 0.6rem;
}

/* --------------------------------------------------------------------------
   Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  font-size: 2.2rem;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 75vh;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  margin-top: 16px;
  text-align: center;
}
.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
}
.lightbox-cat {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-text-content {
    padding-left: 0;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4),
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process-line-progress {
    display: none;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .camera-showcase-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    width: 100%;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Brand and reduced-motion refinements */
.site-header {
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.76), rgba(7, 7, 8, 0.2));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}
.brand-logo .brand-image,
.footer-logo .brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo {
  width: 54px;
  height: 54px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  .brand-logo { width: 48px; height: 48px; }
  .mobile-menu { height: 100dvh; }
  .mobile-nav-links { padding: 100px 24px 32px; }
  .about-visual-image { aspect-ratio: 16 / 10; border-radius: 4px; }
  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-section {
    padding: 100px 16px 60px;
  }
  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.2rem);
  }
  .section-title {
    font-size: clamp(2rem, 8vw, 2.4rem);
  }
}

/* Accessibility & Responsive Polish */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent-gold);
  color: #070708;
  padding: 10px 20px;
  z-index: 10000;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--text-main);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Minimum touch targets for accessibility */
.filter-btn,
.lightbox-close,
.social-card,
.service-link,
.btn {
  touch-action: manipulation;
}

.lightbox-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
