/* ───────────────────────────────────────────────────────
   SeizeTheMoment  —  Global Styles
   Dark & Dramatic theme for wildlife photography
─────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg:           #0d0d0d;
  --bg-2:         #111111;
  --surface:      #1a1a1a;
  --border:       #2b2b2b;
  --text:         #e0e0e0;
  --text-muted:   #888888;
  --accent:       #c9a96e;
  --accent-light: #e0c480;
  --white:        #ffffff;
  --nav-h:        72px;
  --radius:       4px;
  --gap:          10px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.accent-text { color: var(--accent); }
.muted       { color: var(--text-muted); }

/* ── Layout ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.section { padding: clamp(3rem, 8vw, 7rem) 0; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile 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: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.92) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(224,224,224,0.75);
  max-width: 55ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.hero-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1;   }
}

/* ── Category Cards (homepage) ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface);
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.category-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.category-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
}
.category-card-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ── Section Headers ── */
.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-top: 1rem;
}

/* ── Masonry Gallery ── */
.gallery-page-header {
  padding: calc(var(--nav-h) + 4rem) clamp(1rem, 4vw, 3rem) 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.masonry {
  columns: 3;
  column-gap: var(--gap);
  padding: 0 clamp(1rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .masonry { columns: 2; } }
@media (max-width: 600px)  { .masonry { columns: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity var(--transition);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.masonry-item:hover .masonry-caption { opacity: 1; }

/* Empty gallery state */
.gallery-empty {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-muted);
}
.gallery-empty h3 {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.about-photo::after {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}
.about-text-block { padding-top: 1rem; }
.about-text-block p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}
.about-text-block p:first-of-type {
  color: var(--text);
  font-size: 1.15rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--transition);
  margin-top: 1rem;
}
.contact-link:hover { color: var(--accent-light); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-muted);
}
.footer-logo span { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 0.78rem; }

/* ── Social Links (footer) ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.social-li