/*
Theme Name: Baruch Taxidermy
Theme URI: https://baruchtaxidermy.co.za
Author: Codex
Description: Premium African wildlife atelier theme for Baruch Taxidermy, with importable pages and Elementor-compatible header and footer areas.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: baruch-taxidermy
*/

:root {
  --wildlife-charcoal: #111311;
  --wildlife-black: #090b09;
  --forest-deep: #1d2a21;
  --forest-muted: #29352c;
  --ivory-warm: #f1ebdd;
  --sand-light: #ddd0b8;
  --kalahari-sand: #c6a978;
  --bronze: #9b693d;
  --bronze-light: #bd8957;
  --olive-muted: #68705a;
  --text-light: #f5f1e8;
  --text-muted: #b8b7ae;
  --border-dark: rgba(198, 169, 120, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-light);
  background: var(--wildlife-black);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.baruch-page section { padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem); }
.baruch-page .elementor-widget-html > .elementor-widget-container > section {
  margin-left: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.elementor-section:has(.site-header),
.elementor-section:has(.site-footer) {
  padding: 0 !important;
}
h1, h2, h3 { font-family: "Cormorant Garamond", serif; margin: 0; line-height: .95; letter-spacing: 0; }
h1 { font-size: clamp(3.5rem, 8vw, 8.4rem); max-width: 900px; }
h2 { font-size: clamp(2.45rem, 5vw, 5.2rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
p { color: var(--text-muted); line-height: 1.75; font-size: 1rem; }
.muted { color: #746f62; }
.eyebrow {
  color: var(--kalahari-sand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--kalahari-sand);
  color: var(--wildlife-black);
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  left: 0;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  background: rgba(9, 11, 9, .7);
  backdrop-filter: blur(16px);
  z-index: 50;
}
.brand img { height: 46px; width: 130px; object-fit: contain; object-position: left center; }
.desktop-nav, .menu { display: flex; gap: 1.1rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.desktop-nav a, .menu a {
  color: rgba(245, 241, 232, .76);
  font-size: .9rem;
  font-weight: 700;
}
.desktop-nav a:hover, .menu a:hover, .current-menu-item > a { color: var(--kalahari-sand); }
.header-actions { align-items: center; display: flex; gap: .65rem; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  background: rgba(9, 11, 9, .5);
  color: var(--ivory-warm);
}
.btn, .wp-block-button__link {
  align-items: center;
  background: var(--kalahari-sand);
  border: 1px solid var(--kalahari-sand);
  border-radius: 0;
  color: var(--wildlife-black);
  display: inline-flex;
  gap: .7rem;
  justify-content: center;
  min-height: 46px;
  padding: .82rem 1.05rem;
  font-weight: 800;
  transition: .25s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: var(--bronze-light); }
.btn-secondary {
  background: rgba(241, 235, 221, .05);
  color: var(--ivory-warm);
}
.btn-small { min-height: 40px; padding: .55rem .85rem; font-size: .86rem; }
.mobile-panel {
  position: fixed;
  inset: 0;
  background: rgba(9, 11, 9, .97);
  z-index: 45;
  padding: 6rem 1.4rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
}
.mobile-panel.open { display: flex; }
.mobile-panel a:not(.btn) { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; }
.hero {
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.hero::before, .subhero::before, .final-cta::before, .detail-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 11, 9, .86), rgba(9, 11, 9, .45) 48%, rgba(9, 11, 9, .32)), linear-gradient(0deg, rgba(9, 11, 9, .9), transparent 55%);
}
.home-hero {
  --hero-start-size: 108% auto;
  --hero-end-size: 100% auto;
  animation: heroZoomOut 20s ease-out infinite;
  background-size: var(--hero-start-size);
}
@keyframes heroZoomOut {
  0% { background-size: var(--hero-start-size); }
  82%, 100% { background-size: var(--hero-end-size); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  padding: 0 clamp(1rem, 5vw, 5rem) clamp(3rem, 9vw, 7rem);
}
.hero-content p { max-width: 690px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #ddd8cb; }
.hero h1 em { color: var(--kalahari-sand); font-style: italic; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.5rem; }
.trust-strip { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.trust-strip span {
  align-items: center;
  border: 1px solid var(--border-dark);
  background: rgba(17, 19, 17, .55);
  display: inline-flex;
  gap: .45rem;
  padding: .6rem .75rem;
  color: var(--ivory-warm);
}
.split-section {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  background: var(--ivory-warm);
  color: var(--wildlife-black);
}
.split-section p { color: #4f4a41; }
.image-stack { position: relative; min-height: 540px; }
.image-stack img:first-child { height: 520px; width: 76%; object-fit: cover; }
.image-stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  min-width: 210px;
  border: 8px solid var(--ivory-warm);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.feature-img { width: 100%; min-height: 420px; object-fit: cover; }
.dark-band {
  background: linear-gradient(135deg, var(--wildlife-black), var(--forest-deep));
  border-block: 1px solid var(--border-dark);
}
.section-intro { max-width: 850px; margin-bottom: 2.5rem; }
.section-intro p { max-width: 680px; }
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  min-height: 520px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-dark);
  background: var(--forest-deep);
}
.service-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,11,9,.94), rgba(9,11,9,.1)); }
.service-card:hover img { transform: scale(1.06); }
.service-card div { position: absolute; z-index: 2; inset: auto 0 0; padding: 1.4rem; }
.service-card span { color: var(--kalahari-sand); font-weight: 800; }
.service-card p { color: #ddd8cb; }
.service-card strong, .text-link { color: var(--kalahari-sand); display: inline-flex; align-items: center; gap: .5rem; }
.masonry-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 1rem;
}
.gallery-tile {
  background: var(--forest-deep);
  border: 0;
  color: var(--ivory-warm);
  min-width: 0;
  overflow: hidden;
  position: relative;
  text-align: left;
}
.gallery-tile:nth-child(1), .gallery-tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-tile img { height: 100%; width: 100%; object-fit: cover; transition: .35s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile span {
  position: absolute;
  inset: auto .8rem .8rem;
  background: rgba(9,11,9,.68);
  padding: .45rem .6rem;
  font-weight: 800;
}
.process-home { background: var(--ivory-warm); color: var(--wildlife-black); }
.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 1px;
  overflow-x: auto;
  margin-bottom: 1.8rem;
}
.timeline div, .step-grid article, .value-grid article {
  border: 1px solid rgba(17,19,17,.16);
  padding: 1.1rem;
  background: rgba(255,255,255,.32);
}
.timeline span, .step-grid span { color: var(--bronze); font-weight: 900; }
.timeline p { color: #4f4a41; font-size: .9rem; }
.detail-section, .final-cta, .subhero {
  position: relative;
  background-position: center;
  background-size: cover;
}
.detail-section { min-height: 680px; display: flex; align-items: center; }
.detail-section > div, .final-cta > div, .subhero > div { position: relative; z-index: 1; max-width: 850px; }
.detail-section ul { display: grid; gap: .7rem; margin-top: 1.5rem; padding: 0; list-style: none; max-width: 420px; }
.detail-section li { border-left: 2px solid var(--kalahari-sand); padding: .7rem 1rem; background: rgba(9,11,9,.6); }
.export-section { background: var(--wildlife-black); color: var(--ivory-warm); }
.export-section p { color: #ccc5b8; }
.route-map {
  min-height: 420px;
  border: 1px solid var(--border-dark);
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(198,169,120,.18), transparent 42%);
}
.route-map::before { content: ""; position: absolute; inset: 18%; border: 1px solid var(--border-dark); transform: rotate(-12deg); }
.route-map span {
  position: relative;
  display: block;
  margin: .75rem;
  padding: .7rem;
  background: rgba(17,19,17,.75);
  color: var(--sand-light);
}
.sand-cta {
  background: var(--sand-light);
  color: var(--wildlife-black);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.sand-cta p { color: #514a3e; }
.compact-cta { grid-template-columns: 1fr auto; align-items: center; }
.final-cta { min-height: 560px; display: flex; align-items: center; }
.subhero { min-height: 58vh; display: flex; align-items: flex-end; padding-top: 9rem; }
.subhero h1 { font-size: clamp(3rem, 6.5vw, 6.5rem); }
.service-list { display: grid; gap: 1.5rem; }
.service-row {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1fr;
  gap: 1.5rem;
  background: var(--ivory-warm);
  color: var(--wildlife-black);
  padding: 1rem;
}
.service-row img { width: 100%; height: 360px; object-fit: cover; }
.service-row p, .service-row li { color: #514a3e; }
.value-grid, .step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dark-band .step-grid article, .dark-band .value-grid article {
  background: rgba(241,235,221,.04);
  border-color: var(--border-dark);
}
.process-detail {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 1.5rem;
}
.process-detail img { height: 100%; min-height: 540px; object-fit: cover; }
.filter-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; }
.filter-row button {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--ivory-warm);
  min-height: 44px;
  padding: .65rem 1rem;
}
.filter-row button.active { background: var(--kalahari-sand); color: var(--wildlife-black); }
.gallery-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.faq-group h2 { margin-bottom: 1rem; }
.faq-group article { border-top: 1px solid var(--border-dark); }
.faq-group button {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: var(--ivory-warm);
  border: 0;
  text-align: left;
  font-weight: 800;
  padding: 1rem 0;
}
.faq-group article p { display: none; }
.faq-group article.open p { display: block; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; background: var(--ivory-warm); color: var(--wildlife-black); }
.contact-card, .form-panel {
  border: 1px solid rgba(17,19,17,.16);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255,255,255,.36);
}
.contact-card a { display: flex; gap: .7rem; align-items: flex-start; color: var(--forest-deep); margin: 1rem 0; font-weight: 800; }
.form-panel { display: grid; gap: 1rem; color: var(--wildlife-black); }
.form-panel h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .45rem; color: #2c2a24; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(17,19,17,.2);
  background: rgba(255,255,255,.65);
  min-height: 46px;
  padding: .75rem .85rem;
  color: var(--wildlife-black);
}
textarea { resize: vertical; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; }
.check-row input { width: 18px; min-height: 18px; margin-top: .2rem; }
.notice { border-left: 3px solid var(--bronze); padding: .65rem .8rem; background: rgba(155,105,61,.12); color: #332b22; }
.honeypot { display: none !important; }
.site-footer {
  background: var(--wildlife-black);
  border-top: 1px solid var(--border-dark);
  padding: 4rem clamp(1rem, 5vw, 5rem) 1.2rem;
}
.elementor .site-footer {
  margin-left: calc(50% - 50vw);
  width: 100vw;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .75fr .75fr 1fr;
  gap: 2rem;
}
.footer-logo { height: 64px; width: 180px; object-fit: contain; object-position: left center; margin-bottom: 1rem; }
.site-footer h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.site-footer a { display: flex; align-items: center; gap: .45rem; color: #d6ccb8; margin: .55rem 0; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8f8a80;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .88rem;
}
:focus-visible { outline: 3px solid var(--kalahari-sand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 1060px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .service-card-grid, .value-grid, .step-grid, .gallery-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-detail, .contact-grid, .sand-cta, .split-section, .service-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .baruch-page section { padding: 3.5rem 1rem; }
  .brand img { width: 112px; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .hero { min-height: 100svh; background-position: 58% center; }
  .home-hero {
    --hero-start-size: auto 112%;
    --hero-end-size: auto 100%;
  }
  .hero-content { padding: 0 1rem 2rem; }
  .btn { width: 100%; }
  .trust-strip span { width: 100%; }
  .image-stack { min-height: 420px; }
  .image-stack img:first-child { width: 100%; height: 360px; }
  .image-stack img:last-child { width: 58%; min-width: 180px; }
  .service-card-grid, .value-grid, .step-grid, .masonry-preview, .gallery-full, .faq-wrap, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery-tile, .gallery-tile:nth-child(1), .gallery-tile:nth-child(6) { grid-column: auto; grid-row: auto; min-height: 260px; }
  .service-card { min-height: 420px; }
  .timeline { grid-template-columns: 1fr; overflow: visible; }
  .footer-bottom { flex-direction: column; }
  .compact-cta { grid-template-columns: 1fr; }
}
