:root {
  --primary-color: #8b1538;
  --primary-dark: #6b0f28;
  --primary-light: #a81d45;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --background-light: #fafafa;
  --white: #ffffff;
  --border-color: #e5e5e5;
}

* {
  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;
  overflow-x: hidden;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

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

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

.hero-section {
  padding: 140px 0 80px;
  background-color: var(--white);
}

.page-header {
  padding: 140px 0 60px;
  background-color: var(--background-light);
  text-align: center;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.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.1) !important;
}

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 21, 56, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 21, 56, 0.3);
}

.btn-outline-secondary {
  color: var(--text-dark);
  border-color: var(--border-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

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

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

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

.cta-section h2,
.cta-section .lead {
  color: var(--white);
}

.footer {
  margin-top: 0;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
}

.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
}

.form-control {
  border-radius: 5px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 21, 56, 0.1);
}

.alert {
  border-radius: 5px;
  border: none;
}

.alert-info {
  background-color: #e8f4f8;
  color: #0c5460;
}

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

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !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 p {
  margin: 0;
}

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

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

.cookie-banner .btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  font-weight: 600;
}

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

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cookie-banner .text-md-right {
    text-align: left !important;
  }
}
