:root {
  --primary-color: #dc3545;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --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;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main,
section:last-of-type {
  flex: 1;
}

footer {
  margin-top: auto;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 80px 0;
}

.hero-section h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-section p {
  font-size: 1.25rem;
  color: #e0e0e0;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

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

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: translateY(-2px);
}

.btn-outline-danger {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
}

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

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

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

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

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 1rem;
}

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

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.cookie-banner {
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

  .cookie-banner {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-banner p {
    margin-bottom: 10px;
  }
}

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

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

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

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