:root {
  --primary-color: #2F4F2F; /* Deep Forest Green */
  --primary-light: #4A704A; /* Lighter Green */
  --accent-color: #D4AF37; /* Warm Amber / Gold */
  --accent-hover: #EBC347; /* Brighter Gold */
  --bg-color: #FDFBF7; /* Warm Earthy Off-White */
  --bg-alt: #F0EDE1; /* Slightly darker background for contrast */
  --text-dark: #222222; /* Near Black */
  --text-light: #555555; /* Medium Gray */
  --footer-bg: #1A2519; /* Very Dark Green */
  --white: #FFFFFF;
  --font-heading: 'Georgia', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --border-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* --- HEADER --- */
/* Unstuck header per requirements */
.site-header {
  background-color: var(--white);
  padding: 10px 5%;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative; 
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.brand-logo svg {
  width: 32px;
  height: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-list a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}

.nav-list a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background-color: var(--bg-alt);
  padding: 80px 5%;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* --- CARD GRID ARCHITECTURE --- */
.section-padding {
  padding: 80px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-excerpt {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card .btn {
  align-self: flex-start;
}

/* --- ARTICLE / DETAIL PAGES --- */
.article-header {
  padding: 60px 5%;
  background-color: var(--bg-alt);
  text-align: center;
}

.article-title {
  font-size: 3rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 5%;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2rem;
}

.article-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.external-link-box {
  background-color: var(--bg-alt);
  padding: 20px;
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  margin: 30px 0;
}

/* --- LEGAL PAGES --- */
.legal-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.legal-container h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--bg-alt);
  padding-bottom: 20px;
}

.legal-container h2 {
  font-size: 1.8rem;
  margin-top: 30px;
}

.legal-container p, .legal-container li {
  color: var(--text-light);
  margin-bottom: 15px;
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 5%;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
}

.contact-info h2 {
  color: var(--accent-color);
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--white);
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- MANDATORY FOOTER --- */
.site-footer {
  background-color: var(--footer-bg);
  color: #DDDDDD;
  padding: 60px 5% 20px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #BBBBBB;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888888;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  padding: 20px 5%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cookie-content p a {
  text-decoration: underline;
  color: var(--primary-color);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

/* --- RESPONSIVE DESIGN --- */
@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px 5%;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
  }

  .main-nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 15px;
  }
  
  .header-cta {
    margin-top: 15px;
    width: 100%;
    text-align: center;
  }
  
  .article-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 5%;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cookie-buttons .btn {
    width: 100%;
  }
}