/*
Theme Name: CTBinDC Photography
Theme URI: https://ctbindc.com
Author: CTBinDC
Description: A stunning photography portfolio theme featuring a full-screen hero, portfolio grid, about sections, team, and blog. Built for photographers showcasing DC and beyond.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ctbindc
Tags: photography, portfolio, one-page, full-width, dark
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-bg:         #0a0a0a;
  --color-surface:    #111111;
  --color-surface-2:  #1a1a1a;
  --color-border:     #2a2a2a;
  --color-text:       #f0ede8;
  --color-muted:      #888880;
  --color-accent:     #c8a96e;
  --color-accent-dim: #8a6e3e;
  --color-white:      #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-label:   'DM Mono', 'Courier New', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-glow: 0 0 60px rgba(200, 169, 110, 0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section-pad { padding-block: clamp(4rem, 8vw, 8rem); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}

.btn:hover { color: var(--color-bg); }
.btn:hover::before { transform: scaleX(1); }
.btn span { position: relative; z-index: 1; }

.btn-solid {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-solid::before { background: var(--color-white); }
.btn-solid:hover { color: var(--color-bg); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-size: 0.85rem;
}
.skip-link:focus { top: 0.5rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

#site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
.site-logo em {
  font-style: normal;
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 2px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(10,10,10,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-text);
}
.nav-mobile a:hover { color: var(--color-accent); }

/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO SLIDESHOW (Ken Burns)
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slideshow container — sits behind everything */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0d1017; /* fallback when no image */
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero-slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.50) 100%
  );
  /* extra vignette at bottom for scroll indicator */
  box-shadow: inset 0 -120px 80px rgba(0,0,0,0.6);
}

/* Grainy film overlay */
.hero-bg-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Slideshow dot navigation */
.slideshow-dots {
  position: absolute;
  bottom: 5.5rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slideshow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}

.slideshow-dot::after {
  content: '';
  position: absolute;
  inset: -5px;          /* larger hit target */
}

.slideshow-dot.active {
  background: var(--color-accent);
  transform: scale(1.4);
}

.slideshow-dot:hover:not(.active) {
  background: rgba(255,255,255,0.6);
}

/* Slide counter */
.slideshow-counter {
  position: absolute;
  bottom: 5rem;
  left: 0;
  z-index: 10;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding-left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slideshow-counter .current { color: var(--color-accent); }

/* Progress bar */
.slideshow-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.slideshow-progress-bar {
  height: 100%;
  background: var(--color-accent);
  width: 0%;
  transition: width linear;
}

/* Pause button */
.slideshow-pause {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#hero:hover .slideshow-pause {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-pause:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* No-image fallback */
.hero-slide-fallback {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1209 50%, #0a0a0a 100%);
}

@media (max-width: 600px) {
  .slideshow-dots    { bottom: 4rem; right: 1.25rem; }
  .slideshow-counter { display: none; }
  .slideshow-pause   { display: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-top: 6rem;
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  animation: fadeInUp 1.5s 1s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-indicator span {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ============================================================
   PORTFOLIO CATEGORIES
   ============================================================ */
#portfolio-categories {
  background: var(--color-surface);
  padding-block: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:nth-child(1) .portfolio-card-bg {
  background: linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
  background-image: url('assets/images/placeholder-arounddc.jpg'), linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
}
.portfolio-card:nth-child(2) .portfolio-card-bg {
  background: linear-gradient(135deg, #0d1a0d 0%, #0a1009 100%);
  background-image: url('assets/images/placeholder-night.jpg'), linear-gradient(135deg, #0d1a0d 0%, #0a1009 100%);
}
.portfolio-card:nth-child(3) .portfolio-card-bg {
  background: linear-gradient(135deg, #2d1a0a 0%, #1a0e05 100%);
  background-image: url('assets/images/placeholder-events.jpg'), linear-gradient(135deg, #2d1a0a 0%, #1a0e05 100%);
}

.portfolio-card:hover .portfolio-card-bg { transform: scale(1.08); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  transition: background var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.portfolio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  transform: translateY(0);
  transition: transform var(--transition);
}

.portfolio-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.portfolio-card-link {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.portfolio-card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.portfolio-card:hover .portfolio-card-link {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-card:hover .portfolio-card-link::after { transform: translateX(4px); }

/* ============================================================
   ABOUT SECTIONS (alternating)
   ============================================================ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.about-section.reverse { direction: rtl; }
.about-section.reverse > * { direction: ltr; }

.about-image {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2);
  min-height: 500px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-section:hover .about-image img { transform: scale(1.04); }

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  min-height: 500px;
}

.about-body {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO GALLERY
   ============================================================ */
#portfolio-gallery {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  max-width: 500px;
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  background: var(--color-surface);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item:nth-child(4) { grid-column: span 2; aspect-ratio: 16/9; }

.gallery-item-inner {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-border);
  transition: transform 0.6s ease;
  overflow: hidden;
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.05); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 169, 110, 0);
  transition: background 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.gallery-icon {
  opacity: 0;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
  transform: scale(0.5);
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   TEAM
   ============================================================ */
#team {
  background: var(--color-surface);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  group: true;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--color-border);
  background: var(--color-surface-2);
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.team-card:hover .team-photo { border-color: var(--color-accent); }

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-card span {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============================================================
   BLOG
   ============================================================ */
#blog {
  background: var(--color-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.blog-card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-4px);
}

.blog-thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-2);
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumbnail img { transform: scale(1.06); }

.blog-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

.blog-body { padding: 1.75rem; }

.blog-meta {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color var(--transition);
}

.blog-card:hover h3 { color: var(--color-accent); }

.blog-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.read-more::after {
  content: '→';
  transition: transform var(--transition);
}

.blog-card:hover .read-more { gap: 0.75rem; }
.blog-card:hover .read-more::after { transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer-logo em {
  font-style: normal;
  color: var(--color-accent);
}

.footer-copy {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.footer-copy a { color: var(--color-accent); }

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: auto;
  box-shadow: 0 0 100px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.lightbox-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 2rem auto;
}

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-section,
  .about-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .about-section.reverse .about-image { order: -1; }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card { aspect-ratio: 4/3; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: span 2; }

  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: span 1; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   WORDPRESS SPECIFICS
   ============================================================ */
.wp-block-image img { height: auto; }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}
