:root {
  --primary-color: #6c4fa0;
  --primary-dark: #543c7d;
  --primary-light: #8a6eb8;
  --secondary-color: #f8f9fa;
  --text-dark: #2c2c2c;
  --text-muted: #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;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 79, 160, 0.3);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

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

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

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

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

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

.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(108, 79, 160, 0.85) 0%, rgba(84, 60, 125, 0.85) 100%);
  display: flex;
  align-items: center;
}

.page-header {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

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

footer a:hover {
  opacity: 0.8;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(108, 79, 160, 0.25);
}

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

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

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

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

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner .btn-light {
  background-color: #fff;
  border-color: #fff;
  color: var(--primary-dark);
  font-weight: 600;
}

.cookie-banner .btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.cookie-banner .btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary-dark);
}

.min-vh-75 {
  min-height: 75vh;
}

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

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

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

  .lead {
    font-size: 1rem;
  }

  .cookie-banner {
    padding: 1rem 0;
  }

  .cookie-banner .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
  }
}

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

  .hero-image img {
    height: 300px;
  }

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