:root {
  --color-earth-dark: #4C4B16;
  --color-earth-medium: #898121;
  --color-soil-light: #E6C767;
  --color-accent: #F87A53;
  --color-white: #ffffff;
  --color-off-white: #f9f7f2;
  --color-light-gray: #eae6da;
  --color-text: #333333;

  --font-heading: 'Merriweather', serif;
  --font-body: 'Work Sans', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-off-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-earth-dark);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-earth-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-earth-medium);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
}

.btn:hover,
.btn:focus {
  background-color: var(--color-earth-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--color-accent);
  filter: brightness(90%);
}

.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop ul {
    display: flex;
    list-style: none;
  }

  .nav-desktop li {
    margin-left: var(--space-lg);
  }

  .nav-desktop a {
    font-weight: 500;
    position: relative;
  }

  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-medium);
  }

  .nav-desktop a:hover::after,
  .nav-desktop a:focus::after,
  .nav-desktop a.active::after {
    width: 100%;
  }

  .menu-toggle {
    display: none;
  }
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-earth-medium);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl) var(--space-lg);
  overflow-y: auto;
  transition: right var(--transition-medium);
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-earth-medium);
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  margin-top: var(--space-xl);
}

.mobile-menu li {
  margin-bottom: var(--space-md);
}

.mobile-menu a {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  padding: var(--space-sm) 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium);
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  padding: var(--space-xl) 0;
  background-color: var(--color-earth-dark);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/soil-texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
}

.text-center {
  text-align: center;
}

.features {
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-earth-medium);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.about {
  background-color: var(--color-light-gray);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
  }

  .about-image,
  .about-text {
    flex: 1;
  }
}

.about-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.products {
  background-color: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--color-off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.product-content {
  padding: var(--space-lg);
}

.product-title {
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-earth-dark);
  margin-bottom: var(--space-md);
}

.faq {
  background-color: var(--color-off-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform var(--transition-fast);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-answer.active {
  padding: 0 var(--space-md) var(--space-md);
  max-height: 500px;
}

.testimonials {
  background-color: var(--color-earth-dark);
  color: var(--color-white);
}

.testimonials .section-title h2 {
  color: var(--color-white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  text-align: center;
  padding: 0 var(--space-lg);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-position {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact {
  background-color: var(--color-white);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
  }

  .contact-info,
  .contact-form {
    flex: 1;
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-earth-medium);
  margin-right: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-group input {
  width: auto;
  margin-right: var(--space-sm);
  margin-top: 0.25rem;
}

.footer {
  background-color: var(--color-earth-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-column {
    flex: 1;
  }
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-soil-light);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 999;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.cookie-popup.active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cookie-popup {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-text {
    flex: 1;
  }

  .cookie-buttons {
    flex-shrink: 0;
  }
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.thank-you {
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you i {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.error-page {
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}