@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --bg: #0e1108;
  --bg-secondary: #141a0b;
  --bg-card: #1a2010;
  --ivory: #f0ebe0;
  --ivory-dim: #b8b3a0;
  --ivory-faint: #7a756a;
  --chartreuse: #8db33a;
  --chartreuse-light: #a8cc48;
  --chartreuse-dark: #6e8c2a;
  --border: #222c12;
  --border-light: #2e3d18;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ivory);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 300; }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 400; }

.brand { font-family: 'Cinzel', serif; letter-spacing: 0.15em; text-transform: uppercase; }
.green  { color: var(--chartreuse); }
.italic { font-style: italic; }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  height: 68px; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(8,11,4,.96) 0%, rgba(8,11,4,0) 100%);
  transition: background .3s;
}
.navbar.scrolled {
  background: rgba(8, 11, 4, .97);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'Cinzel', serif; font-size: 1rem; letter-spacing: .12em;
  text-decoration: none; color: var(--ivory); white-space: nowrap;
}
.nav-brand span { color: var(--chartreuse); }

.nav-links { display: flex; list-style: none; gap: 1.8rem; }
.nav-links a {
  color: var(--ivory-dim); text-decoration: none;
  font-family: 'Raleway', sans-serif; font-size: .8rem;
  letter-spacing: .09em; text-transform: uppercase; font-weight: 400;
  transition: color .2s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--chartreuse); border-bottom-color: var(--chartreuse); }

.hamburger {
  display: none; background: none; border: none;
  color: var(--ivory); font-size: 1.5rem; cursor: pointer; padding: .4rem;
}
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; width: 100%;
  background: rgba(8,11,4,.98); border-bottom: 1px solid var(--border);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .85rem 2rem;
  color: var(--ivory-dim); text-decoration: none;
  font-family: 'Raleway', sans-serif; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); transition: color .2s, background .2s;
}
.mobile-menu a:hover { color: var(--chartreuse); background: var(--bg-secondary); }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block; padding: .85rem 2.2rem;
  font-family: 'Raleway', sans-serif; font-size: .82rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .25s; line-height: 1;
}
.btn-primary  { background: var(--chartreuse); color: var(--bg); }
.btn-primary:hover  { background: var(--chartreuse-light); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--chartreuse); border: 1px solid var(--chartreuse); }
.btn-outline:hover  { background: var(--chartreuse); color: var(--bg); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--ivory); border: 1px solid rgba(240,235,224,.3); }
.btn-ghost:hover    { border-color: var(--ivory); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.4rem; font-size: .75rem; }

/* ─── LAYOUT ──────────────────────────────────── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ─── HERO ────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,11,4,.25) 0%, rgba(8,11,4,.5) 60%, rgba(8,11,4,.85) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem; }

.hero-logo {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600; letter-spacing: .15em;
  color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.7);
  margin-bottom: .15em; text-transform: uppercase;
}
.hero-logo span {
  display: block; color: var(--chartreuse);
  font-size: .55em; font-weight: 400; letter-spacing: .25em;
  margin-top: .1em;
}
.hero-tagline {
  font-family: 'Raleway', sans-serif; font-weight: 300; font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: .1em;
  color: rgba(240,235,224,.82); margin-bottom: 2.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(240,235,224,.35); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ─── PAGE HEADER ─────────────────────────────── */
.page-header {
  padding: 9rem 0 4rem; text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { color: var(--chartreuse); margin-bottom: .8rem; }
.page-header .subtitle { color: var(--ivory-dim); max-width: 620px; margin: 0 auto; font-style: italic; }

/* ─── SPLIT SECTIONS ──────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 480px;
}
.split.reverse .text-side { order: 2; }
.split.reverse .image-side { order: 1; }
.split .text-side { padding: 4rem; }
.split .image-side { overflow: hidden; height: 100%; min-height: 420px; }
.split .image-side img { width: 100%; height: 100%; object-fit: cover; }

/* ─── DIVIDER ─────────────────────────────────── */
.divider { width: 55px; height: 2px; background: var(--chartreuse); margin: 1.4rem 0; }
.divider-center { margin: 1.4rem auto; }

/* ─── EYEBROW ─────────────────────────────────── */
.eyebrow {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--chartreuse); margin-bottom: .5rem;
  font-family: 'Raleway', sans-serif;
}

/* ─── TEXT BLOCK ──────────────────────────────── */
.text-block { max-width: 740px; }
.text-block p { color: var(--ivory-dim); margin-bottom: 1.2rem; line-height: 1.9; }
.text-block p.lead { font-size: 1.08rem; color: var(--ivory); }

/* ─── BLOCKQUOTE ──────────────────────────────── */
blockquote {
  border-left: 3px solid var(--chartreuse);
  padding: .8rem 0 .8rem 2rem; margin: 2rem 0;
}
blockquote p { font-size: 1.1rem; font-style: italic; color: var(--ivory); line-height: 1.8; }

/* ─── CARDS ───────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-light); }
.card-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-img-square { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.card-body { padding: 1.3rem 1.5rem; }
.card-body .animal-tag {
  font-size: .72rem; color: var(--ivory-faint);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem;
}
.card-body h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
.card-body .price { color: var(--chartreuse); font-size: 1.05rem; font-weight: 600; margin: .5rem 0 .8rem; }

/* ─── PRODUCT GRID ────────────────────────────── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem;
}

/* ─── CATEGORY CARDS ──────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.category-card {
  background: var(--bg-card); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--chartreuse-dark); }
.category-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.category-card-body { padding: 1.8rem 2rem; }
.category-card-body h3 { color: var(--chartreuse); font-size: 1.3rem; margin-bottom: .4rem; }
.category-card-body .tagline { font-style: italic; color: var(--ivory-dim); margin-bottom: .8rem; font-size: .9rem; }
.category-card-body p { color: var(--ivory-dim); font-size: .88rem; line-height: 1.65; margin-bottom: 1rem; }
.category-card-body .price { color: var(--chartreuse); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }

/* ─── ANIMAL WHEEL ────────────────────────────── */
.wheel-section { text-align: center; background: var(--bg-secondary); }
.wheel-img { max-width: 680px; margin: 2rem auto 0; cursor: pointer; transition: transform .3s; }
.wheel-img:hover { transform: scale(1.015); }

/* ─── ANIMAL PAGES ────────────────────────────── */
.animal-section { padding: 5.5rem 0; border-bottom: 1px solid var(--border); }
.animal-section:nth-child(even) { background: var(--bg-secondary); }

.animal-header {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 4rem; align-items: start; margin-bottom: 3rem;
}
.animal-logo-wrap { text-align: center; }
.animal-logo-wrap img { max-width: 180px; width: 100%; }
.animal-slogan {
  font-family: 'Raleway', sans-serif; font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300; font-style: italic; color: var(--chartreuse); margin-bottom: .6rem;
}
.animal-sub { color: var(--ivory-dim); font-size: .9rem; font-style: italic; margin-bottom: 1.2rem; }
.animal-text p { color: var(--ivory-dim); line-height: 1.9; margin-bottom: .9rem; font-size: .93rem; }

/* ─── FILTER BAR ──────────────────────────────── */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.2rem; background: transparent;
  border: 1px solid var(--border-light); color: var(--ivory-dim);
  font-family: 'Raleway', sans-serif; font-size: .78rem;
  letter-spacing: .09em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--chartreuse); border-color: var(--chartreuse); color: var(--bg);
}

/* ─── GALLERY ─────────────────────────────────── */
.gallery-masonry { columns: 4 200px; gap: 1rem; }
.gallery-masonry img {
  width: 100%; margin-bottom: 1rem; break-inside: avoid;
  cursor: pointer; transition: opacity .25s, transform .25s;
}
.gallery-masonry img:hover { opacity: .82; transform: scale(1.01); }

/* ─── LIGHTBOX ────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.93); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
#lightbox-img { max-width: 90vw; max-height: calc(90vh - 4.5rem); object-fit: contain; }
.lightbox-close {
  position: fixed; top: 1.2rem; right: 1.2rem;
  background: rgba(0,0,0,.4); border: none; color: var(--ivory);
  font-size: 1.6rem; line-height: 1; padding: .2rem .55rem;
  cursor: pointer; opacity: .7; transition: opacity .2s, background .2s;
  z-index: 10002; border-radius: 4px;
}
.lightbox-close:hover { opacity: 1; background: rgba(141,179,58,.4); }
/* Navigation */
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); border: none; color: #fff;
  font-size: 3.5rem; line-height: 1; padding: .05rem .6rem;
  cursor: pointer; z-index: 10001; border-radius: 4px;
  transition: background .2s; user-select: none;
}
.lb-nav:hover { background: rgba(141,179,58,.45); }
.lb-prev { left: .6rem; }
.lb-next { right: .6rem; }
/* Bottom bar */
.lb-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem 1.5rem;
  background: rgba(5,8,3,.85); z-index: 10001; flex-wrap: wrap;
}
.lb-caption {
  color: rgba(240,235,224,.6); font-size: .82rem;
  font-style: italic; margin: 0; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-actions { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }
.lb-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .32rem .75rem;
  background: rgba(141,179,58,.1); border: 1px solid rgba(141,179,58,.32);
  color: var(--ivory); font-size: .78rem; cursor: pointer;
  border-radius: 3px; text-decoration: none;
  font-family: 'Raleway', sans-serif; transition: background .2s; white-space: nowrap;
}
.lb-btn:hover { background: rgba(141,179,58,.28); color: #fff; }
/* Share panel (desktop fallback) */
.lb-share-panel {
  position: fixed; bottom: 3.5rem; right: 1rem;
  background: #111a08; border: 1px solid rgba(141,179,58,.28);
  border-radius: 6px; padding: .35rem;
  display: flex; flex-direction: column; gap: .15rem;
  z-index: 10002; min-width: 148px;
  box-shadow: 0 4px 20px rgba(0,0,0,.6);
}
.lb-share-panel[hidden] { display: none; }
.lb-share-item {
  display: block; padding: .52rem .85rem;
  color: var(--ivory); font-size: .81rem;
  background: transparent; border: none; cursor: pointer;
  text-decoration: none; border-radius: 3px;
  font-family: 'Raleway', sans-serif; transition: background .15s; text-align: left;
}
.lb-share-item:hover { background: rgba(141,179,58,.18); color: #fff; }
@media (max-width: 600px) {
  .lb-nav { font-size: 2.2rem; padding: .05rem .45rem; }
  .lb-prev { left: .15rem; }
  .lb-next { right: .15rem; }
  .lb-bar { padding: .5rem .75rem; }
  .lb-caption { display: none; }
}

/* ─── CONTACT ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact-info h3 { color: var(--chartreuse); margin-bottom: 1.5rem; }
.contact-info p { color: var(--ivory-dim); margin-bottom: .8rem; }
.contact-info a { color: var(--chartreuse); text-decoration: none; transition: color .2s; }
.contact-info a:hover { color: var(--chartreuse-light); }
.social-links { display: flex; gap: .8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem; border: 1px solid var(--border-light);
  color: var(--ivory-dim); text-decoration: none; font-size: .82rem;
  font-family: 'Raleway', sans-serif; letter-spacing: .06em;
  transition: all .2s;
}
.social-link:hover { border-color: var(--chartreuse); color: var(--chartreuse); }

/* ─── FORM ────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; margin-bottom: .4rem;
  color: var(--ivory-dim); font-size: .8rem;
  letter-spacing: .07em; text-transform: uppercase; font-family: 'Raleway', sans-serif;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--ivory); padding: .82rem 1rem;
  font-family: 'Open Sans', sans-serif; font-size: .93rem;
  transition: border-color .2s; outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--chartreuse); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--bg-card); }

/* ─── ABOUT ───────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 380px; gap: 5rem; align-items: start; }
.about-photo { position: sticky; top: 88px; }
.about-photo img { width: 100%; border: 1px solid var(--border); }
.about-text p { color: var(--ivory-dim); margin-bottom: 1.2rem; line-height: 1.9; }
.about-text p.lead { font-size: 1.05rem; color: var(--ivory); font-style: italic; }

/* ─── FOOTER ──────────────────────────────────── */
footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand { font-family: 'Cinzel', serif; font-size: 1.05rem; color: var(--chartreuse); margin-bottom: .8rem; }
.footer-tagline { color: var(--ivory-faint); font-size: .82rem; font-style: italic; }
.footer-col h4 {
  color: var(--ivory); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: var(--ivory-dim); text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--chartreuse); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p, .footer-bottom a { color: var(--ivory-faint); font-size: .78rem; text-decoration: none; }

/* ─── UTILITIES ───────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.hidden { display: none !important; }

/* ─── REVEAL ANIMATION ────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 300px; gap: 3rem; }
  .animal-header { grid-template-columns: 200px 1fr; gap: 2.5rem; }
  .split .text-side { padding: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  section { padding: 3.5rem 0; }

  .split { grid-template-columns: 1fr; }
  .split .text-side { padding: 2.5rem 1.5rem; order: 2; }
  .split .image-side { min-height: 260px; order: 1; }
  .split.reverse .text-side { order: 2; }
  .split.reverse .image-side { order: 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 300px; margin: 0 auto 2rem; }

  .animal-header { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .animal-logo-wrap img { max-width: 130px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gallery-masonry { columns: 2 140px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .category-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2 110px; }
  .footer-grid { grid-template-columns: 1fr; }
}
