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

:root {
  --primary: #F5F5DC;
  --secondary: #D2B48C;
  --accent-brown: #8B4513;
  --accent-olive: #6B8E23;
  --text-dark: #2c2c2c;
  --text-light: #555555;
  --border-light: #d0d0c8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--primary);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

header {
  background-color: var(--primary);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-brown);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--accent-olive);
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-brown);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-brown);
}

main {
  max-width: 1440px;
  margin: 0 auto;
}

section {
  padding: 4rem 2rem;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

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

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-content img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.section-bg {
  background-color: var(--secondary);
  padding: 3rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

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

.card h3 {
  color: var(--accent-brown);
  margin-top: 0;
}

a.btn,
button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--accent-brown);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

a.btn:hover,
button:hover {
  background-color: var(--accent-olive);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.disclaimer {
  background-color: rgba(139, 69, 19, 0.08);
  border-left: 4px solid var(--accent-brown);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.medical-disclaimer {
  background-color: rgba(107, 142, 35, 0.08);
  border-left: 4px solid var(--accent-olive);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

footer {
  background-color: #3a3a3a;
  color: #e0e0e0;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid var(--accent-brown);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section ul {
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-section a {
  color: #d2b48c;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #999;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-brown);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.blog-post {
  margin: 2rem 0;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

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

.blog-card a {
  color: var(--accent-brown);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: var(--accent-olive);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(60, 60, 60, 0.98);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  gap: 2rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-message {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-btn {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: var(--accent-brown);
  color: white;
}

.cookie-accept:hover {
  background-color: var(--accent-olive);
}

.cookie-decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-decline:hover {
  background-color: rgba(255,255,255,0.1);
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    justify-content: center;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-buttons {
    justify-content: space-between;
  }

  section {
    padding: 2.5rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

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

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 1rem;
  }

  .section-bg {
    padding: 1.5rem;
  }
}
