:root {
  --primary-color: #dc3545;
  --primary-dark: #c82333;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #dee2e6;
  --shadow: 0 2px 8px 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;
  background-color: var(--bg-white);
}

html,
body {
  height: 100%;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.logo-text {
  font-weight: 700;
  color: var(--primary-color) !important;
}

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

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

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

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.page-header {
  background-color: var(--bg-light);
  border-bottom: 3px solid var(--primary-color);
}

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

.category-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.category-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.feature-box {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.feature-box:hover {
  background-color: #fff3f3;
  box-shadow: var(--shadow);
}

.feature-box h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-box p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-category-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-category-card h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
  border-color: var(--primary-color);
}

.product-card h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-features {
  margin: 1.5rem 0;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  padding: 0.4rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-features li:before {
  content: "✓ ";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.educational-box {
  background: #fff3f3;
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: 4px;
}

.educational-box h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.educational-box p {
  color: var(--text-light);
  line-height: 1.7;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border-top: 3px solid var(--primary-color);
}

.contact-info-box h5 {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-info-box p {
  color: var(--text-light);
}

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

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

.contact-form .form-control {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.thank-you-box {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
  text-align: center;
}

.thank-you-box h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.thank-you-box p {
  color: var(--text-light);
}

footer {
  background-color: #212529;
  margin-top: auto;
}

footer h5 {
  color: var(--primary-color);
  font-weight: 600;
}

footer h6 {
  color: var(--bg-white);
  font-weight: 600;
  margin-bottom: 1rem;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

.btn-danger {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-outline-danger {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 37, 41, 0.95);
  color: var(--bg-white);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideUp 0.3s ease;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.btn-accept {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-accept:hover {
  background-color: var(--primary-dark);
}

.cookie-link {
  color: var(--primary-color) !important;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
}

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

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

  .page-header h1 {
    font-size: 1.75rem;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content p {
    min-width: unset;
    margin-bottom: 1rem;
  }

  .btn-accept,
  .cookie-link {
    width: 100%;
    text-align: center;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

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

  .thank-you-box h1 {
    font-size: 1.75rem;
  }
}

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

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

  .page-header h1 {
    font-size: 1.5rem;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }

  .contact-info-box {
    margin-bottom: 1.5rem;
  }
}
