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

:root {
  --bg-color: #FAF7F3;
  --bg-alt: #F3EDE5;
  --primary: #C98B7D;
  --primary-hover: #b87b6d;
  --secondary: #8FAE96;
  --text-heading: #2C1A0E;
  --text-body: #5C4033;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1140px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background-color: rgba(250, 247, 243, 0.95);
  backdrop-filter: blur(8px);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(44, 26, 14, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-heading);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  color: var(--text-body);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-heading);
  transition: 0.3s;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

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

/* Sections */
section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: var(--text-body);
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(44, 26, 14, 0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Audience Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.audience-card {
  padding: 40px 30px;
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.03);
  text-align: center;
}

.audience-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 16px;
  opacity: 0.6;
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
  text-align: center;
  font-style: italic;
}

/* Includes Section */
.includes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.includes-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.includes-icon {
  color: var(--secondary);
  font-size: 1.5rem;
  line-height: 1;
}

/* Teacher Section */
.teacher-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.teacher-image {
  border-radius: 16px;
  overflow: hidden;
}

.teacher-image img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.teacher-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

/* Form Section */
.form-section {
  text-align: center;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(44, 26, 14, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0d8d0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #fcfbf9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 139, 125, 0.1);
}

.form-wrapper .btn {
  width: 100%;
  margin-top: 10px;
}

.privacy-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 16px;
}

.privacy-note a {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--text-heading);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #e0d8d0;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0a8a0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-company p {
  color: #b0a8a0;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background-color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1000;
  width: 90%;
  max-width: 600px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.cookie-btn {
  padding: 8px 16px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.cookie-btn:hover {
  background-color: var(--primary-hover);
}

/* Legal Pages */
.legal-page {
  padding-top: 140px;
  padding-bottom: 100px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.03);
}

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

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 16px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.success-content {
  max-width: 500px;
}

.success-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.success-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
.mobile-only { display: none; }

@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .audience-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-image { max-width: 400px; margin: 0 auto; }
  
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    flex-direction: column;
    padding: 80px 30px;
    transition: 0.3s;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
  }
  .nav-links.active { right: 0; }
  .nav-links li { margin: 10px 0; }
  
  .audience-grid, .process-grid, .gallery-grid, .includes-list, .teacher-inner, .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .teacher-content { text-align: center; }
  .teacher-image { max-width: 400px; margin: 0 auto; }
  
  .legal-content { padding: 30px 20px; }
  .cookie-banner { flex-direction: column; text-align: center; gap: 16px; }
  .header-btn { display: none; }
  .mobile-only { display: block; }
}
