:root {
  --color-primary: #6B8E23;
  --color-accent-linen: #FAF0E6;
  --color-accent-tomato: #E07A5F;
  --color-accent-walnut: #5C4033;
  --color-text: #2c2c2c;
  --color-light-bg: #f9f9f9;
  --color-border: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--color-text);
  background-color: #fff;
  line-height: 1.75;
  font-weight: 400;
  font-size: 16px;
}

h1 {
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

h2 {
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

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

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

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--color-accent-tomato);
  transition: color 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.section {
  padding: 8vw;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.section-full {
  padding: 8vw 0;
  width: 100%;
}

.hero {
  background-color: var(--color-light-bg);
  padding-top: 8vw;
  padding-bottom: 8vw;
}

.hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.card-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--color-accent-tomato);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

.grid-item-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

strong {
  color: var(--color-primary);
  font-weight: 600;
}

.accent-tomato {
  color: var(--color-accent-tomato);
}

.accent-walnut {
  color: var(--color-accent-walnut);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: var(--color-accent-tomato);
  transform: scale(1.05);
}

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

.cta-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 3rem 8vw;
  margin-top: 4rem;
}

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

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent-linen);
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ddd;
}

.footer-section a {
  text-decoration: none;
  color: var(--color-accent-linen);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

.disclaimer-block {
  background-color: var(--color-accent-linen);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-accent-walnut);
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--color-light-bg);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: #f0f0f0;
}

.accordion-header.active {
  background-color: var(--color-primary);
  color: #fff;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 1.5rem;
  background-color: #fff;
  display: none;
  animation: slideDown 0.3s ease;
}

.accordion-body.active {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.center-text {
  text-align: center;
}

.center-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #666;
}

.read-more {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--color-accent-tomato);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: #fff;
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-consent.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: var(--color-primary);
  color: #fff;
}

.cookie-accept:hover {
  background-color: var(--color-accent-tomato);
}

.cookie-reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-learn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-learn:hover {
  background-color: rgba(255,255,255,0.1);
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.soft-invitation {
  background-color: var(--color-accent-linen);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.soft-invitation h2 {
  color: var(--color-accent-walnut);
}

.soft-invitation p {
  color: var(--color-accent-walnut);
  margin-bottom: 1.5rem;
}

.thank-you-container {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem;
  background-color: var(--color-accent-linen);
  border-radius: 8px;
}

.thank-you-container h1 {
  color: var(--color-primary);
}

.thank-you-container p {
  font-size: 1.1rem;
  color: var(--color-accent-walnut);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cookie-consent.show {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }

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

  .soft-invitation {
    padding: 1.5rem;
  }

  .accordion-header {
    padding: 0.75rem 1rem;
  }

  .accordion-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
  }

  .section {
    padding: 5vw;
  }

  .section-full {
    padding: 5vw 0;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-menu a {
    font-size: 0.85rem;
  }

  header {
    padding: 0.75rem 0;
  }

  main {
    margin-top: 60px;
  }

  .content-grid {
    gap: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .footer-container {
    margin-bottom: 1rem;
  }

  .footer-section h4 {
    font-size: 0.9rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.8rem;
  }
}
