@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  --green: #4A7C59;
  --green-dark: #3A6347;
  --green-light: #6B9E7A;
  --pink: #E8A0BF;
  --pink-dark: #D4789E;
  --pink-light: #F2C4D9;
  --cream: #FFF8F0;
  --cream-dark: #F5E6D3;
  --cream-mid: #FAF0E4;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-family: 'Great Vibes', 'Elegant Script', cursive;
  font-weight: 400;
  line-height: 1.2;
}

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

a:hover {
  color: var(--green-dark);
}

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

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: 'Great Vibes', 'Elegant Script', cursive;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green);
}

.nav-logo span {
  color: var(--pink-dark);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ── Mobile Menu Panel ── */

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.45s;
}

.mobile-menu.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.mobile-menu-links li {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open .mobile-menu-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-links li:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) { transition-delay: 0.28s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.open .mobile-menu-links li:nth-child(5) { transition-delay: 0.44s; }

.mobile-menu-links a {
  font-family: 'Great Vibes', 'Elegant Script', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
  display: block;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--green);
}

/* ── Hero Section ── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-mid) 50%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
  opacity: 0.4;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-subtitle {
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pink-dark);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--green);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
}

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

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-pink:hover {
  background: var(--pink-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 191, 0.3);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ── */

.section {
  padding: 100px 2rem;
}

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

.section-green {
  background: var(--green);
  color: var(--white);
}

.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-green p {
  color: rgba(255, 255, 255, 0.85);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--green);
  margin-bottom: 1rem;
}

.section-green .section-header h2 {
  color: var(--white);
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--pink);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Gallery Grid ── */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--cream-dark);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

/* ── Lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* ── Feature Cards ── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--cream-dark);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.feature-icon-green {
  background: rgba(74, 124, 89, 0.1);
  color: var(--green);
}

.feature-icon-pink {
  background: rgba(232, 160, 191, 0.15);
  color: var(--pink-dark);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── Teaching Page ── */

.class-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.class-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.class-image {
  height: 200px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.class-info {
  padding: 2rem;
}

.class-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.tag-kids {
  background: rgba(232, 160, 191, 0.15);
  color: var(--pink-dark);
}

.tag-adults {
  background: rgba(74, 124, 89, 0.1);
  color: var(--green);
}

.tag-all {
  background: var(--cream-dark);
  color: var(--text-light);
}

.class-info h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.class-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.class-details {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.class-details span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── About Page ── */

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

.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-text .highlight {
  color: var(--pink-dark);
  font-weight: 600;
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.contact-detail h4 {
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-detail p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

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

/* ── Testimonials ── */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.section-green .testimonial-card {
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-card .quote-mark {
  font-family: 'Great Vibes', 'Elegant Script', cursive;
  font-size: 4rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section-green .testimonial-card .quote-mark {
  color: var(--pink-light);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
}

.section-green .testimonial-author {
  color: var(--pink-light);
}

/* ── Footer ── */

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--white);
}

.footer-brand .nav-logo span {
  color: var(--pink-light);
}

.footer-brand .nav-logo:hover {
  color: var(--pink-light);
}

.footer-brand .nav-logo:hover span {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.8;
}

.footer h4 {
  font-family: 'Century Gothic', 'AppleGothic', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--pink);
}

/* ── Responsive ── */

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 1.5rem 80px;
  }

  .section {
    padding: 60px 1.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .class-list {
    grid-template-columns: 1fr;
  }
}
