@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Nunito+Sans:wght@400;600;700;900&display=swap');

:root {
  --color-taupe: #8D7B68;
  --color-lavender-gray: #B7A9CC;
  --color-almond: #F0EDE5;
  --color-bronze: #A67C52;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-light-gray: #F5F3F0;
  --color-dark-gray: #6B6B6B;
}

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

html, body {
  font-family: 'Lora', serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-black);
  background-color: var(--color-white);
}

/* Typography */
h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 4.125rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 2.625rem;
  font-weight: 600;
  color: var(--color-taupe);
  margin-bottom: 1.2rem;
  margin-top: 0;
}

h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-taupe);
  margin-bottom: 0.8rem;
}

p {
  font-size: 1.18rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--color-black);
}

em, i {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--color-lavender-gray);
}

strong {
  font-weight: 600;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  border-bottom: 1px solid var(--color-almond);
  padding: 1rem 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-taupe);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

nav a {
  text-decoration: none;
  color: var(--color-black);
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  position: relative;
  transition: color 0.3s ease;
}

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

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

nav a:hover {
  color: var(--color-bronze);
}

/* Body padding for fixed header */
body {
  padding-top: 80px;
}

/* Container */
.container-wide {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 6vw;
}

.container-content {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Sections */
section {
  margin: 130px 0;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-bronze), transparent);
  margin: 180px 0;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-almond) 0%, var(--color-taupe) 100%);
  padding: 100px 6vw;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(240, 237, 229, 0.85);
  z-index: 1;
}

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

.hero img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Two-column layout */
.row-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
  margin: 80px 0;
}

.col-7 {
  grid-column: span 7;
}

.col-5 {
  grid-column: span 5;
}

.col-12 {
  grid-column: span 12;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.card {
  background: var(--color-almond);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--color-bronze);
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  background: var(--color-lavender-gray);
  transform: scale(1.025);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-black);
  margin: 0;
}

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--color-almond) 0%, var(--color-lavender-gray) 100%);
  color: var(--color-taupe);
  margin-top: 1.5rem;
  margin-right: 1rem;
}

.btn:hover {
  background: linear-gradient(135deg, var(--color-lavender-gray) 0%, var(--color-almond) 100%);
  color: var(--color-taupe);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* Forms */
form {
  max-width: 600px;
  margin: 40px auto;
  background: var(--color-almond);
  padding: 40px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  color: var(--color-taupe);
  margin-bottom: 8px;
  font-size: 1rem;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-lavender-gray);
  border-radius: 6px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-bronze);
  box-shadow: 0 0 8px rgba(166, 124, 82, 0.2);
}

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

.form-disclaimer {
  background-color: var(--color-light-gray);
  padding: 16px;
  border-left: 3px solid var(--color-bronze);
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-dark-gray);
}

/* Footer */
footer {
  background-color: var(--color-taupe);
  color: var(--color-white);
  padding: 60px 6vw;
  margin-top: 180px;
  font-size: 0.95rem;
}

footer h3 {
  color: var(--color-almond);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.footer-section h3 {
  color: var(--color-almond);
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

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

/* FAQ */
.faq-item {
  background: var(--color-almond);
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--color-bronze);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: var(--color-lavender-gray);
}

.faq-question {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-taupe);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  color: var(--color-bronze);
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(167, 124, 82, 0.2);
  line-height: 1.9;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-taupe);
  color: var(--color-white);
  padding: 20px 6vw;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
  display: none;
}

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

.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-almond);
  color: var(--color-taupe);
}

.cookie-btn-accept:hover {
  background-color: var(--color-lavender-gray);
}

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

.cookie-btn-reject:hover {
  background-color: rgba(240, 237, 229, 0.1);
}

.cookie-btn-learn {
  background-color: transparent;
  border: 1px solid var(--color-almond);
  color: var(--color-almond);
}

.cookie-btn-learn:hover {
  background-color: rgba(240, 237, 229, 0.1);
}

/* Blog */
.blog-header {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-meta {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--color-bronze);
  margin-bottom: 20px;
}

.blog-content {
  max-width: 900px;
  margin: 0 auto;
}

.blog-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: var(--color-almond);
}

.blog-table th {
  background-color: var(--color-taupe);
  color: var(--color-white);
  padding: 12px;
  text-align: left;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
}

.blog-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-lavender-gray);
}

.blog-table tr:hover {
  background-color: var(--color-lavender-gray);
}

/* Disclaimer */
.disclaimer-box {
  background-color: var(--color-almond);
  border-left: 4px solid var(--color-bronze);
  padding: 24px;
  border-radius: 8px;
  margin: 40px 0;
  line-height: 1.8;
}

.disclaimer-box h4 {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--color-taupe);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* Accessibility & Screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .row-12 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .col-7,
  .col-5 {
    grid-column: span 12;
  }

  nav ul {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.95rem;
  }

  .container-wide,
  .container-content,
  header {
    padding: 0 4vw;
  }

  .hero {
    padding: 60px 4vw;
  }
}

@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.2rem;
    letter-spacing: 0;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  header {
    padding: 1rem 4vw;
    flex-direction: column;
    gap: 1rem;
  }

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

  .container-wide,
  .container-content {
    padding: 0 4vw;
  }

  section {
    margin: 80px 0;
  }

  .section-divider {
    margin: 120px 0;
  }

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

  .hero {
    min-height: 400px;
    padding: 40px 4vw;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 4vw;
  }

  .cookie-message {
    min-width: auto;
  }

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

  form {
    padding: 24px;
  }

  footer {
    padding: 40px 4vw;
  }

  .footer-grid {
    gap: 24px;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  header {
    padding: 0.8rem 3vw;
  }

  nav ul {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .container-wide,
  .container-content,
  header {
    padding: 0 3vw;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-right: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .cookie-banner {
    padding: 12px 3vw;
  }

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

  .cookie-btn {
    width: 100%;
  }

  form {
    padding: 20px;
    margin: 20px auto;
  }
}
