:root {
  --color-primary: #c41e3a;
  --color-secondary: #f8f9fa;
  --color-dark: #2c3e50;
  --color-light: #ecf0f1;
  --color-text: #333333;
  --color-border: #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(--color-text);
  line-height: 1.6;
  background-color: #ffffff;
}

.text-primary {
  color: var(--color-primary) !important;
}

.btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #a01730 !important;
  border-color: #a01730 !important;
}

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

.btn-outline-secondary:hover {
  background-color: var(--color-text) !important;
  border-color: var(--color-text) !important;
}

.badge-primary {
  background-color: var(--color-primary) !important;
}

.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 100%);
  padding: 80px 0;
}

.hero-section h1 {
  color: var(--color-dark);
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.features-section {
  background-color: var(--color-secondary);
}

.features-section h2 {
  color: var(--color-dark);
}

.feature-icon {
  background-color: var(--color-primary) !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonials-section {
  padding: 80px 0;
}

.testimonials-section h2 {
  color: var(--color-dark);
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #a01730 100%);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

footer {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

.border-left {
  border-left: 4px solid !important;
}

.border-left.border-primary {
  border-left-color: var(--color-primary) !important;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button,
.cookie-buttons a {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

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

  .hero-section p {
    font-size: 1rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .display-4 {
    font-size: 2rem;
  }

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

  .cookie-buttons button,
  .cookie-buttons a {
    width: 100%;
  }

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

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

  .text-muted {
    font-size: 0.9rem;
  }
}

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

  .display-4 {
    font-size: 1.5rem;
  }

  body {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  footer {
    padding: 30px 0;
  }

  footer h5 {
    font-size: 1rem;
    margin-top: 20px;
  }
}

.img-fluid {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--color-border) !important;
}

.bg-light {
  background-color: var(--color-secondary) !important;
}

.btn-lg {
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.9rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-dark);
}

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

.lead {
  font-size: 1.2rem;
  font-weight: 300;
}

@media print {
  .cookie-banner,
  .navbar,
  footer {
    display: none;
  }
}
