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

:root {
  --color-primary: #4A3728;
  --color-moss: #3D5A45;
  --color-ochre: #C68E5F;
  --color-stone: #E8E0D9;
  --color-white: #FFFFFF;
  --color-black: #1a1a1a;
  --color-text: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.75;
  font-size: 17.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bitter', serif;
  font-weight: 700;
  color: var(--color-primary);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.italic-accent {
  font-family: 'Bitter', serif;
  font-style: italic;
  color: var(--color-moss);
}

header {
  background-color: var(--color-primary);
  padding: 1.25rem 7vw;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled {
  background-color: rgba(74, 55, 40, 0.95);
}

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

.logo {
  color: var(--color-stone);
  text-decoration: none;
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

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

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--color-stone);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-stone);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  right: 0;
  top: 70px;
  width: 100%;
  background-color: var(--color-primary);
  flex-direction: column;
  padding: 2rem 7vw;
  gap: 1.5rem;
  z-index: 999;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

main {
  margin-top: 70px;
  padding: 0;
}

.hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-moss) 100%);
  color: var(--color-white);
  padding: 100px 7vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 1440px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

.section {
  padding: 140px 7vw;
  max-width: 1440px;
  margin: 0 auto;
}

.section-with-texture {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

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

.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

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

.card:hover {
  transform: scale(1.06);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

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

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-moss);
}

.card p {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.card ul {
  list-style-position: inside;
  color: var(--color-text);
}

.card li {
  margin-bottom: 0.5rem;
}

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

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

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-block {
  background: var(--color-stone);
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid var(--color-moss);
}

.content-block h3 {
  margin-top: 0;
}

table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  background: var(--color-white);
}

table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

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

table tr:hover {
  background-color: var(--color-stone);
}

.disclaimer {
  background-color: #FFF3CD;
  border: 1px solid #FFE69C;
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #856404;
}

.disclaimer h4 {
  color: #856404;
  margin-bottom: 0.5rem;
}

.button-cta {
  display: inline-block;
  background-color: var(--color-moss);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.94rem;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  margin-top: 1rem;
}

.button-cta:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

footer {
  background-color: var(--color-primary);
  color: var(--color-stone);
  padding: 3rem 7vw;
  margin-top: 100px;
}

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

.footer-section h4 {
  color: var(--color-ochre);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--color-stone);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.footer-divider {
  border-top: 1px solid rgba(232, 224, 217, 0.3);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-stone);
  padding: 1.5rem 7vw;
  z-index: 500;
  display: none;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-content {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

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

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

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

.cookie-reject {
  background-color: transparent;
  color: var(--color-stone);
  border: 1px solid var(--color-stone);
}

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

.cookie-learn {
  background-color: transparent;
  color: var(--color-ochre);
  border: 1px solid var(--color-ochre);
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Lato', 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-moss);
  box-shadow: 0 0 0 3px rgba(61, 90, 69, 0.1);
}

.thank-you-container {
  text-align: center;
  padding: 4rem 7vw;
  max-width: 1440px;
  margin: 0 auto;
}

.thank-you-container h1 {
  color: var(--color-moss);
  margin-bottom: 1rem;
}

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

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 16px;
  }

  header {
    padding: 1rem 5vw;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .section {
    padding: 80px 5vw;
  }

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

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

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

  .cookie-buttons {
    width: 100%;
  }

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

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

  h2 {
    font-size: 1.25rem;
  }

  header {
    padding: 0.75rem 4vw;
  }

  .section {
    padding: 60px 4vw;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}
