:root {
  --color-slate: #5C636E;
  --color-forest: #2E8B57;
  --color-terracotta: #CC5500;
  --color-beige: #D2B48C;
  --color-white: #FFFFFF;
  --color-dark: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-slate);
  text-decoration: none;
  font-family: 'Georgia', serif;
  letter-spacing: 2px;
}

.logo:hover {
  color: var(--color-forest);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--color-slate);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-forest);
}

nav a.active {
  color: var(--color-forest);
  border-bottom: 2px solid var(--color-forest);
  padding-bottom: 3px;
}

main {
  margin-top: 70px;
}

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

h1, h2, h3 {
  font-family: 'Georgia', serif;
  color: var(--color-slate);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-forest);
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.hero-section {
  background-color: var(--color-slate);
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
  margin-top: 70px;
}

.hero-section h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-section p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.content-section {
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-section img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-section:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.content-section:nth-child(even) .image-block {
  order: -1;
}

.text-block {
  line-height: 1.8;
}

.text-block h2 {
  margin-top: 0;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-forest);
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  opacity: 0.85;
}

.beige-block {
  background-color: var(--color-beige);
  padding: 40px;
  margin: 40px 0;
  border-radius: 3px;
}

.beige-block h3 {
  color: var(--color-slate);
  margin-top: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.blog-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

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

.blog-card-content {
  padding: 20px;
}

.blog-card h3 {
  margin-top: 0;
  font-size: 18px;
}

.blog-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

footer {
  background-color: var(--color-slate);
  color: var(--color-white);
  padding: 60px 20px 40px;
  margin-top: 60px;
}

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

.footer-section h4 {
  font-family: 'Georgia', serif;
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--color-beige);
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-beige);
}

.footer-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.disclaimer {
  background-color: var(--color-terracotta);
  color: white;
  padding: 20px;
  margin: 40px 0;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-slate);
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-forest);
  color: white;
}

.cookie-btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 12px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .content-section {
    grid-template-columns: 1fr;
  }

  .content-section:nth-child(even) .image-block {
    order: 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

.disclaimer-bottom {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 20px;
  background-color: #444;
}
