/* ============================================
   CRAFT HUB TORONTO — STYLESHEET
   Matching crafthubtoronto.ca
   ============================================ */ 

:root { 
  --bg: #faf7fb;           /* very light pinkish white */
  --primary: #2a5c35;      /* forest green */
  --primary-dark: #1e4228;
  --primary-fg: #ffffff;
  --lavender: #e8d5f0;     /* features section bg */
  --lavender-icon: #d5c0e8;
  --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); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh; /* or desired height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Now this works! */
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}   
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(220, 180, 240, 0.85);
  color: #3a1a5a;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-subheadline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   FEATURES (lavender bar)
   ============================================ */
.features {
  background: var(--lavender);
  padding: 56px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.feature-item { padding: 8px 16px; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--primary);
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

/* ============================================
   WORKSHOPS
   ============================================ */
.workshops {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.workshops-bg { position: absolute; inset: 0; z-index: 0; }
.workshops-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.workshops-overlay {
  position: absolute; inset: 0;
  background: rgba(240, 230, 245, 0.72);
}
.workshops-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.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;
}
.workshops-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.workshops-desc {
  font-size: 1rem;
  color: #374151;
  max-width: 560px;
  line-height: 1.7;
}
.workshop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  margin-top: 8px;
}
.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;
  margin-bottom: 16px;
}
.workshop-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 12px;
}
.workshop-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.workshop-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}
.workshop-cta-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.workshop-date-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(42, 92, 53, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.view-dates-link {
  margin-top: 20px;
}

/* ============================================
   WORKSHOPS GRID (side-by-side cards)
   ============================================ */
.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-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}

/* Workshops page header */
.workshops-page-header {
  background: var(--lavender);
  padding: 64px 0 48px;
  text-align: center;
}
.workshops-page-header .coming-soon-badge { 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;
}
.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 section */
.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;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 80px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}
.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.4s;
}
.about-image:hover img { transform: scale(1.04); }
.about-text { max-width: 520px; }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 22px;
}
.about-text p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ============================================
   DEMO / PROJECT SLIDESHOW
   ============================================ */
.demo {
  padding: 88px 0;
  background: var(--bg);
  text-align: center;
}
.demo-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 12px;
}
.demo-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.slideshow {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,0.15);
}
.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease;
}
.slideshow-slide.active { opacity: 1; }
.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slideshow-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slideshow-arrow:hover { transform: translateY(-50%) scale(1.08); }
.slideshow-prev { left: 14px; }
.slideshow-next { right: 14px; }

/* ============================================
   DISCOUNT BAR
   ============================================ */
.discount-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 11px 0;
  font-size: 14px;
}
.discount-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.discount-text strong { color: #ffe08a; }
.discount-cta {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  transition: opacity 0.15s, transform 0.15s;
}
.discount-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ============================================
   WORKSHOP CARD IMAGE
   ============================================ */
.workshop-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 88px 0;
  background: var(--bg);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 26px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f5a623;
}
.testimonial-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
}
.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.reviews {
  padding: 80px 0;
  background: var(--lavender);
  text-align: center;
}
.reviews-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.reviews-stars {
  display: flex;
  gap: 6px;
  color: #f5a623;
}
.reviews-rating {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}
.reviews-count {
  font-size: 15px;
  color: #4b5563;
  font-weight: 500;
}
.reviews-text {
  font-size: 1.05rem;
  color: #374151;
  max-width: 480px;
  line-height: 1.7;
}
.reviews-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--foreground);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.reviews-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,0.12); }


/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}
.newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.newsletter-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  width: 100%;
}
.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: none;
  border-radius: 6px;
  outline: none;
}
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

/* ============================================
   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);
  text-align: left;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  line-height: 1.6;
  text-align: left;
}
.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; }
}
