:root {
  --primary-color: #1b5e20;
  --primary-light: #4caf50;
  --primary-dark: #0d3d12;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8faf8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

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

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

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
}

h3 {
  font-size: 1.25rem;
}

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

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

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

.navbar {
  padding: 1rem 0;
  background-color: var(--bg-white) !important;
}

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

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

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

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

.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.85), rgba(27, 94, 32, 0.7));
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-title {
  color: var(--bg-white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-disclaimer {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-style: italic;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--bg-white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

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

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

.section-block.bg-accent-light {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.05), rgba(76, 175, 80, 0.08));
}

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-text {
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

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

.disclaimer-box {
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.table {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
}

.table thead th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  font-weight: 500;
}

.table td {
  vertical-align: middle;
}

.thank-you-section {
  padding: 6rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.thank-you-content h1 {
  color: var(--primary-color);
}

.contact-form .form-control {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

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

.contact-info h3 {
  color: var(--primary-color);
}

.legal-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  margin-top: 1.5rem;
  color: var(--text-color);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.legal-content address {
  font-style: normal;
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 3rem 0 1.5rem;
}

.footer h3 {
  color: var(--bg-white);
}

.footer p,
.footer address {
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--bg-white);
  text-decoration: none;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 0;
  color: var(--text-color);
}

.img-fluid {
  border-radius: var(--radius);
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 400px;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-block {
    padding: 3rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-header {
    padding: 3rem 0;
  }

  .section-block {
    padding: 2.5rem 0;
  }

  .thank-you-content {
    padding: 2rem;
  }

  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    min-height: 350px;
  }

  .hero-content {
    padding: 2.5rem 0;
  }

  .btn-lg {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }
}
