/* 
   MAMA TOI'S COOKING SCHOOL - DESIGN SYSTEM & STYLES
   Aesthetic: Warm, Premium, Culinary-Inspired (Terracotta, Sage Green, and Cream)
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- CSS Variables & Custom Properties --- */
:root {
  /* Colors */
  --bg-cream: #FCFAF6;
  --text-charcoal: #2C2A29;
  --text-muted: #6E6B68;
  --primary-terracotta: #D96B43;
  --primary-terracotta-hover: #C2562E;
  --secondary-sage: #5F8265;
  --secondary-sage-hover: #4C6A51;
  --accent-light-terracotta: #FDF3EE;
  --accent-light-sage: #F1F6F2;
  --white: #FFFFFF;
  --border-color: #EAE5DF;
  --shadow-sm: 0 2px 8px rgba(44, 42, 41, 0.04);
  --shadow-md: 0 8px 24px rgba(44, 42, 41, 0.08);
  --shadow-lg: 0 16px 48px rgba(44, 42, 41, 0.12);
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DynaPuff', system-ui, -apple-system, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Layout constraints */
  --max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-charcoal);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Underline decoration for section titles */
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background-color: var(--primary-terracotta);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

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

p.lead {
  font-size: 1.25rem;
  color: var(--text-charcoal);
  font-weight: 500;
  line-height: 1.7;
}

/* --- Layout Components --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 100px 0;
  position: relative;
}

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

/* --- Sticky Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(252, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.logo-img {
  height: 60px;
  width: auto;
  transition: height var(--transition-smooth);
  display: block;
}

header.scrolled .logo-img {
  height: 50px;
}

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

.logo:hover {
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-terracotta);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-terracotta);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--secondary-sage);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background-color: var(--secondary-sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95, 130, 101, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-charcoal);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, var(--accent-light-terracotta) 0%, transparent 60%);
}

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

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-light-sage);
  color: var(--secondary-sage);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero p {
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Styled abstract illustration for hero right-column */
.hero-art-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-shape-back {
  width: 380px;
  height: 380px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background-color: var(--accent-light-terracotta);
  position: absolute;
  z-index: 1;
  animation: morph 15s ease-in-out infinite alternate;
}

.hero-shape-front {
  width: 320px;
  height: 320px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
  background-color: var(--accent-light-sage);
  position: absolute;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  animation: morph-reverse 12s ease-in-out infinite alternate;
}

.hero-art-content {
  z-index: 3;
  text-align: center;
}

.hero-art-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-art-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--secondary-sage);
}

.hero-art-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

@keyframes morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  100% { border-radius: 40% 60% 70% 30% / 50% 60% 30% 50%; }
}

@keyframes morph-reverse {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 107, 67, 0.3);
}

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

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* --- Classes Grid --- */
.section-desc {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.class-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.2);
}

.class-card-image-placeholder {
  height: 200px;
  background-color: var(--accent-light-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.img-zoom {
  transform: scale(1.2);
}

.class-card:hover .img-zoom {
  transform: scale(1.26);
}

/* Let's style each card placeholder individually for color diversity */
.class-card:nth-child(1) .class-card-image-placeholder { background-color: #F8ECE8; }
.class-card:nth-child(2) .class-card-image-placeholder { background-color: #EBF2ED; }
.class-card:nth-child(3) .class-card-image-placeholder { background-color: #FAF2E6; }
.class-card:nth-child(4) .class-card-image-placeholder { background-color: #EDEEF6; }

.class-icon {
  font-size: 3.5rem;
}

.class-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  color: var(--text-charcoal);
  border: 1px solid var(--border-color);
}

.class-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.class-card-title {
  margin-bottom: 0.75rem;
}

.class-card-excerpt {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.class-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.class-card-meta {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.meta-value {
  font-weight: 700;
  color: var(--text-charcoal);
  font-size: 0.95rem;
}

.btn-learn-more {
  background: none;
  border: none;
  color: var(--primary-terracotta);
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.btn-learn-more:hover {
  color: var(--primary-terracotta-hover);
  gap: 0.6rem;
}

/* --- How Classes Work Section --- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  margin-top: 2rem;
}

.timeline-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(95, 130, 101, 0.2);
}

.timeline-step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(95, 130, 101, 0.2);
}

.timeline-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.timeline-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Quote Section --- */
.quote-section {
  background-color: var(--accent-light-terracotta);
  text-align: center;
  padding: 120px 0;
}

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

.quote-icon {
  font-size: 3.5rem;
  color: var(--primary-terracotta);
  opacity: 0.3;
  margin-bottom: 1rem;
  display: inline-block;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-sage);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.tag-badge {
  background-color: var(--accent-light-sage);
  color: var(--secondary-sage);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(95, 130, 101, 0.1);
}

.about-art-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-avatar-frame {
  width: 350px;
  height: 350px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
  background: linear-gradient(180deg, var(--accent-light-sage) 0%, var(--accent-light-terracotta) 100%);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: morph-reverse 12s ease-in-out infinite alternate;
}

.about-avatar-img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: 35% 10%; /* Zooms in, shifts the head to the right and further down */
  display: block;
}

.class-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

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

.about-avatar-fallback {
  text-align: center;
  padding: 2rem;
}

.about-avatar-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.about-avatar-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--primary-terracotta);
}

.about-avatar-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Decoration circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--accent-light-terracotta);
  z-index: -1;
}

.deco-circle-1 {
  width: 120px;
  height: 120px;
  top: -20px;
  left: -20px;
  background-color: #FAF2E6;
}

.deco-circle-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  right: -30px;
  background-color: #EBF2ED;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details {
  margin-top: 2rem;
}

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

.contact-item-icon {
  font-size: 1.5rem;
  color: var(--primary-terracotta);
}

.contact-item-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card {
  background-color: var(--white);
  padding: 3.5rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-charcoal);
}

.form-help-text {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-terracotta);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(217, 107, 67, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232C2A29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

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

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

/* --- Footer --- */
footer {
  background-color: #242221;
  color: #ECEAE6;
  padding: 80px 0 40px 0;
  border-top: 4px solid var(--primary-terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  background-color: #fcfaf6; /* Matches the header cream background */
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .logo-img {
  height: 54px; /* Increased by 20% to fit the badge beautifully */
  width: auto;
  display: block;
}

.footer-brand p {
  color: #A9A6A2;
  font-size: 0.95rem;
}

.footer-links-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  text-decoration: none;
  color: #A9A6A2;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--primary-terracotta);
  padding-left: 4px;
}

.footer-contact-info p {
  color: #A9A6A2;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #363432;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #8C8985;
  margin-bottom: 0;
}

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

.footer-social-link {
  color: #8C8985;
  text-decoration: none;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--primary-terracotta);
}

/* --- Slide-out Class Drawer/Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 42, 41, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end; /* Align to the right for drawer feel */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  width: 100%;
  max-width: 600px;
  height: 100%;
  background-color: var(--bg-cream);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 1px solid var(--border-color);
}

.modal-overlay.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title-container {
  display: flex;
  flex-direction: column;
}

.drawer-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary-sage);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.drawer-title {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.drawer-close-btn {
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-charcoal);
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background-color: var(--primary-terracotta);
  color: var(--white);
  border-color: var(--primary-terracotta);
}

.drawer-body {
  padding: 2.5rem 2rem;
  flex-grow: 1;
}

.drawer-desc {
  font-size: 1.1rem;
  color: var(--text-charcoal);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.drawer-section {
  margin-bottom: 2.5rem;
}

.drawer-section-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Example dishes styled list */
.dishes-list {
  list-style: none;
}

.dishes-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-charcoal);
  font-weight: 500;
}

.dishes-list li::before {
  content: "✦";
  position: absolute;
  left: 0.5rem;
  color: var(--primary-terracotta);
  font-size: 1.1rem;
}

/* Timeline styled timeline in drawer */
.drawer-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.drawer-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border-color);
}

.drawer-timeline-item {
  position: relative;
  padding-left: 1rem;
}

.drawer-timeline-bullet {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-sage);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary-sage);
}

.drawer-timeline-time {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary-sage);
  margin-bottom: 0.25rem;
}

.drawer-timeline-text {
  font-size: 0.98rem;
  color: var(--text-charcoal);
  font-weight: 500;
}

.drawer-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.drawer-meta-card {
  background-color: var(--white);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.drawer-meta-card .meta-value {
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.drawer-meta-card p.meta-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.drawer-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--white);
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 1rem;
}

.drawer-footer .btn {
  flex: 1;
}

/* --- Form Success Modal --- */
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  z-index: 3000;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.success-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-light-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon {
  font-size: 2.5rem;
  color: var(--secondary-sage);
  line-height: 1;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Backdrop for success modal */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 42, 41, 0.4);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Class Calendar Section --- */
.calendar-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.month-tabs {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  padding-bottom: 2px;
  position: relative;
  bottom: -2px;
}

.month-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.month-tab {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.month-tab:hover {
  color: var(--primary-terracotta);
}

.month-tab.active {
  color: var(--primary-terracotta);
  border-bottom-color: var(--primary-terracotta);
}

.calendar-filters-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background-color: var(--white);
  padding: 0.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--primary-terracotta);
}

.filter-btn.active {
  background-color: var(--primary-terracotta);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(217, 107, 67, 0.2);
}

.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  min-height: 200px;
}

.calendar-empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  background-color: var(--white);
  border-radius: 16px;
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
}

.calendar-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.calendar-card {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  gap: 2rem;
}

.calendar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.15);
}

/* Left: Date Badge */
.calendar-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--accent-light-terracotta);
  border-radius: 12px;
  border: 1px solid rgba(217, 107, 67, 0.1);
  flex-shrink: 0;
}

.calendar-date-badge .badge-month {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-terracotta);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.calendar-date-badge .badge-day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  line-height: 1;
}

/* Middle: Info */
.calendar-info {
  flex-grow: 1;
}

.calendar-class-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-available {
  background-color: var(--accent-light-sage);
  color: var(--secondary-sage);
  border: 1px solid rgba(95, 130, 101, 0.15);
}

.status-limited {
  background-color: var(--accent-light-terracotta);
  color: var(--primary-terracotta);
  border: 1px solid rgba(217, 107, 67, 0.15);
}

.status-full {
  background-color: #F3F1ED;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.calendar-time-duration {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.calendar-time-duration span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Right: Price and Action */
.calendar-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.calendar-price-wrapper {
  text-align: right;
}

.calendar-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.calendar-price-value {
  font-weight: 800;
  color: var(--text-charcoal);
  font-size: 1.25rem;
  font-family: var(--font-sans);
}

.calendar-actions .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

.calendar-actions .btn-secondary {
  border-color: var(--border-color);
  color: var(--text-charcoal);
}

.calendar-actions .btn-secondary:hover {
  background-color: var(--border-color);
}

.calendar-actions .btn-primary:disabled,
.calendar-actions .btn-primary.disabled {
  background-color: #E6E2DC;
  border-color: #E6E2DC;
  color: #A39E98;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Bottom Callout Banner */
.calendar-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--accent-light-sage) 0%, var(--white) 100%);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  gap: 3rem;
  margin-top: 4rem;
}

.footer-note-content {
  max-width: 680px;
}

.footer-note-content h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
}

.footer-note-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.calendar-footer-note .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-art-container {
    height: 300px;
  }
  
  .hero-shape-back {
    width: 280px;
    height: 280px;
  }
  
  .hero-shape-front {
    width: 240px;
    height: 240px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-tags {
    justify-content: center;
  }
  
  .about-art-container {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .calendar-footer-note {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.15rem;
  }
  
  /* Mobile drawer layout changes */
  .drawer-content {
    max-width: 100%; /* Full screen drawer on mobile */
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .calendar-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  .calendar-date-badge {
    margin: 0 auto;
  }
  .calendar-class-title {
    justify-content: center;
  }
  .calendar-time-duration {
    justify-content: center;
  }
  .calendar-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
  }
  .calendar-price-wrapper {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .drawer-meta-grid {
    grid-template-columns: 1fr;
  }
}
