* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #dc143c;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e9ecef;
  --white: #ffffff;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a00e2f;
  text-decoration: none;
}

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

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

.btn-danger:hover {
  background-color: #a00e2f;
  border-color: #a00e2f;
  box-shadow: 0 4px 8px rgba(220, 20, 60, 0.3);
}

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

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

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

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

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

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

.hero-section {
  padding: 4rem 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

.hero-section .lead {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.card-title {
  font-weight: 600;
}

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

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

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

.text-white a {
  color: rgba(255, 255, 255, 0.9);
}

.text-white a:hover {
  color: var(--primary-color);
}

footer {
  margin-top: auto;
}

footer p {
  color: rgba(255, 255, 255, 0.85);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 26, 26, 0.95);
  color: var(--white);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--primary-color);
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.alert {
  border-radius: 0.5rem;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

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

.rounded {
  border-radius: 0.5rem;
}

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

input.form-control,
textarea.form-control,
select.form-control {
  border-color: var(--border-color);
  color: var(--text-dark);
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.25);
}

.form-group label {
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
  }

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

  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }

  .hero-section .col-lg-6 {
    margin-bottom: 2rem;
  }

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

  .cookie-buttons {
    width: 100%;
    margin-top: 1rem;
  }

  .cookie-buttons button {
    flex: 1;
  }
}

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

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

  .lead {
    font-size: 1rem;
  }

  section {
    padding: 2rem 0 !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

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

  footer .row > div {
    margin-bottom: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}
