:root {
  --primary-color: #3A5F7A;
  --light-bg: #F7F8FA;
  --border-color: #E0E3E8;
  --text-dark: #1A1A1A;
  --text-light: #666666;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

a:hover {
  color: #2a4558;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

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

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

main {
  margin-top: 80px;
  padding-bottom: 2rem;
}

.hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 600px;
  padding: 2rem;
}

.hero h1 {
  color: #FFFFFF;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: #FFFFFF;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

section {
  padding: 3rem 0;
  margin: 2rem 0;
}

.section-light {
  background-color: var(--light-bg);
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
}

.content-block {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.card {
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
  font-family: Georgia, serif;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #2a4558 !important;
  border-color: #2a4558 !important;
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #FFFFFF !important;
}

footer {
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
}

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

footer a:hover {
  text-decoration: underline;
}

.footer-section h5 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #999999;
}

.disclaimer {
  background-color: #FFF9E6;
  border-left: 4px solid #FFD700;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.disclaimer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.form-control {
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(58, 95, 122, 0.1) !important;
}

.image-left {
  float: left;
  margin: 0 2rem 2rem 0;
  border-radius: 8px;
  max-width: 400px;
}

.image-right {
  float: right;
  margin: 0 0 2rem 2rem;
  border-radius: 8px;
  max-width: 400px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.text-muted {
  color: var(--text-light);
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}

.col-md-6 {
  flex: 0 0 50%;
  padding: 0.5rem;
}

.col-md-4 {
  flex: 0 0 33.333%;
  padding: 0.5rem;
}

.col-md-12 {
  flex: 0 0 100%;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .col-md-6, .col-md-4 {
    flex: 0 0 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    height: 350px;
  }

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

  .image-left, .image-right {
    float: none;
    margin: 0 0 1rem 0;
    max-width: 100%;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

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

#cookie-banner p {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

#cookie-banner button {
  margin-right: 1rem;
}

.blog-teaser {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.blog-teaser-image {
  flex: 0 0 300px;
  max-width: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-teaser-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-teaser-content {
  flex: 1;
}

.blog-teaser h3 {
  margin-top: 0;
}

.faq-item {
  background-color: var(--light-bg);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background-color: #E8EDF5;
}

.faq-item.active {
  background-color: #E8EDF5;
}

.faq-item h4 {
  color: var(--primary-color);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .blog-teaser {
    flex-direction: column;
  }

  .blog-teaser-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}
