@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #2D5A27;
  --color-secondary: #FDFCF8;
  --color-accent: #D4A373;
  --color-text: #1a1a1a;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;

  --font-family: 'Outfit', sans-serif;
  --font-size-base: 18px;
  --line-height-base: 1.7;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-top: var(--space-xl); }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: var(--space-md);
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: var(--space-2xl) 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

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

.btn-primary:hover {
  background-color: #3d7a35;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background-color: #c28e5d;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  color: white;
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-content {
  padding: var(--space-md);
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-excerpt {
  color: var(--color-text-light);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.article-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.article-meta {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.article-content h2, .article-content h3 {
  margin-top: var(--space-xl);
}

.article-content p {
  margin-bottom: var(--space-md);
}

.article-content ul, .article-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.article-content li {
  margin-bottom: var(--space-xs);
}

.author-box {
  background-color: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-2xl);
}

.author-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: var(--space-xs);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-2xl) 0 var(--space-md);
}

footer h4 {
  color: white;
  margin-bottom: var(--space-lg);
}

footer a {
  color: rgba(255,255,255,0.8);
}

footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: none;
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input, .form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 2000;
  padding: var(--space-md) 0;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  white-space: nowrap;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: var(--space-md) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-top: var(--space-sm);
}

@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { height: 60vh; }
  .hero-content h1 { font-size: 1.75rem; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.text-accent { color: var(--color-accent); }
.bg-secondary { background-color: var(--color-secondary); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-md { box-shadow: var(--shadow-md); }
