:root {
  --primary-red: #dc3545;
  --dark-gray: #343a40;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

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

.hero-image-wrapper {
  position: relative;
  min-height: 500px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.85) 0%, rgba(52, 58, 64, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.btn-outline-danger:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
}

.card {
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

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

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

.category-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.info-card {
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.bg-danger {
  background-color: var(--primary-red) !important;
}

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

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(52, 58, 64, 0.98);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

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

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

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h5 {
  margin: 0;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--medium-gray);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: var(--dark-gray);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  text-align: right;
}

.cookie-category {
  margin-bottom: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-red);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

@media (max-width: 991px) {
  .hero-image-wrapper {
    min-height: 400px;
  }

  .hero-image-wrapper img {
    height: 400px;
  }

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

@media (max-width: 767px) {
  .hero-image-wrapper {
    min-height: 350px;
  }

  .hero-image-wrapper img {
    height: 350px;
  }

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

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