:root {
  --primary-color: #2d5016;
  --primary-dark: #1a3009;
  --primary-light: #3d6b20;
  --accent-color: #5a8a2f;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

.hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.hero-section-small {
  min-height: 300px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-section-small .hero-image img {
  height: 300px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.hero-overlay h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay .lead {
  font-size: 1.5rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  margin-bottom: 1.5rem;
}

.example-card,
.habit-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
  height: 100%;
}

.example-card h4,
.habit-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.products-section {
  background: var(--bg-light);
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px var(--shadow);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h4 {
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.cta-section {
  background-color: var(--primary-dark);
}

.contact-form .form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.footer {
  background-color: var(--primary-dark);
  color: var(--white);
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 1;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px var(--shadow);
  z-index: 9999;
  display: none;
}

#cookieConsent.show {
  display: block;
}

#cookieConsent p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

#cookieConsent .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

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

  .hero-overlay .lead {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .hero-image img {
    height: 300px;
  }

  .hero-section-small .hero-image img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }

  .hero-overlay .lead {
    font-size: 1rem;
  }

  .example-card,
  .habit-card {
    padding: 1.5rem;
  }

  .product-card {
    padding: 1rem;
  }
}
