@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Source+Serif+Pro:wght@400;600&display=swap');

:root {
  --color-bg: #f9f8f4;
  --color-accent-light: #fdfaf2;
  --color-accent-primary: #7a9a6e;
  --color-accent-dark: #3d5c42;
  --color-text: #2c2c2c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif Pro', serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.88;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.6px;
}

h1 {
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--color-accent-dark);
}

h3 {
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-accent-dark);
}

p {
  font-size: 1.1rem;
  line-height: 1.88;
  margin-bottom: 1.5rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(122, 154, 110, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: rgba(249, 248, 244, 0.95);
  padding: 0.8rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 160px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

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

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

main {
  margin-top: 80px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 160px;
}

.section {
  padding: 6rem 0;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(249, 248, 244, 0.8) 0%, rgba(253, 250, 242, 0.8) 100%);
  margin-top: 80px;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 4.2rem;
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.4rem;
  color: var(--color-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.text-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.text-block.reverse .image-wrapper {
  order: 2;
}

.text-block.reverse .text-content {
  order: 1;
}

.text-content {
  flex: 1;
}

.image-wrapper {
  width: 100%;
  height: auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

.card {
  background-color: var(--color-accent-light);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(122, 154, 110, 0.15);
  transition: all 0.4s ease;
}

.card:hover {
  border-color: var(--color-accent-primary);
  box-shadow: 0 8px 24px rgba(122, 154, 110, 0.15);
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: block;
}

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

.card p {
  font-size: 1rem;
  line-height: 1.8;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--color-accent-light);
}

th {
  background-color: var(--color-accent-primary);
  color: white;
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(122, 154, 110, 0.1);
}

tr:nth-child(even) {
  background-color: rgba(122, 154, 110, 0.05);
}

.faq-container {
  margin: 3rem 0;
}

.accordion {
  border: 1px solid rgba(122, 154, 110, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(122, 154, 110, 0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  background-color: var(--color-accent-light);
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-accent-dark);
}

.accordion-button:hover {
  background-color: rgba(122, 154, 110, 0.08);
}

.accordion-button.active {
  background-color: rgba(122, 154, 110, 0.1);
  border-left: 4px solid var(--color-accent-primary);
  padding-left: calc(1.5rem - 4px);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: rgba(122, 154, 110, 0.02);
  font-size: 1rem;
  line-height: 1.88;
}

.accordion-content.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.quote-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(122, 154, 110, 0.05) 0%, rgba(253, 250, 242, 0.5) 100%);
  border-radius: 8px;
  margin: 3rem 0;
}

.quote-section p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-accent-dark);
  max-width: 800px;
  margin: 0 auto;
}

.button {
  display: inline-block;
  background-color: var(--color-accent-primary);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button:hover {
  background-color: var(--color-accent-dark);
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

.button:active {
  transform: scale(0.98);
}

form {
  max-width: 500px;
  margin: 2rem auto;
  background-color: var(--color-accent-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(122, 154, 110, 0.15);
}

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

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

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(122, 154, 110, 0.2);
  border-radius: 4px;
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(122, 154, 110, 0.1);
}

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

.form-disclaimer {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(122, 154, 110, 0.05);
  border-left: 3px solid var(--color-accent-primary);
}

footer {
  background-color: var(--color-accent-dark);
  color: white;
  padding: 3rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 160px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-primary);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 160px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.educational-disclaimer {
  background-color: var(--color-accent-light);
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 4px solid var(--color-accent-primary);
  margin: 2rem 0;
}

.educational-disclaimer strong {
  color: var(--color-accent-dark);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideInUp 0.3s ease;
}

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

.modal-close {
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.3s ease;
  border: none;
  background: none;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.modal-close:hover {
  color: var(--color-accent-primary);
}

.modal-content h2 {
  margin-top: 0;
  color: var(--color-accent-dark);
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.8;
}

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

.modal-content li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-accent-dark);
  color: white;
  padding: 1.5rem;
  z-index: 1999;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner.active {
  display: flex;
}

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

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

.cookie-button {
  padding: 0.7rem 1.5rem;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-family: 'Source Serif Pro', serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cookie-button.accept {
  background-color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

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

.thank-you-banner {
  display: none;
  position: fixed;
  top: 100px;
  right: 20px;
  background-color: var(--color-accent-primary);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  z-index: 1999;
  animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.thank-you-banner.active {
  display: block;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 0 80px;
  }

  .container {
    padding: 0 80px;
  }

  .footer-content {
    padding: 0 80px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    padding: 0 80px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 40px;
    flex-direction: column;
    gap: 1rem;
  }

  .container {
    padding: 0 40px;
  }

  .footer-content {
    padding: 0 40px;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 0 40px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

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

  .text-block {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

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

  .hero {
    margin-top: 60px;
    height: 70vh;
  }

  main {
    margin-top: 70px;
  }

  header {
    padding: 1rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .modal-content {
    padding: 2rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
    text-align: center;
  }

  .thank-you-banner {
    right: 10px;
    left: 10px;
    top: 80px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .footer-content {
    padding: 0 20px;
  }

  .footer-bottom {
    padding: 0 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

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

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.7rem;
  }

  .card {
    padding: 1.5rem;
  }

  .accordion-button {
    padding: 1rem;
  }

  .accordion-content {
    padding: 1rem;
  }

  form {
    padding: 1.5rem;
  }
}
