:root {
  --primary-color: #5a4a8f;
  --primary-dark: #443770;
  --primary-light: #6f5ba6;
  --secondary-color: #8b7ab8;
  --accent-color: #9d8ec4;
  --text-dark: #2d2d2d;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

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

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

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

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

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

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

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

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

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

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

.hero-image img {
  object-fit: cover;
  height: 500px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(90, 74, 143, 0.85) 0%, rgba(68, 55, 112, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header {
  padding: 80px 0 60px;
}

.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.15);
}

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

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

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

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

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

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

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

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

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

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

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

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

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.table {
  color: var(--text-dark);
}

.alert {
  border-radius: 0.5rem;
}

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(90, 74, 143, 0.25);
}
