@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --cream: #F5F0E8;
  --dark: #1A1A18;
  --moss: #4A5D3A;
  --moss-light: #6B7F5A;
  --sand: #C4B59A;
  --sand-light: #D9CEBC;
  --water: #5B7B8A;
  --water-deep: #3A5A6A;
  --rust: #A0613A;
  --sky: #8AABB8;
  --warm-white: #FAF8F4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Gill Sans', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--moss); color: var(--cream); }

/* ===== NOISE TEXTURE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.scrolled {
  background: rgba(26, 26, 24, 0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 2.5rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--cream); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  opacity: 0.35;
  animation: heroFadeIn 2s ease-out;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,24,0.3) 0%,
    rgba(26,26,24,0.15) 30%,
    rgba(26,26,24,0.15) 60%,
    rgba(26,26,24,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: heroContentIn 1.5s ease-out 0.3s both;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 0.95;
  margin-bottom: 0.4em;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
}

.hero-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.4), transparent);
}

/* ===== INTRO SECTION ===== */
.intro {
  padding: 8rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-ornament {
  width: 60px;
  height: 1px;
  background: var(--moss);
  margin: 0 auto 3rem;
}

.intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 2rem;
}

.intro p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(26, 26, 24, 0.7);
  max-width: 650px;
  margin: 0 auto;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--moss);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.5);
  margin-top: 0.3rem;
}

/* ===== FEATURED STRIP ===== */
.featured-strip {
  padding: 0 0 6rem;
  overflow: hidden;
}

.featured-strip-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.4);
  margin-bottom: 2rem;
}

.scroll-strip {
  display: flex;
  gap: 1rem;
  animation: scrollLeft 60s linear infinite;
  width: max-content;
}

.scroll-strip:hover { animation-play-state: paused; }

.scroll-strip img {
  height: 280px;
  width: auto;
  border-radius: 4px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
  filter: saturate(0.9);
  cursor: pointer;
}

.scroll-strip img:hover {
  transform: scale(1.04);
  filter: saturate(1.1);
}

/* ===== ABOUT BANNOW BAY ===== */
.about {
  background: var(--dark);
  color: var(--cream);
  padding: 8rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 93, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.about h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.about p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 1.5rem;
}

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

.about-feature {
  padding: 1.5rem;
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 6px;
  transition: border-color 0.3s;
}

.about-feature:hover { border-color: rgba(245, 240, 232, 0.2); }

.about-feature h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.about-feature p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 0;
}

.about-image-stack {
  position: relative;
  height: 500px;
}

.about-image-stack img {
  position: absolute;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.about-image-stack img:nth-child(1) {
  width: 65%;
  height: 70%;
  top: 0;
  left: 0;
  z-index: 2;
}

.about-image-stack img:nth-child(2) {
  width: 55%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 8rem 2.5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.section-header p {
  font-weight: 300;
  font-size: 1rem;
  color: rgba(26, 26, 24, 0.6);
  max-width: 550px;
  margin: 0 auto;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-group-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.4);
  width: 100%;
  text-align: center;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}

.filter-group-label:first-child { margin-top: 0; }

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(26, 26, 24, 0.15);
  border-radius: 100px;
  background: transparent;
  color: rgba(26, 26, 24, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--moss);
  color: var(--moss);
}

.filter-btn.active {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--cream);
}

/* Search */
.search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.search-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(26, 26, 24, 0.12);
  border-radius: 100px;
  background: var(--warm-white);
  color: var(--dark);
  width: 100%;
  max-width: 400px;
  outline: none;
  transition: all 0.3s;
}

.search-input::placeholder { color: rgba(26, 26, 24, 0.35); }
.search-input:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(74, 93, 58, 0.1); }

.gallery-count {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(26,26,24,0.4);
  margin-bottom: 2rem;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.bird-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--warm-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(20px);
}

.bird-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.bird-card.hidden {
  display: none;
}

.bird-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.bird-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.bird-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.bird-card:hover .bird-card-image img {
  transform: scale(1.08);
}

.bird-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.badge-resident {
  background: rgba(74, 93, 58, 0.85);
  color: var(--cream);
}

.badge-migratory {
  background: rgba(91, 123, 138, 0.85);
  color: var(--cream);
}

.badge-coastal {
  background: rgba(160, 97, 58, 0.85);
  color: var(--cream);
}

.bird-card-info {
  padding: 1.1rem 1.25rem;
}

.bird-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.bird-card-latin {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(26, 26, 24, 0.45);
  margin-bottom: 0.6rem;
}

.bird-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bird-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  background: rgba(26, 26, 24, 0.04);
  border-radius: 3px;
  color: rgba(26, 26, 24, 0.5);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 8, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox-info {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--cream);
}

.lightbox-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
}

.lightbox-latin {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 0.25rem;
}

.lightbox-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  max-width: 500px;
  margin: 0.75rem auto 0;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: rgba(245, 240, 232, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-nav:hover { background: rgba(245, 240, 232, 0.15); }

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

/* ===== HABITATS SECTION ===== */
.habitats {
  padding: 6rem 2.5rem 8rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

.habitats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.habitats .section-header { margin-bottom: 3rem; }

.habitat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.habitat-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26, 26, 24, 0.08);
  border-radius: 8px;
  background: var(--cream);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.habitat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 8px 0 0 8px;
  transition: width 0.4s;
}

.habitat-card:nth-child(1)::before { background: var(--water); }
.habitat-card:nth-child(2)::before { background: var(--moss); }
.habitat-card:nth-child(3)::before { background: var(--sand); }
.habitat-card:nth-child(4)::before { background: var(--rust); }
.habitat-card:nth-child(5)::before { background: var(--water-deep); }
.habitat-card:nth-child(6)::before { background: var(--moss-light); }

.habitat-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.habitat-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.habitat-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.habitat-card p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 24, 0.6);
}

/* ===== SEASONS SECTION ===== */
.seasons {
  background: var(--dark);
  color: var(--cream);
  padding: 8rem 2.5rem;
}

.seasons-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.seasons .section-header h2 { color: var(--cream); }
.seasons .section-header p { color: rgba(245, 240, 232, 0.5); }

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.season-card {
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(245, 240, 232, 0.06);
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.season-card:hover {
  border-color: rgba(245, 240, 232, 0.15);
  transform: translateY(-4px);
}

.season-emoji { font-size: 2.5rem; margin-bottom: 1rem; }

.season-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.season-card p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.5);
}

.season-birds {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}

.season-bird-tag {
  font-size: 0.62rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 3px;
  color: rgba(245, 240, 232, 0.5);
}

/* ===== LOCATIONS MAP SECTION ===== */
.locations {
  padding: 8rem 2.5rem;
}

.locations-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.locations h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.locations p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(26, 26, 24, 0.6);
  margin-bottom: 1rem;
}

.location-spots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.location-spot {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.location-spot:hover { background: rgba(26, 26, 24, 0.02); }

.location-spot-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.location-spot h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.location-spot p {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: rgba(26, 26, 24, 0.5);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  aspect-ratio: 1;
  background: var(--dark);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 2.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copyright {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.2);
  margin-top: 2rem;
}

/* ===== ANIMATIONS ===== */
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 0.35; transform: scale(1); }
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-stack { height: 350px; }
  .locations-inner { grid-template-columns: 1fr; gap: 3rem; }
  .seasons-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 24, 0.97);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }
  
  .nav-links.open a { font-size: 1.2rem; color: var(--cream); }
  
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .seasons-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .stats-row { gap: 2rem; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  
  .scroll-strip img { height: 180px; }
  
  .intro { padding: 5rem 1.5rem; }
  .gallery-section { padding: 5rem 1.5rem 3rem; }
  .habitats { padding: 4rem 1.5rem 5rem; }
  .seasons { padding: 5rem 1.5rem; }
  .locations { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .bird-card-info { padding: 0.8rem; }
  .bird-card-name { font-size: 1rem; }
  .bird-card-latin { font-size: 0.72rem; }
  .bird-card-tags { display: none; }
}

/* ===== CONTENT PAGE STYLES ===== */
.content-page {
	padding: 8rem 2.5rem 4rem;
	background: var(--cream);
	min-height: 60vh;
}
.content-container {
	max-width: 800px;
	margin: 0 auto;
}
.headline-area {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}
.headline-area h1,
.headline-area h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	color: var(--dark);
	line-height: 1.2;
	margin-bottom: 0.75rem;
}
.byline {
	font-size: 0.85rem;
	color: rgba(26, 26, 24, 0.5);
	display: flex;
	gap: 1rem;
}
.content-container p {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 300;
	line-height: 1.85;
	color: rgba(26, 26, 24, 0.75);
	margin-bottom: 1.5rem;
}
.content-container img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 1.5rem 0;
}
.error-page {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.error-page .headline-area {
	border-bottom: none;
}
.error-page .content-container {
	max-width: 600px;
}
.season-bird-tag { cursor: pointer; transition: background 0.2s, color 0.2s; }
.season-bird-tag:hover { background: var(--moss); color: var(--cream); }


/* Always show nav links, no hamburger */
.nav-hamburger { display: none !important; }
@media (max-width: 768px) {
	.nav {
		flex-wrap: wrap;
		padding: 0.6rem 1rem;
		gap: 0;
	}
	.nav-logo {
		font-size: 0.95rem;
		width: 100%;
		margin-bottom: 0.3rem;
	}
	.nav-links {
		display: flex !important;
		width: 100%;
		justify-content: space-between;
		gap: 0;
		padding: 0;
	}
	.nav-links li { list-style: none; }
	.nav-links a {
		font-size: 0.65rem;
		padding: 0.2rem 0;
		letter-spacing: 0.08em;
	}
}


/* 404 Page */
.error-404 {
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3rem 1.5rem;
	background: var(--charcoal);
}
.error-404-bird {
	width: 200px;
	height: 200px;
	margin-bottom: 1rem;
	animation: birdLook 3s ease-in-out infinite;
}
@keyframes birdLook {
	0%, 100% { transform: scaleX(1); }
	50% { transform: scaleX(-1); }
}
.error-404-code {
	font-family: var(--font1);
	font-size: 6rem;
	font-weight: 300;
	color: var(--moss);
	opacity: 0.25;
	line-height: 1;
	margin: 0;
	letter-spacing: 0.1em;
}
.error-404-title {
	font-family: var(--font1);
	font-size: 2.2rem;
	font-weight: 400;
	color: var(--cream);
	margin: 0.5rem 0 1rem;
	max-width: 500px;
}
.error-404-text {
	color: var(--cream);
	opacity: 0.7;
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 440px;
	margin: 0 0 2rem;
}
.error-404-btn {
	display: inline-block;
	background: var(--moss);
	color: var(--cream);
	text-decoration: none;
	padding: 0.85rem 2.5rem;
	border-radius: 50px;
	font-family: var(--font2);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	transition: background 0.3s, transform 0.3s;
}
.error-404-btn:hover {
	background: var(--water);
	transform: translateY(-2px);
}
.error-404-sub {
	margin-top: 1.2rem;
	font-size: 0.85rem;
	color: var(--cream);
	opacity: 0.4;
}
.error-404-sub a {
	color: var(--sand);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.error-404-sub a:hover {
	color: var(--cream);
}
@media (max-width: 768px) {
	.error-404-code { font-size: 4rem; }
	.error-404-title { font-size: 1.6rem; }
	.error-404-bird { width: 150px; height: 150px; }
}

/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--moss);
	color: var(--cream);
	border: none;
	cursor: pointer;
	font-size: 1.4rem;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s, transform 0.3s;
	transform: translateY(10px);
	z-index: 90;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.back-to-top.visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.back-to-top:hover {
	background: var(--water);
}
@media (max-width: 768px) {
	.back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 1.2rem; }
}

/* Active nav link */
.nav-links a.active {
	color: var(--cream);
	opacity: 1;
}
.nav-links a {
	opacity: 0.7;
	transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover {
	opacity: 1;
}

/* Scroll reveal animations */
.habitat-card, .season-card {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.habitat-card.revealed, .season-card.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Lightbox focus styles */
.lightbox-close:focus, .lightbox-nav:focus {
	outline: 2px solid var(--cream);
	outline-offset: 2px;
}


/* ===== SEASONAL SPOTLIGHT ===== */
.spotlight {
	background: var(--cream);
	padding: 4rem 2rem;
}
.spotlight-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.spotlight-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}
.spotlight-card {
	background: white;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
}
.spotlight-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.spotlight-card img {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}
.spotlight-card-info h4 {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.2rem;
	color: var(--charcoal);
}
.spotlight-card-info .spotlight-latin {
	font-style: italic;
	color: var(--water);
	font-size: 0.85rem;
	margin-bottom: 0.4rem;
}
.spotlight-card-info p:last-child {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.4;
	margin: 0;
}
.spotlight-tag {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 20px;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.3rem;
}
.spotlight-tag-resident {
	background: rgba(74,93,58,0.12);
	color: var(--moss);
}
.spotlight-tag-migratory {
	background: rgba(91,123,138,0.12);
	color: var(--water);
}

/* ===== BIRDING CHECKLIST ===== */
.checklist {
	background: var(--cream);
	padding: 4rem 2rem;
}
.checklist-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.checklist-progress {
	margin: 1.5rem 0;
}
.checklist-progress-bar {
	height: 8px;
	background: rgba(0,0,0,0.08);
	border-radius: 4px;
	overflow: hidden;
}
.checklist-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--moss), var(--water));
	border-radius: 4px;
	transition: width 0.5s ease;
	width: 0;
}
.checklist-progress-text {
	font-size: 0.9rem;
	color: var(--water);
	margin-top: 0.5rem;
	font-weight: 600;
}
.checklist-filters {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}
.checklist-filter {
	padding: 0.4rem 1rem;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,0.15);
	background: transparent;
	cursor: pointer;
	font-size: 0.85rem;
	transition: all 0.2s;
	color: var(--charcoal);
}
.checklist-filter.active {
	background: var(--moss);
	color: white;
	border-color: var(--moss);
}
.checklist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.5rem;
	max-height: 400px;
	overflow-y: auto;
	padding-right: 0.5rem;
}
.checklist-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 0.8rem;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s;
	border: 1px solid rgba(0,0,0,0.06);
	background: white;
}
.checklist-item:hover {
	background: rgba(74,93,58,0.06);
}
.checklist-item.spotted {
	background: rgba(74,93,58,0.1);
	border-color: var(--moss);
}
.checklist-tick {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.75rem;
	transition: all 0.2s;
}
.checklist-item.spotted .checklist-tick {
	background: var(--moss);
	border-color: var(--moss);
	color: white;
}
.checklist-item-name {
	font-size: 0.85rem;
	color: var(--charcoal);
	font-weight: 500;
}
.checklist-item-latin {
	font-size: 0.75rem;
	color: #999;
	font-style: italic;
}
.checklist-reset {
	margin-top: 1rem;
	padding: 0.5rem 1.2rem;
	background: transparent;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.8rem;
	color: #999;
	transition: all 0.2s;
}
.checklist-reset:hover {
	color: #c0392b;
	border-color: #c0392b;
}

/* ===== CONDITIONS DASHBOARD ===== */
.conditions {
	background: var(--charcoal);
	color: var(--cream);
	padding: 4rem 2rem;
}
.conditions-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.conditions .section-header h2,
.conditions .section-header p {
	color: var(--cream);
}
.conditions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}
.condition-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 1.5rem;
}
.condition-card-header {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--sand);
	margin-bottom: 1rem;
}
.weather-main {
	font-size: 2.5rem;
	font-family: var(--font-heading);
	margin-bottom: 0.5rem;
}
.weather-main .weather-icon {
	font-size: 2rem;
	margin-right: 0.3rem;
}
.weather-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	font-size: 0.85rem;
}
.weather-detail-item {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	color: rgba(255,255,255,0.7);
}
.weather-detail-item span:first-child {
	font-size: 1rem;
}
.weather-sun {
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.85rem;
	color: rgba(255,255,255,0.7);
	display: flex;
	gap: 1rem;
}
.tide-gauge {
	position: relative;
	height: 100px;
	background: rgba(0,0,0,0.3);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1rem;
}
.tide-gauge-water {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(91,123,138,0.8), rgba(91,123,138,0.3));
	transition: height 1s ease;
	border-radius: 0 0 8px 8px;
}
.tide-gauge-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-heading);
	font-size: 1.3rem;
	z-index: 2;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.tide-detail {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.7);
	margin-bottom: 0.5rem;
}
.tide-birding {
	font-size: 0.85rem;
	color: var(--sand);
	font-style: italic;
}
.best-time-rating {
	font-size: 2rem;
	font-family: var(--font-heading);
	margin-bottom: 0.5rem;
}
.best-time-rating.excellent { color: #4CAF50; }
.best-time-rating.good { color: var(--sand); }
.best-time-rating.fair { color: #FF9800; }
.best-time-rating.poor { color: #ef5350; }
.best-time-detail {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.8);
	margin-bottom: 0.8rem;
	line-height: 1.4;
}
.best-time-factors {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.best-time-factor {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
}
.best-time-factor .factor-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.factor-dot.green { background: #4CAF50; }
.factor-dot.amber { background: #FF9800; }
.factor-dot.red { background: #ef5350; }
.forecast-days {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.forecast-day {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	font-size: 0.85rem;
}
.forecast-day-name {
	width: 50px;
	color: rgba(255,255,255,0.6);
}
.forecast-day-icon {
	font-size: 1.1rem;
}
.forecast-day-temps {
	display: flex;
	gap: 0.5rem;
}
.forecast-day-high {
	color: var(--cream);
	font-weight: 600;
}
.forecast-day-low {
	color: rgba(255,255,255,0.4);
}
.forecast-day-rain {
	width: 55px;
	text-align: right;
	color: rgba(91,123,138,0.8);
	font-size: 0.8rem;
}
