/* spoe:theme */
:root {
  --bg: #f8f9f5;
  --fg: #2a3a2d;
  --card: #ffffff;
  --muted: #e2e8e3;
  --muted-fg: #5c6b5e;
  --border: #cbd5c8;
  --primary: #8aae8c;
  --on-primary: #ffffff;
  --radius: 12px;
}

/* spoe:fonts */
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
}

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

.section {
  padding: 5rem 0;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-fg);
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}

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

a:hover,
a:focus-visible {
  color: var(--fg);
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--fg);
  color: var(--on-primary);
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--primary);
  color: var(--on-primary);
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

/* Header */
.header {
  background-color: var(--card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo h1 {
  margin: 0;
  font-size: 1.75rem;
  font-family: var(--font-heading);
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav a {
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e8f0e9 0%, #d1e0d3 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-fg);
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Classes Section */
.classes .class-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.class-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.level {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.level.beginner {
  background-color: #d1e7dd;
  color: #0a5c36;
}

.level.intermediate {
  background-color: #fff3cd;
  color: #856404;
}

.level.all {
  background-color: #e2e3e5;
  color: #41464b;
}

/* Schedule Section */
.schedule .timetable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.day {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.class-time {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.class-time:last-child {
  margin-bottom: 0;
}

.time {
  font-weight: bold;
  color: var(--primary);
}

.duration {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* Pricing Section */
.pricing .offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.offer-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid var(--border);
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0;
}

.validity {
  font-style: italic;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.offer-card ul {
  text-align: left;
  padding-left: 1.5rem;
}

.offer-card li {
  margin-bottom: 0.5rem;
}

/* Teachers Section */
.teachers .teacher-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.teacher-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 5px solid var(--muted);
}

.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-info .bio {
  max-width: 400px;
  margin: 0 auto;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-item {
  margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  margin: 0;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links,
  .social-links {
    justify-content: center;
  }
}