/* ==========================================================================
   IMAGO ARC — style.css
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --text: #e8e8e8;
  --text-muted: #888888;
  --accent: #c8c8c8;
  --border: #222222;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, Helvetica, Arial, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: #fff; }

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: transparent;
  box-sizing: border-box;
}

.site-nav .nav-logo img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.88;
  transition: opacity var(--transition);
}

.site-nav .nav-logo:hover img { opacity: 1; }

.site-nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
}

.site-nav ul li { list-style: none; }

.site-nav ul li a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.site-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width var(--transition);
}

.site-nav ul li a:hover,
.site-nav ul li a.active { color: #fff; }

.site-nav ul li a:hover::after,
.site-nav ul li a.active::after { width: 100%; }

/* ==========================================================================
   GALLERY PAGE
   NO flex, NO centering — layout handled by gallery-layout.css
   ========================================================================== */

.gallery-page {
  background: #000;
  display: block;
}

.gallery-header {
  text-align: center;
  padding: 4px 0 0 0;
}

.gallery-header h1 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   Quiet signature — small logo, copyright, fades into black.
   ========================================================================== */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 52px;
  background: #000;
}

.site-footer .footer-logo img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.35;
  transition: opacity var(--transition);
  margin: 0 auto;
}

.site-footer .footer-logo:hover img {
  opacity: 0.6;
}

.site-footer .footer-copy {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-align: center;
}

.site-footer .footer-email {
  display: block;
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  text-decoration: none;
  text-align: center;
  transition: color var(--transition);
}

.site-footer .footer-email:hover {
  color: rgba(255,255,255,0.7);
}

.site-footer .footer-licensing {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-align: center;
}

/* Hidden easter egg link to wildlife page */
.footer-hidden {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  margin: 20px auto 0 auto;
  transition: background 0.4s ease;
}

.footer-hidden:hover {
  background: #1a1a1a;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.96);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--transition);
  z-index: 10;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 200;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity var(--transition);
  padding: 1rem;
  z-index: 10;
  line-height: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .site-nav { padding: 18px 20px; }
  .site-nav ul { gap: 20px; }
  .site-nav ul li a { font-size: 0.7rem; }
  .site-footer { padding: 60px 20px 40px; }
}
