:root {
  --primary-green: #2d7a4a;
  --light-green: #4a9d66;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

* {
  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;
  background-color: var(--light-bg);
}

.header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-size: 24px;
  color: var(--primary-green) !important;
  font-weight: 700;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-success {
  background-color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: var(--light-green) !important;
  border-color: var(--light-green) !important;
}

.btn-outline-secondary {
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-outline-secondary:hover {
  background-color: var(--light-bg);
}

.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(45, 122, 74, 0.05) 0%, rgba(74, 157, 102, 0.05) 100%);
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-section .lead {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.page-header {
  background-color: var(--light-bg);
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
}

.categories-section h2,
.features-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
}

.category-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.category-content {
  padding: 20px;
}

.category-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-content p {
  color: #666;
  margin-bottom: 15px;
}

.feature-box {
  padding: 30px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background-color: rgba(45, 122, 74, 0.05);
  border-color: var(--primary-green);
}

.feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.feature-box p {
  color: #666;
  font-size: 14px;
}

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

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

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

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.product-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-info p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.contact-info a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
}

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

.form-check-label {
  color: var(--text-dark);
  margin-bottom: 0;
}

.form-check-label a {
  color: var(--primary-green);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.footer h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light-green);
}

.footer p {
  font-size: 14px;
  line-height: 1.8;
}

.footer a {
  color: var(--light-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner {
  background-color: #f5f5f5;
  border-bottom: 2px solid var(--primary-green);
  padding: 20px 0;
  margin-bottom: 0;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-dark);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.alert-success {
  background-color: rgba(45, 122, 74, 0.1);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.alert-success h5 {
  color: var(--primary-green);
}

main {
  min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .product-image {
    height: 180px;
  }

  .contact-form,
  .contact-info {
    margin-bottom: 20px;
  }

  .footer .row > div {
    margin-bottom: 30px;
  }

  .cookie-banner .row {
    flex-direction: column;
  }

  .cookie-banner .col-md-4 {
    margin-top: 10px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 20px;
  }

  .navbar-brand {
    font-size: 18px;
  }

  .hero-section .lead {
    font-size: 16px;
  }
}
