/* ============================================================
   BAKEOLOGY — Premium CSS
   Palette: Cream · Espresso · Gold · Blush
   Fonts: Cormorant Garamond (display) · DM Sans (body)
   ============================================================ */

:root {
  --cream:       #FAF7F2;
  --cream-deep:  #F2EDE4;
  --cream-dark:  #E8DFD0;
  --espresso:    #1C1008;
  --espresso-mid:#3A2510;
  --espresso-lt: #5C3D1E;
  --gold:        #C8963C;
  --gold-light:  #E8B96A;
  --gold-pale:   #F5E6C8;
  --blush:       #E8C5B0;
  --sage:        #8A9E85;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 12px rgba(28,16,8,0.08);
  --shadow-md:   0 8px 32px rgba(28,16,8,0.12);
  --shadow-lg:   0 20px 60px rgba(28,16,8,0.16);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; padding: 0; }

/* ── ENTRY MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 16, 8, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.4s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.04em;
}

.modal-sub {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}

.modal-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--espresso);
  margin-bottom: 6px;
}
.modal-headline em { font-style: italic; color: var(--espresso-lt); }

.modal-choose {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 28px;
}

.modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--cream-dark);
  background: var(--cream);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mode-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-pale), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.mode-btn:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200,150,60,0.2);
}
.mode-btn:hover::before { opacity: 1; }
.mode-btn:active { transform: translateY(0); }

.mode-icon { font-size: 1.8rem; position: relative; z-index: 1; }
.mode-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--espresso);
  position: relative;
  z-index: 1;
}
.mode-desc {
  font-size: 0.72rem;
  color: #888;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

/* ── SITE HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream-dark);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-icon { font-size: 1.3rem; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--espresso);
}

.switch-mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--espresso);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--espresso);
  transition: var(--transition);
}
.switch-mode-btn:hover {
  background: var(--espresso);
  color: var(--cream);
}
.switch-arrow { font-size: 0.85rem; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 20px 36px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--espresso-lt);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--espresso-lt);
  max-width: 380px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--espresso-mid);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ── WORKSHOPS SECTION ────────────────────────────────────── */
.workshops-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ── WORKSHOP CARD ────────────────────────────────────────── */
.workshop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,150,60,0.1);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 24px rgba(200,150,60,0.15);
}

/* Card Image */
.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card-image img {
  transition: transform 0.6s ease;
}
.workshop-card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge-live,
.card-badge-offline {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 50px;
}
.card-badge-live {
  background: #FF4444;
  color: white;
}
.card-badge-offline {
  background: var(--espresso);
  color: var(--cream);
}

.card-badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--gold);
  color: white;
}

.card-date-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(6px);
  color: var(--espresso);
  border: 1px solid rgba(200,150,60,0.3);
}

/* Card Body */
.card-body {
  padding: 20px 18px 18px;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* Pricing */
.card-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.price-original {
  font-size: 0.82rem;
  color: #bbb;
  text-decoration: line-through;
  font-weight: 400;
}
.price-discounted {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--espresso);
}
.price-save {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(138,158,133,0.12);
  padding: 3px 9px;
  border-radius: 50px;
  border: 1px solid rgba(138,158,133,0.3);
}

/* Card Actions */
.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.enroll-btn {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.enroll-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--espresso-lt));
  opacity: 0;
  transition: opacity 0.3s;
}
.enroll-btn:hover::before { opacity: 1; }
.enroll-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(28,16,8,0.25); }
.enroll-btn:active { transform: translateY(0); }
.enroll-btn span { position: relative; z-index: 1; }

.details-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--espresso-lt);
  white-space: nowrap;
  transition: var(--transition);
}
.details-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.chevron {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}
.chevron.open { transform: rotate(180deg); }

/* Card Details Dropdown */
.card-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}
.card-details.open {
  grid-template-rows: 1fr;
  margin-top: 16px;
}
.details-inner {
  overflow: hidden;
}

.details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.details-tags span {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  color: var(--espresso-mid);
}

.details-list {
  margin-bottom: 14px;
  padding-left: 0;
}
.list-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.details-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.details-list ul li {
  font-size: 0.8rem;
  color: var(--espresso-mid);
  padding-left: 12px;
  position: relative;
  line-height: 1.5;
}
.details-list ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.details-note {
  font-size: 0.75rem;
  color: #aaa;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-light);
  line-height: 1.5;
}

/* ── MULTI ENROLL SECTION ─────────────────────────────────── */
.multi-enroll-section {
  padding: 0 16px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.multi-enroll-card {
  background: var(--espresso);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.multi-enroll-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(200,150,60,0.15), transparent 70%);
  border-radius: 50%;
}
.multi-enroll-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(200,150,60,0.1), transparent 70%);
  border-radius: 50%;
}

.multi-enroll-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.multi-enroll-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.multi-enroll-desc {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.6);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.multi-enroll-actions {
  position: relative;
  z-index: 1;
}

.multi-enroll-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(200,150,60,0.4);
}
.multi-enroll-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,150,60,0.5);
}

/* Offline Advance Section */
.offline-advance { margin-top: 20px; }
.advance-divider {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.35);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.advance-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(250,247,242,0.3);
  background: transparent;
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.advance-btn:hover {
  border-color: var(--gold-light);
  background: rgba(200,150,60,0.12);
  color: var(--gold-light);
}
.advance-note {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.35);
  margin-top: 8px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--espresso);
  padding: 44px 20px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.footer-tagline {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(250,247,242,0.5);
  margin-bottom: 14px;
}
.footer-contact {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.45);
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.25);
  letter-spacing: 0.05em;
}

/* ── WHATSAPP FAB ─────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  max-width: calc(100vw - 32px);
}
.whatsapp-fab svg { flex-shrink: 0; }
.whatsapp-fab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.whatsapp-fab:hover {
  background: #20BA5C;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}
.whatsapp-fab:active { transform: translateY(0); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.workshop-card {
  animation: cardIn 0.5s ease both;
}
.workshop-card:nth-child(1) { animation-delay: 0.05s; }
.workshop-card:nth-child(2) { animation-delay: 0.10s; }
.workshop-card:nth-child(3) { animation-delay: 0.15s; }
.workshop-card:nth-child(4) { animation-delay: 0.20s; }
.workshop-card:nth-child(5) { animation-delay: 0.25s; }

/* ── TABLET: 600px+ ───────────────────────────────────────── */
@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-image { height: 210px; }

  .whatsapp-fab { right: 24px; bottom: 28px; }
}

/* ── DESKTOP: 900px+ ──────────────────────────────────────── */
@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero { padding: 72px 20px 48px; }

  /* Featured card spans wider on grid */
  .card-featured {
    grid-column: span 1;
  }

  .card-image { height: 220px; }

  .modal-card {
    padding: 52px 44px 48px;
  }
}

/* ── LARGE: 1100px+ ───────────────────────────────────────── */
@media (min-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--cream-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ── SELECTION ────────────────────────────────────────────── */
::selection { background: var(--gold-pale); color: var(--espresso); }
