@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Montserrat:wght@400;500;600&family=Bitter:wght@400;700&display=swap');

:root {
  --color-lavender: #D7BDE2;
  --color-sand: #E8C39E;
  --color-plum: #6D4C93;
  --color-pearl: #F8F6F2;
  --color-white: #FFFFFF;
  --color-dark: #2C2C2C;
  --color-light-gray: #E8E8E8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Bitter', serif;
  font-size: 19px;
  line-height: 1.74;
  color: var(--color-dark);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.3px;
  color: var(--color-plum);
}

h3 {
  font-size: 1.8rem;
  color: var(--color-plum);
}

h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark);
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.74;
}

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

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

header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  padding: 1rem 2rem;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

.logo span {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-plum);
}

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

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
}

nav a:hover {
  color: var(--color-plum);
  text-decoration: none;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-plum);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.full-width {
  width: 100%;
}

section {
  padding: 160px 2rem;
}

section:nth-child(even) {
  background: linear-gradient(135deg, rgba(215, 189, 226, 0.05) 0%, rgba(232, 195, 158, 0.05) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
}

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

.hero p {
  color: var(--color-white);
  font-size: 1.3rem;
}

.section-header {
  max-width: 1560px;
  margin: 0 auto;
  padding: 140px 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.grid-2.reverse {
  direction: rtl;
}

.grid-2.reverse > * {
  direction: ltr;
}

.grid-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeInScale 0.8s ease forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-plum);
}

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

.card h3 {
  margin-bottom: 1rem;
}

.quote-section {
  background: var(--color-lavender);
  padding: 80px 2rem;
  text-align: center;
  margin: 4rem 0;
  border-radius: 8px;
}

.quote-section p {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-plum);
  max-width: 900px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featured-card {
  background: var(--color-pearl);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.featured-card a {
  display: block;
  padding: 2rem;
  color: var(--color-dark);
  text-decoration: none;
}

.featured-card h3 {
  color: var(--color-plum);
}

.featured-card a:hover {
  text-decoration: none;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--color-pearl);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: var(--color-lavender);
  color: var(--color-plum);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  background: var(--color-white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 2rem;
  margin-top: 80px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--color-sand);
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

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

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

.footer-section a {
  color: var(--color-light-gray);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-sand);
  text-decoration: underline;
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-divider {
  border-top: 1px solid var(--color-light-gray);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-light-gray);
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-plum);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 8px rgba(109, 76, 147, 0.2);
}

.btn:hover {
  background-color: var(--color-sand);
  color: var(--color-dark);
  box-shadow: 0 6px 12px rgba(109, 76, 147, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-sand);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-plum);
  color: var(--color-white);
}

form {
  max-width: 600px;
  margin: 0 auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
  font-family: 'Montserrat', sans-serif;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  font-family: 'Bitter', serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--color-pearl);
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-plum);
  box-shadow: 0 0 0 3px rgba(109, 76, 147, 0.1);
}

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

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--color-dark);
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--color-pearl);
  border-left: 4px solid var(--color-plum);
  border-radius: 4px;
}

.disclaimer-box {
  background-color: var(--color-lavender);
  border-left: 4px solid var(--color-plum);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.disclaimer-box h3 {
  margin-top: 0;
}

.banner-message {
  background: linear-gradient(135deg, var(--color-plum), var(--color-sand));
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  font-weight: 600;
}

.context-limitation {
  background-color: var(--color-pearl);
  border: 1px solid var(--color-light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.context-limitation h3 {
  color: var(--color-plum);
  margin-bottom: 1rem;
}

.article-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--color-dark);
  margin-bottom: 2rem;
  font-weight: 500;
}

.article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  object-fit: cover;
}

.breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.breadcrumb a {
  color: var(--color-plum);
}

.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-message h1 {
  color: var(--color-plum);
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cookie-banner.show {
  max-height: 300px;
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--color-sand);
  color: var(--color-dark);
}

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

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

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

.cookie-learn {
  background-color: transparent;
  color: var(--color-white);
  text-decoration: underline;
}

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

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  section {
    padding: 80px 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .grid-2,
  .grid-3,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .hero {
    height: 400px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }
}

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

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  body {
    font-size: 15px;
  }

  section {
    padding: 60px 1rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.8rem;
  }

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

  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav {
    width: 100%;
    order: 3;
  }

  nav ul {
    width: 100%;
    justify-content: center;
  }
}
