:root {
  --color-primary: #E8F5E9;
  --color-accent-1: #388E3C;
  --color-accent-2: #F5F5DC;
  --color-accent-3: #FFAB40;
  --color-text: #2c3e50;
  --color-light: #f8f9fa;
  --color-border: #ddd;
}

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

html, body {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-accent-1);
}

h2 {
  font-size: 2rem;
  color: var(--color-accent-1);
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-accent-1);
}

body {
  padding-top: 70px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar {
  background-color: #fff;
  border-bottom: none;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent-1) !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--color-accent-3) !important;
  text-decoration: none;
}

.nav-link {
  color: var(--color-text) !important;
  font-size: 1rem;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent-1) !important;
}

.nav-link.active {
  color: var(--color-accent-1) !important;
  border-bottom: 2px solid var(--color-accent-1);
}

section {
  padding: 4rem 0;
}

.hero-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(56, 142, 60, 0.1) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-block h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-block-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 2rem;
}

.content-block {
  margin-bottom: 4rem;
}

.content-block-text {
  padding: 2rem;
}

.content-block-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.two-column.reversed {
  direction: rtl;
  text-align: right;
}

.two-column.reversed > div {
  direction: ltr;
  text-align: left;
}

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

.card-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(56, 142, 60, 0.15);
}

.card-item h3 {
  margin-bottom: 1rem;
}

.card-item p {
  font-size: 0.95rem;
  color: #666;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--color-accent-1);
}

.table-responsive {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.table {
  margin: 0;
}

.table thead {
  background-color: var(--color-accent-1);
  color: #fff;
}

.table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.table tbody tr:hover {
  background-color: var(--color-primary);
}

.info-block {
  background-color: var(--color-accent-2);
  border-left: 4px solid var(--color-accent-1);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.info-block h4 {
  color: var(--color-accent-1);
  margin-top: 0;
}

.disclaimer-block {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.disclaimer-block h4 {
  color: #856404;
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-accent-1);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: var(--color-accent-3);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.cta-button:focus,
.cta-button:active {
  outline: 2px solid var(--color-accent-1);
  outline-offset: 2px;
}

footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer h5 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--color-accent-3);
  text-decoration: underline;
}

footer .footer-section {
  margin-bottom: 2rem;
}

footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer .footer-links a {
  display: inline-block;
}

.divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  display: none;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner-text {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.cookie-accept {
  background-color: var(--color-accent-1);
  color: #fff;
}

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

.cookie-decline {
  background-color: transparent;
  color: #ecf0f1;
  border: 1px solid #ecf0f1;
}

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

.cookie-policy-link {
  color: #ecf0f1;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-policy-link:hover {
  color: var(--color-accent-3);
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

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

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

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

  section {
    padding: 2rem 0;
  }

  nav {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
  }

  .navbar-brand {
    font-size: 1.4rem;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0 !important;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  body {
    padding-top: 60px;
  }

  footer {
    font-size: 0.85rem;
  }
}
