@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&family=Roboto+Slab:wght@500;600;800&display=swap');

:root {
  --color-cream: #fdf8f2;
  --color-terracotta: #d97c4e;
  --color-green: #4a7043;
  --color-beige: #f5e9d4;
  --color-text: #333;
  --color-light-gray: #f9f7f3;
  --max-width: 1620px;
  --content-width: 1220px;
}

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

html, body {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.8;
}

h1, h2, h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--color-text);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.3;
}

h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

body {
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-cream);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

header.scrolled {
  background-color: rgba(253, 248, 242, 0.95);
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.05);
}

header.scrolled .logo {
  font-size: 1.4rem;
}

nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

main {
  margin-top: 80px;
  width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-beige) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 2rem;
  animation: fadeInScale 0.8s ease-out;
}

.hero-text {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  color: var(--color-green);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text);
}

.disclaimer {
  background-color: var(--color-beige);
  padding: 1rem;
  border-left: 4px solid var(--color-terracotta);
  margin: 2rem auto;
  max-width: var(--content-width);
  font-size: 0.95rem;
  color: var(--color-text);
}

.section-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  animation: fadeInSlide 0.8s ease-out;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

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

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card:hover {
  border-color: var(--color-terracotta);
  box-shadow: 0 8px 16px rgba(217, 124, 78, 0.15);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.card h3 {
  color: var(--color-green);
  margin-bottom: 1rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

table tr:nth-child(even) {
  background-color: rgba(217, 124, 78, 0.05);
}

table th {
  background-color: var(--color-terracotta);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.quote-block {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23f5e9d4" width="200" height="200"/><g opacity="0.1"><path d="M 20 20 Q 30 40 20 60" stroke="%234a7043" stroke-width="2" fill="none"/><path d="M 80 20 Q 90 40 80 60" stroke="%234a7043" stroke-width="2" fill="none"/></g></svg>') repeat;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border-radius: 4px;
}

.quote-block p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-green);
  margin: 0;
}

.accordion {
  max-width: var(--content-width);
  margin: 2rem auto;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--color-light-gray);
  border-left: 4px solid var(--color-terracotta);
  padding-left: calc(1.5rem - 4px);
}

.accordion-header.active {
  border-left: 4px solid var(--color-terracotta);
  padding-left: calc(1.5rem - 4px);
}

.accordion-toggle {
  font-size: 1.5rem;
  color: var(--color-terracotta);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--color-light-gray);
}

.accordion-content.active {
  max-height: 500px;
  padding: 1.5rem;
}

.button {
  background-color: white;
  color: var(--color-text);
  padding: 1rem 2rem;
  border: 2px solid var(--color-terracotta);
  border-radius: 4px;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-terracotta);
  transition: height 0.3s ease;
  z-index: -1;
}

.button:hover::before {
  height: 100%;
}

.button:hover {
  color: white;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(217, 124, 78, 0.1);
}

.form-disclaimer {
  background-color: var(--color-beige);
  padding: 1rem;
  border-left: 4px solid var(--color-terracotta);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

footer {
  background-color: var(--color-text);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-section a {
  color: var(--color-beige);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

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

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

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--color-cream);
  margin: 5% auto;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 4px;
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--color-terracotta);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  animation: slideUp 0.3s ease;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
}

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

.cookie-button {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Roboto Slab', serif;
}

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

.cookie-accept:hover {
  background-color: #b86a3f;
}

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

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

.cookie-learn {
  background-color: transparent;
  color: var(--color-beige);
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-learn:hover {
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

  h2 {
    font-size: 1.5rem;
  }

  nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

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

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

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 4px;
}

.success-message {
  display: none;
  background-color: var(--color-green);
  color: white;
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

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