/* ============================================
   CRAFT HUB TORONTO — WORKSHOPS PAGE STYLES
   ============================================ */

:root {
  --bg: #faf7fb;           /* very light pinkish white */
  --primary: #2a5c35;      /* forest green */
  --primary-dark: #1e4228;
  --primary-fg: #ffffff;
  --lavender: #e8d5f0;     /* page header bg */
  --foreground: #1a1a1a;
  --muted: #6b7280;
  --border: #e0d5ea;
  --card: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--foreground); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-sm  { padding: 9px 18px; font-size: 14px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-dark    { background: #1a1a1a; color: #fff; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--foreground);
}
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text { font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--foreground); border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   WORKSHOPS PAGE HEADER
   ============================================ */
.workshops-page-header {
  background: var(--lavender);
  padding: 64px 0 48px;
  text-align: center;
}
.coming-soon-badge {
  display: inline-block;
  background: rgba(220, 180, 240, 0.9);
  color: #3a1a5a;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.workshops-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.workshops-page-desc {
  font-size: 1rem;
  color: #374151;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.75; }

/* ============================================
   WORKSHOPS DATES GRID
   ============================================ */
.workshops-dates {
  padding: 72px 0 96px;
  background: var(--bg);
}
.dates-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
}
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.workshop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.workshop-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.workshop-card .btn { margin-top: auto; }
.workshop-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}
.workshop-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  line-height: 1;
  min-width: 56px;
}
.workshop-date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.workshop-date-day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.workshop-type-badge {
  display: inline-block;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.workshop-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
.workshop-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 14px;
}
.workshop-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
}
.workshop-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--foreground);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
  background: #fff;
  padding: 6px;
}
.footer-brand-text { display: flex; flex-direction: column; gap: 6px; }
.footer-name {
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  font-family: var(--font-display);
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  line-height: 1.6;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.footer-link {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-image { order: -1; }
  .about-image img { height: 240px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .workshop-card { padding: 28px 20px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
}
