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

:root {
  --color-burgundy: #5e2129;
  --color-burgundy-dark: #4a1920;
  --color-forest: #2E4731;
  --color-gold: #C5A059;
  --color-gold-hover: #b38e46;
  --color-cream: #F9F6F0;
  --color-bg-alt: #f1ebd9;
  --color-dark: #1a1514;
  --color-text: #3a3230;
  --color-text-light: #6a5e5a;
  --color-white: #ffffff;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --spacing-section: 5rem;
  --border-radius: 8px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-burgundy);
  font-weight: 600;
  line-height: 1.2;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.btn {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--color-burgundy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(94, 33, 41, 0.2);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(249, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-burgundy);
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hero {
  padding-top: 120px;
  padding-bottom: var(--spacing-section);
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  font-style: italic;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--color-forest);
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius);
  z-index: 1;
}

.features {
  background-color: var(--color-bg-alt);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

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

.feature-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-wrapper img {
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-forest);
}

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

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

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

.format-content li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.format-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-size: 1.2rem;
}

.format-image img {
  border-radius: var(--border-radius);
}

.author {
  background-color: var(--color-forest);
  color: var(--color-white);
}

.author h2 {
  color: var(--color-gold);
}

.author p {
  color: rgba(255, 255, 255, 0.9);
}

.author .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.author-image img {
  border-radius: var(--border-radius);
  border: 4px solid rgba(255,255,255,0.1);
}

.author-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.author-content .author-subtitle {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-bg-alt);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.enroll {
  background-color: var(--color-bg-alt);
}

.enroll-container {
  background-color: var(--color-white);
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.enroll-container h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.enroll-container > p {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-text-light);
}

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

.course-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.course-form input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #fcfbf9;
}

.course-form input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--color-white);
}

.course-form .btn {
  width: 100%;
  margin-top: 1rem;
}

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

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

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 0;
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

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

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

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

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

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-bg-alt);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  color: var(--color-gold);
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-page {
  padding-top: 150px;
  min-height: 70vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

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

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
}

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

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background-color: var(--color-bg-alt);
}

.success-content {
  background-color: var(--color-white);
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  max-width: 600px;
  width: 90%;
}

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

.success-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

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

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.9rem;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .hero .container, .format-grid, .author .container, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .enroll-container, .legal-content {
    padding: 2rem 1.5rem;
  }

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