/* ===============================
   CSS RESET & BASE NORMALIZATION
   =============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F2ED;
  color: #1C3F2B;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #597B40;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C3F2B;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* =========================
   BRAND & DESIGN TOKENS
   ========================= */
:root {
  --color-primary: #1C3F2B;
  --color-secondary: #7EA15C;
  --color-accent: #F4F2ED;
  --color-warm-orange: #FFD9B3;
  --color-warm-sand: #FFF6EA;
  --color-button: #F6B66A;
  --color-button-hover: #FFCC8F;
  --color-shadow: rgba(90, 70, 30, 0.10);
  --radius: 18px;
  --radius-sm: 9px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--color-shadow);
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-family: var(--font-body);
  margin-bottom: 20px;
  font-weight: 500;
}
p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #2a4d33;
  font-family: var(--font-body);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: #FFF6EA;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  padding-top: 10px;
  position: relative;
  z-index: 51;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
  position: relative;
}
.logo img {
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fff4e0;
  padding: 6px 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav a {
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-warm-orange);
  color: #15341d;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-button);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  margin-left: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-button-hover);
  color: var(--color-primary);
  box-shadow: 0 5px 14px var(--color-shadow);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.2rem;
  padding: 6px 16px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 1051;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.20);
  transition: transform 0.4s cubic-bezier(.79,.14,.15,.86);
  transform: translateX(-100vw);
  z-index: 2001;
  overflow-y: auto;
  padding: 32px 26px 20px 26px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-button);
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  border-radius: 50%;
  margin-bottom: 18px;
  align-self: flex-end;
  box-shadow: 0 2px 8px var(--color-shadow);
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-button-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  background: transparent;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  padding: 14px 0 14px 0;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid #e6d6bc;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-warm-orange);
  color: #15341d;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* =========================
   HERO & SPLASH AREAS
   ========================= */
.hero {
  background: linear-gradient(90deg, #FFF6EA 60%, #FFD9B3 100%);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 44px 0 44px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.25rem;
}
.hero .cta-button {
  margin-top: 14px;
  font-size: 1.08rem;
  padding: 14px 45px;
}

/* =========================
   FEATURE GRID & FLEX PATT.
   ========================= */
.feature-grid, .animal-cards, .habit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-item, .animal-card, .habit-grid > div {
  background: #fff;
  box-shadow: 0 1.5px 12px var(--color-shadow);
  border-radius: var(--radius);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.16s;
  position: relative;
}
.feature-item:hover, .animal-card:hover, .habit-grid > div:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 8px 28px var(--color-shadow);
}
.feature-item img, .animal-card img, .habit-grid img {
  height: 48px;
  width: auto;
  margin-bottom: 3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px var(--color-shadow);
}
.habit-grid {
  gap: 20px;
}

/* =========================
   GENERAL FLEX LAYOUTS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FFF6EA;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 36px 24px;
}

/* =========================
   ARTICLE PREVIEW & INFOS
   ========================= */
.article-preview-list, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.article-preview-list > div, .article-list > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 10px var(--color-shadow);
  padding: 24px 18px;
  min-width: 228px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.article-preview-list > div:hover, .article-list > div:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 6px 24px var(--color-shadow);
}
.article-list h3 a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  transition: color 0.15s;
}
.article-list h3 a:hover, .article-list h3 a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.checklists, .conservation-notes, .trend-highlights, .protection-status, .visitor-info, .guided-tour-info, .expert-tips {
  background: #FFF6EA;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 0 1px 4px var(--color-shadow);
  margin-top: 20px;
  color: #294326;
  font-size: 1rem;
}
.infoboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.infobox {
  background: #ffd9b3;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  flex: 1 1 230px;
  min-width: 180px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #18361c;
  box-shadow: 0 1px 4px var(--color-shadow);
}

/* =========================
   TESTIMONIALS & TRUST
   ========================= */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 16px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--color-shadow);
  min-width: 240px;
  max-width: 340px;
  color: #19361d;
  margin-bottom: 20px;
  font-size: 1.06rem;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.03rem;
}
.testimonial-card:hover {
  box-shadow: 0 7px 20px var(--color-shadow);
  transform: translateY(-3px) scale(1.015);
}
.trust-signals {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 22px;
}
.trust-signals img {
  width: 32px;
  height: auto;
  margin-right: 8px;
  border-radius: var(--radius-sm);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #FFF6EA;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -2px 12px var(--color-shadow);
  margin-top: 50px;
  padding: 36px 0 24px 0;
  font-size: 0.98em;
}
.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-primary);
  background: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-warm-orange);
}
.footer-contact {
  text-align: center;
  color: #40663e;
  margin-top: 6px;
}
.footer-contact p {
  margin-bottom: 4px;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8e4;
  color: #1C3F2B;
  padding: 22px 18px 22px 18px;
  box-shadow: 0 -2px 16px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3021;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  animation: banner-slide-in 0.5s ease;
}
@keyframes banner-slide-in {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  margin-right: 25px;
  max-width: 540px;
  padding-bottom: 6px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  background: var(--color-button);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  margin: 0 2px;
  transition: background 0.13s, box-shadow 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-button-hover);
  color: var(--color-primary);
  box-shadow: 0 5px 20px var(--color-shadow);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-warm-sand);
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,63,43,0.14);
  z-index: 3222;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: #fffdf9;
  border-radius: var(--radius);
  padding: 34px 30px 26px 30px;
  max-width: 430px;
  min-width: 280px;
  box-shadow: 0 16px 34px 0 rgba(90, 70, 30, 0.19);
  animation: cookie-modal-in 0.27s cubic-bezier(.79,.14,.15,.86);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(44px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.18s;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: var(--color-warm-sand);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  background: #FAF7F2;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.cookie-category__desc {
  font-size: 1rem;
  color: #41583a;
  flex: 1;
}
.cookie-category__toggle {
  font-size: 1.13rem;
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  width: 50px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-category__toggle[aria-pressed="true"] {
  background: var(--color-primary);
}
.cookie-category__toggle[disabled] {
  opacity: 0.65;
  background: #B4B4B4;
  cursor: not-allowed;
}

/* =========================
   QUICK LINKS & MAP EMBED
   ========================= */
.quick-links {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--color-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quick-links a {
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  background: #fff;
  transition: background 0.12s;
}
.quick-links a:hover, .quick-links a:focus {
  background: var(--color-warm-orange);
}
.contact-details ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}
.contact-details img {
  height: 26px;
  width: 26px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  box-shadow: 0 1px 3px var(--color-shadow);
}
.map-embed, .office-hours {
  margin-top: 20px;
  padding: 16px 14px;
  background: #FFF6EA;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 5px var(--color-shadow);
  color: #2a512e;
}

/* =========================
   MEDIA QUERIES - RESPONSIVE
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
  .feature-grid, .animal-cards, .habit-grid, .article-preview-list, .article-list, .infoboxes, .testimonials-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 730px;
  }
  .feature-grid, .animal-cards, .habit-grid, .article-preview-list, .article-list, .infoboxes, .testimonials-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .animal-card, .habit-grid > div, .article-preview-list > div, .article-list > div {
    min-width: 0;
    max-width: 100%;
    width: 97%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero {
    padding: 24px 0 24px 0;
  }
  .container {
    padding: 0 10px;
  }
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .content-wrapper {
    gap: 14px;
    padding: 6px 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 25px 8px;
  }
  .testimonials-list, .feature-grid, .animal-cards, .habit-grid, .article-list, .article-preview-list, .infoboxes {
    flex-direction: column;
    gap: 0;
  }
  .testimonial-card, .feature-item, .animal-card, .habit-grid > div, .article-preview-list > div, .article-list > div, .infobox {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin-bottom: 18px;
  }
  .hero .content-wrapper {
    padding: 0 2px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .cookie-modal__content {
    min-width: 0;
    width: 98vw;
    max-width: 99vw;
    padding: 30px 15px 22px 15px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 6px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 7px;
  }
  .cookie-banner__text { margin-right: 0; }
}

/* ===============
   Accessibility
   =============== */
:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

/* ===============
   TRANSITIONS
   =============== */
button, .cta-button, .feature-item, .animal-card, .article-preview-list > div, .article-list > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.16s, color 0.16s, transform 0.16s;
}
@media (hover: hover) {
  .feature-item:hover, .animal-card:hover, .habit-grid > div:hover {
    cursor: pointer;
  }
}

/* ===============
   HIDE SCROLLBAR for mobile-menu/modal
   =============== */
.mobile-menu.open,
.cookie-modal.open {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu.open::-webkit-scrollbar,
.cookie-modal.open::-webkit-scrollbar {
  display: none;
}

/* ===============
   UTILITIES
   =============== */
.mb-0 {
  margin-bottom: 0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.text-center {
  text-align: center !important;
}
.d-flex {
  display: flex !important;
}
.align-center {
  align-items: center !important;
}

/* =========================
   END OF CSS FILE
   ========================= */
