:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-accent: #52b788;
  --color-text: #212529;
  --color-text-light: #6c757d;
  --color-bg: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-border: #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(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

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

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

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

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

.site-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-brand:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--color-text);
}

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

.hero-section {
  position: relative;
  margin-bottom: 3rem;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-content .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

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

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

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

.card-title {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.section-intro,
.section-keto,
.section-fasting,
.section-routines,
.section-meal-planning,
.section-habit-support,
.section-who-for,
.section-safety,
.section-testimonials,
.section-faq,
.section-cta,
.section-mission,
.section-principles,
.section-approach,
.section-location,
.section-contact,
.thank-you-section,
.policy-content,
.page-header {
  margin-bottom: 0;
}

.contact-form-wrapper {
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.form-control {
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(82, 183, 136, 0.25);
}

.site-footer {
  background-color: #212529;
  margin-top: 3rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.site-footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: white;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 37, 41, 0.95);
  color: white;
  padding: 1.5rem 0;
  z-index: 9999;
  display: none;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-info a {
  color: var(--color-primary);
}

.contact-info a:hover {
  color: var(--color-primary-dark);
}

.faq-item h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.principle-item,
.habit-item {
  margin-bottom: 2rem;
}

.principle-item h3,
.habit-item h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.about-image img,
.contact-image img {
  width: 100%;
  height: auto;
}

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

  .hero-content .lead {
    font-size: 1rem;
  }

  .hero-image {
    height: 400px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}
