:root {
  --color-beige: #F5F5DC;
  --color-sage: #B2AC88;
  --color-rust: #D1855F;
  --color-blue: #8DA6B7;
  --color-dark-text: #2D2D2D;
  --color-light-text: #6B6B6B;
  --color-white: #FFFFFF;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-white);
  color: var(--color-dark-text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  color: var(--color-dark-text);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

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

a:hover {
  color: var(--color-rust);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

header .navbar {
  padding: 1rem 0;
}

header .navbar-brand {
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-sage);
  text-decoration: none;
}

header .navbar-brand:hover {
  color: var(--color-rust);
}

header .nav-link {
  color: var(--color-dark-text);
  font-size: 0.95rem;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px - 350px);
}

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

footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

footer p, footer a {
  font-size: 0.9rem;
  color: var(--color-light-text);
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--color-sage);
}

footer .footer-section {
  margin-bottom: 2rem;
}

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

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

footer .disclaimer {
  font-size: 0.85rem;
  color: var(--color-sage);
  margin-top: 2rem;
  font-weight: 600;
}

.hero-section {
  position: relative;
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
}

.hero-section h1 {
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  max-width: 600px;
}

section {
  padding: 4rem 0;
}

.intro-section {
  background-color: var(--color-white);
  padding: 4rem 0;
}

.intro-section h2 {
  color: var(--color-sage);
}

.intro-section p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}

.theme-cards {
  background-color: var(--color-beige);
  padding: 4rem 0;
  margin: 2rem 0;
}

.theme-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.theme-card h3 {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.theme-card p {
  margin-bottom: 1.5rem;
}

.theme-card a {
  display: inline-block;
  color: var(--color-sage);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--color-sage);
  transition: all 0.3s ease;
}

.theme-card a:hover {
  color: var(--color-rust);
  border-bottom-color: var(--color-rust);
}

.blog-section {
  background-color: var(--color-white);
  padding: 4rem 0;
}

.blog-card {
  background-color: var(--color-beige);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-sage);
}

.blog-card:hover {
  border-left-color: var(--color-rust);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card h3 {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.blog-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.blog-card a {
  color: var(--color-rust);
  font-weight: 600;
  text-decoration: underline;
}

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

.two-column {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.two-column-content {
  flex: 1;
}

.two-column-image {
  flex: 1;
}

.two-column-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.two-column.reverse {
  flex-direction: row-reverse;
}

.content-block {
  background-color: var(--color-beige);
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.content-block h2 {
  color: var(--color-sage);
  margin-bottom: 1.5rem;
}

.content-block p {
  font-size: 0.95rem;
}

.content-block ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-block li {
  margin-bottom: 0.75rem;
  color: var(--color-light-text);
}

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

.grid-card {
  background-color: var(--color-beige);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.grid-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.grid-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.grid-card h3 {
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.grid-card p {
  font-size: 0.9rem;
}

.accordion {
  background-color: var(--color-white);
}

.accordion .card {
  border: 1px solid #E8E8E0;
  background-color: var(--color-white);
  margin-bottom: 1rem;
}

.accordion .card .card-header {
  background-color: var(--color-beige);
  padding: 0;
}

.accordion .card .card-header button {
  background-color: transparent;
  color: var(--color-sage);
  font-weight: 600;
  padding: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion .card .card-header button:hover {
  color: var(--color-rust);
}

.accordion .card .card-body {
  background-color: var(--color-white);
  padding: 1.5rem;
  color: var(--color-light-text);
}

.form-section {
  background-color: var(--color-beige);
  padding: 3rem;
  border-radius: 8px;
}

.form-section h2 {
  color: var(--color-sage);
  margin-bottom: 1.5rem;
}

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

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

.form-section input[type="email"],
.form-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #D0D0C8;
  border-radius: 4px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  color: var(--color-dark-text);
}

.form-section input[type="email"]:focus,
.form-section textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(178, 172, 136, 0.1);
}

.form-section textarea {
  resize: vertical;
  min-height: 150px;
}

.form-section button {
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-section button:hover {
  background-color: var(--color-rust);
}

.form-disclaimer {
  background-color: var(--color-white);
  padding: 1rem;
  border-left: 4px solid var(--color-rust);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-light-text);
  border-radius: 4px;
}

.restrictions-block {
  background-color: #FFF9F0;
  padding: 2rem;
  border-left: 4px solid var(--color-rust);
  margin: 3rem 0;
  border-radius: 4px;
}

.restrictions-block h3 {
  color: var(--color-rust);
  margin-bottom: 1rem;
}

.restrictions-block p {
  font-size: 0.95rem;
  line-height: 1.8;
}

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

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.cookie-banner-buttons button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

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

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

.cookie-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
  border-color: var(--color-white);
}

.cookie-learn {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: underline;
}

.cookie-learn:hover {
  color: var(--color-sage);
}

.blog-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-article h1 {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.blog-meta {
  color: var(--color-light-text);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.blog-article h2 {
  color: var(--color-sage);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.blog-article p {
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.blog-article ul, .blog-article ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.blog-article li {
  margin-bottom: 0.75rem;
  color: var(--color-light-text);
  line-height: 1.8;
}

.success-page {
  text-align: center;
  padding: 4rem 2rem;
}

.success-page h1 {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.success-page p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.success-page a {
  display: inline-block;
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.success-page a:hover {
  background-color: var(--color-rust);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.policy-content h1 {
  color: var(--color-sage);
  margin-bottom: 2rem;
}

.policy-content h2 {
  color: var(--color-sage);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  line-height: 1.9;
  margin-bottom: 1rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.75rem;
  color: var(--color-light-text);
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  header .nav-link {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

  main {
    margin-top: 70px;
  }

  .hero-section {
    height: 400px;
  }

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

  .two-column {
    flex-direction: column;
    gap: 2rem;
  }

  .two-column.reverse {
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .blog-article {
    padding: 1rem;
  }

  section {
    padding: 2rem 0;
  }
}

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  header .navbar-brand {
    font-size: 1.25rem;
  }

  header .nav-link {
    font-size: 0.75rem;
    margin-left: 0.5rem;
  }

  .hero-section {
    height: 300px;
  }

  .theme-cards .row {
    margin: 0;
  }

  .form-section {
    padding: 1.5rem;
  }

  .content-block {
    padding: 1.5rem;
  }
}
