:root {
  --primary-color: #1a5490;
  --primary-dark: #0f3a5e;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --text-dark: #000000;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dee2e6;
}

* {
  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(--white);
}

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

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  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 8px rgba(0, 0, 0, 0.2);
}

.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

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

.card-title {
  color: var(--text-dark);
  font-weight: 600;
}

.card-text {
  color: var(--text-light);
}

.category-box,
.benefit-box,
.feature-card,
.testimonial-box,
.disclaimer-box,
.suitable-box,
.selection-guide,
.info-box,
.tip-box,
.note-box,
.contact-info-box,
.faq-item {
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.category-box h4,
.benefit-box h5,
.feature-card h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonial-box {
  border-left: 4px solid var(--primary-color);
}

.disclaimer-box {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
}

.faq-item {
  border-left: 4px solid var(--accent-color);
}

.faq-item h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background-color: var(--bg-light);
  border-color: var(--bg-light);
  color: var(--primary-dark);
}

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

.product-detail-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-detail-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-detail-card h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.product-detail-card .product-description {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.product-detail-card ul {
  color: var(--text-light);
}

.legal-content h2 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content h3 {
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.legal-content ul {
  margin-bottom: 15px;
}

.footer {
  margin-top: 50px;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 20px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-banner .btn {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

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

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

  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 300px;
  }

  .hero-overlay h1 {
    font-size: 1.5rem;
  }

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