@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-cream: #FBF7F0;
  --color-cream-alt: #F2ECE1;
  --color-green: #2D4A3E;
  --color-green-dark: #1E332A;
  --color-terracotta: #C4622D;
  --color-terracotta-hover: #A64E20;
  --color-text: #333333;
  --color-text-light: #5A5A5A;
  --color-white: #FFFFFF;
  --color-border: #E5DFD3;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px rgba(45, 74, 62, 0.08);
  
  --spacing-section: 5rem;
  --container-width: 1200px;
}

@media (min-width: 768px) {
  :root {
    --spacing-section: 8rem;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-green);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 2rem; }
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-alt {
  background-color: var(--color-cream-alt);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-green);
  color: var(--color-green);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-green);
}

.nav-links a:hover {
  color: var(--color-terracotta);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.hamburger {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-green);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-green);
  margin: 1.5rem 0;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(251,247,240,0.95) 0%, rgba(251,247,240,0.8) 50%, rgba(251,247,240,0.2) 100%);
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(251,247,240,0.85) 0%, rgba(251,247,240,0.95) 100%);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
  margin-right: auto;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-img {
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.feature-card {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-terracotta);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-terracotta);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.gallery-content {
  padding: 2rem;
}

.gallery-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

@media (min-width: 768px) {
  .format-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .format-grid .format-content {
    order: -1;
  }
}

.format-list {
  list-style: none;
  margin-top: 2rem;
}

.format-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.format-list li::before {
  content: '•';
  color: var(--color-terracotta);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.curriculum-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.curriculum-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  height: 100%;
  width: 2px;
  background-color: var(--color-border);
}

@media (min-width: 768px) {
  .curriculum-timeline::before {
    left: 2rem;
  }
}

.curriculum-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .curriculum-item {
    padding-left: 5.5rem;
  }
}

.curriculum-item::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--color-terracotta);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 3px var(--color-cream);
}

@media (min-width: 768px) {
  .curriculum-item::before {
    left: 1.6rem;
  }
}

.curriculum-item:last-child {
  margin-bottom: 0;
}

.curriculum-module {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-terracotta);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.curriculum-item h3 {
  margin-bottom: 0.75rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-green);
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-terracotta);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .form-container {
    padding: 4rem;
  }
}

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

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

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-cream);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-green);
  background-color: var(--color-white);
}

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

.form-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  text-align: center;
}

.form-text a {
  text-decoration: underline;
}

.footer {
  background-color: var(--color-green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: inherit;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-green);
  color: var(--color-white);
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
}

.cookie-banner a {
  color: var(--color-terracotta);
  text-decoration: underline;
}

.btn-cookie {
  background-color: var(--color-white);
  color: var(--color-green);
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

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

.legal-content li {
  margin-bottom: 0.5rem;
}

.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  background-color: var(--color-white);
  padding: 4rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  max-width: 600px;
  width: 100%;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}
