@import url('https://fonts.googleapis.com/css2?family=Georgia:wght@400;700&family=Merriweather:wght@700&family=Lato:wght@400;700&display=swap');

:root {
  --color-pistachio: #B2D8B2;
  --color-cream: #FFF8E8;
  --color-rose: #E8B4BC;
  --color-taupe: #8D7B68;
  --color-text-dark: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-border: #E0D5CC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: #FAFAF8;
}

/* Typography */
h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-taupe);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

h2 {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-taupe);
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}

h3 {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-taupe);
  margin-bottom: 0.8rem;
}

p {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 248, 232, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-taupe) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4.5rem;
}

.nav-link {
  font-family: 'Lato', sans-serif;
  color: var(--color-text-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-rose) !important;
}

/* Main Content */
main {
  margin-top: 80px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0.9);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(178, 216, 178, 0.4), rgba(232, 180, 188, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-container {
  background-color: var(--color-cream);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

.section-with-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.section-with-image img:hover {
  transform: scale(1.02);
}

.section-with-image.reverse {
  direction: rtl;
}

.section-with-image.reverse > * {
  direction: ltr;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--color-rose);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(232, 180, 188, 0.2);
}

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

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

.card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Buttons */
.btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--color-pistachio);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(178, 216, 178, 0.3);
}

.btn-primary:hover {
  background-color: #A3D0A3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 16px rgba(178, 216, 178, 0.4);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: var(--color-cream);
  color: var(--color-taupe);
  border: 2px solid var(--color-taupe);
}

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

/* Accordion */
.accordion-btn {
  background-color: var(--color-cream);
  color: var(--color-taupe);
  padding: 1.5rem;
  border: none;
  border-radius: 10px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  padding: 0 1.5rem;
  border-radius: 0 0 10px 10px;
  margin-bottom: 1rem;
}

.accordion-content.show {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-content p {
  color: var(--color-text-dark);
}

/* Footer */
footer {
  background-color: var(--color-taupe);
  color: white;
  padding: 3rem 4.5rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 248, 232, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--color-pistachio);
}

.footer-disclaimer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 248, 232, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 248, 232, 0.7);
}

.footer-disclaimer strong {
  color: var(--color-cream);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-policies {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 248, 232, 0.3);
}

.footer-policies a {
  color: var(--color-cream);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: var(--color-pistachio);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--color-taupe);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(141, 123, 104, 0.3);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
}

.back-to-top:hover {
  background-color: var(--color-rose);
  transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-taupe);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-content {
  max-width: 1400px;
  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-text a {
  color: var(--color-cream);
  border-bottom: 1px solid var(--color-cream);
}

.cookie-text a:hover {
  color: var(--color-pistachio);
  border-bottom-color: var(--color-pistachio);
}

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

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-btn-accept:hover {
  background-color: #A3D0A3;
  transform: scale(1.05);
}

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

.cookie-btn-reject:hover {
  background-color: rgba(255, 248, 232, 0.1);
}

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

.cookie-btn-learn:hover {
  background-color: rgba(255, 248, 232, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--color-taupe);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-pistachio);
  box-shadow: 0 0 0 3px rgba(178, 216, 178, 0.1);
}

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

.form-disclaimer {
  background-color: var(--color-cream);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border-left: 4px solid var(--color-rose);
}

.form-disclaimer p {
  margin-bottom: 0;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 0 1.5rem;
  }

  .navbar {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero {
    height: 400px;
    margin-bottom: 2rem;
  }

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

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

  .section-container {
    padding: 2rem;
  }

  .section-with-image {
    grid-template-columns: 1fr;
  }

  .section-with-image.reverse {
    direction: ltr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

  footer {
    padding: 2rem 1.5rem;
  }

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

  .footer-policies {
    flex-direction: column;
    align-items: center;
  }
}
