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

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

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 20%, 10%);
  --gold: hsl(45, 90%, 62%);
  --gold-dark: hsl(45, 85%, 50%);
  --mint: hsl(150, 35%, 75%);
  --coral: hsl(15, 85%, 70%);
  --dark: hsl(220, 20%, 10%);
  --dark-muted: hsl(220, 15%, 20%);
  --muted: hsl(40, 20%, 96%);
  --muted-foreground: hsl(220, 10%, 45%);
  --border: hsl(40, 15%, 88%);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* Typography */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.heading-lg {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.heading-sm {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.body-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .heading-lg {
    font-size: 2.5rem;
  }
  .heading-md {
    font-size: 1.875rem;
  }
  .heading-sm {
    font-size: 1.5rem;
  }
  .body-text {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .heading-lg {
    font-size: 3rem;
  }
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-hero:hover {
  background-color: var(--dark-muted);
}

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

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  transition: color 0.2s;
}

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

.header .btn {
  display: none;
}

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

/* Hero */
.hero {
  background-color: var(--gold);
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero .container {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }
}

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

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

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

.hero-content .section-label {
  color: rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image {
    justify-content: flex-end;
  }
}

.hero-image img {
  width: 16rem;
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
}

@media (min-width: 768px) {
  .hero-image img {
    width: 20rem;
  }
}

@media (min-width: 1024px) {
  .hero-image img {
    width: 24rem;
  }
}

.hero-watermark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 8rem;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-watermark {
    font-size: 12rem;
  }
}

@media (min-width: 1024px) {
  .hero-watermark {
    font-size: 17rem;
  }
}

/* Courses */
.courses {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .courses {
    padding: 6rem 0;
  }
}

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

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

.course-card {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

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

.course-card p {
  margin-bottom: 1rem;
}

.course-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.course-note {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.courses-additional {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

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

/* How It Works */
.how-it-works {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .how-it-works {
    grid-template-columns: 1fr 1fr;
  }
}

.how-it-works-image {
  height: 16rem;
  position: relative;
}

@media (min-width: 1024px) {
  .how-it-works-image {
    height: auto;
  }
}

.how-it-works-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works-content {
  background-color: var(--mint);
  padding: 2rem;
}

@media (min-width: 768px) {
  .how-it-works-content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .how-it-works-content {
    padding: 4rem;
  }
}

.how-it-works-content h2 {
  margin-bottom: 1rem;
}

.how-it-works-content > p {
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.step p {
  color: rgba(0, 0, 0, 0.6);
}

.how-it-works-footer {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

/* About Us */
.about {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .about {
    padding: 6rem 0;
  }
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 28rem;
  margin-bottom: 3rem;
}

.about-images img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

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

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

.about h2 {
  margin-bottom: 1.5rem;
}

.about-grid p {
  margin-bottom: 1rem;
}

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

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 0.75rem;
  height: 0.75rem;
}

.feature span {
  font-size: 0.875rem;
}

/* Categories */
.categories {
  padding: 4rem 0 5rem;
  background-color: var(--background);
}

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

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

.category-card {
  padding: 1.5rem 1rem;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

@media (min-width: 768px) {
  .category-card {
    padding: 2rem 1.5rem;
  }
}

.category-card:hover {
  transform: scale(1.05);
}

.category-card.dark {
  background-color: var(--dark);
  color: white;
}

.category-card.muted {
  background-color: var(--muted);
  color: var(--foreground);
}

.category-card.gold {
  background-color: var(--gold);
  color: var(--foreground);
}

.category-card.coral {
  background-color: var(--coral);
  color: var(--foreground);
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.category-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.category-card h3 {
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .category-card h3 {
    font-size: 1rem;
  }
}

/* Events */
.events {
  padding: 4rem 0;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .events {
    padding: 6rem 0;
  }
}

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

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

.events h2 {
  margin-bottom: 1.5rem;
}

.events-content p {
  margin-bottom: 1.5rem;
}

.event-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: var(--muted);
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.event-card {
  flex: 1;
}

.event-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.event-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.event-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr;
}

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

.faq-image {
  height: 16rem;
  position: relative;
}

@media (min-width: 1024px) {
  .faq-image {
    height: auto;
  }
}

.faq-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-content {
  background-color: var(--mint);
  padding: 2rem;
}

@media (min-width: 768px) {
  .faq-content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .faq-content {
    padding: 4rem;
  }
}

.faq-content h2 {
  margin-bottom: 1rem;
}

.faq-content > p {
  margin-bottom: 2rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.accordion-item.open .accordion-content {
  display: block;
}

.faq-footer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

/* CTA */
.cta {
  background-color: var(--gold);
  padding: 3rem 0;
  text-align: center;
}

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

.cta .section-label {
  color: rgba(0, 0, 0, 0.6);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.7);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 0;
}

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

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

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

.footer .logo {
  margin-bottom: 1rem;
}

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

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

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 24rem;
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contacts strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}
