/*
 * sections.css
 * ─────────────────────────────────────────────────────
 * Styles for every section of the page, top to bottom.
 * Each section is clearly labelled — jump to the one you need.
 *
 * Sections:
 *   NAV · HERO · LOGOS · COACHING · ABOUT
 *   PROJECTS · WORKSHOPS · TESTIMONIALS · CONTACT · FOOTER
 */

/* ══════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 64px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a:not(.btn) {
  color: var(--text); text-decoration: none; font-size: 15px;
  font-weight: 500; opacity: 0.6; transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-links a:not(.btn):hover { opacity: 1; }

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 0;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 12px; padding: 6px;
  min-width: 148px; list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
}
.nav-item-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 14px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none;
  opacity: 0.7; white-space: nowrap;
  transition: background 0.15s, opacity 0.15s;
}
.nav-dropdown a:hover { background: var(--yellow-light); opacity: 1; }

/* Hamburger */
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none;
  border: none; z-index: 101;
}
.nav-mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
#hero {
  padding-top: 72px; min-height: 100vh;
  padding-left: clamp(24px, 6vw, 80px);
  padding-right: clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(300px, 520px) clamp(260px, 38vw, 480px);
  column-gap: 56px;
  justify-content: center;
  align-items: stretch;
}

.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 0;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--text);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 40px;
  margin-bottom: 36px; width: fit-content;
}
.hero-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--text); border-radius: 50%; flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 500; margin-bottom: 28px;
  color: var(--text); letter-spacing: -0.03em;
}
.hero-headline em { font-style: italic; color: var(--forest); }

.hero-sub {
  font-size: 20px; color: #4A4A4A;
  max-width: 460px; margin-bottom: 44px; line-height: 1.75;
}

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Hero image (right column) */
.hero-image {
  display: flex; align-items: center;
  padding: 80px 0 108px;
  background: var(--cream);
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
}

.hero-photo {
  width: 100%; display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 55%;
  aspect-ratio: 4 / 5;
  position: relative; z-index: 1;
}

.hero-photo-accent {
  position: absolute;
  bottom: -28px; left: -28px;
  width: 110px; height: 110px;
  background: var(--yellow);
  border-radius: 16px;
  z-index: 0;
}


/* ══════════════════════════════════════════════════════
   CLIENT LOGOS
   ══════════════════════════════════════════════════════ */
#logos {
  background: var(--white);
  padding: 48px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px;
}
.logos-grid {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 28px 52px;
}
.logos-grid img {
  height: 36px; width: auto; max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.6);
  opacity: 0.55; transition: all 0.25s;
}
.logos-grid img:hover { filter: none; opacity: 1; }


/* ══════════════════════════════════════════════════════
   COACHING
   ══════════════════════════════════════════════════════ */
#coaching { background: var(--forest); color: var(--white); }
#coaching .section-label { color: var(--yellow); }
#coaching .section-title { color: var(--white); }

.coaching-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 64px; align-items: start;
}

/* Left column — copy */
.coaching-intro {
  font-size: 21px; line-height: 1.75;
  color: rgba(255,255,255,0.9); margin-bottom: 20px;
}
.coaching-body {
  font-size: 16px; color: rgba(255,255,255,0.65);
  line-height: 1.85; margin-bottom: 16px;
}
.coaching-note {
  font-size: 14px; font-style: italic;
  color: rgba(255,255,255,0.45); margin-bottom: 40px;
}

/* Right column — formats */
.work-formats {
  display: flex; flex-direction: column;
  gap: 0; margin-bottom: 40px;
}
.work-format {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 16px; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.work-format:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.work-format-label {
  font-family: 'Fraunces', serif; font-size: 17px; font-weight: 500;
  color: var(--yellow); line-height: 1.4;
}
.work-format p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.65; margin: 0;
}
.format-link {
  color: var(--yellow); text-decoration: none; font-weight: 600;
  font-size: 13px; white-space: nowrap;
}
.format-link:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  padding: 100px 80px; background: var(--cream);
}

/* Photo — top-aligned with the text column */
.about-image {
  aspect-ratio: 3/4; border-radius: 24px; overflow: hidden;
  background: var(--cream-dark); position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--forest); color: var(--white);
  border-radius: 14px; padding: 14px 22px;
}
.about-badge strong {
  display: block; font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 500; line-height: 1;
}
.about-badge span { font-size: 13px; opacity: 0.65; }

/* Text — sits beside float, spills naturally under the photo */
.about-content p { color: #4A4A4A; margin-bottom: 20px; line-height: 1.85; }
.about-content p:first-of-type { font-size: 21px; color: var(--text); line-height: 1.7; }

.thingifyer-card {
  background: var(--yellow); border-radius: 18px;
  padding: 28px 32px; margin: 32px 0;
}
.thingifyer-card strong {
  display: block; font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 500; margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.thingifyer-card p { font-size: 16px; color: #3A3A3A; line-height: 1.65; margin: 0; }


/* ══════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════ */
#projects { background: var(--white); padding: 100px 80px; }

.projects-header {
  margin-bottom: 56px;
}

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.project-card {
  border-radius: 20px; overflow: hidden; text-decoration: none;
  color: inherit; display: block; background: var(--cream);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.project-card.featured { grid-column: span 2; }

/* Thumbnail area */
.project-thumb {
  height: 220px; overflow: hidden; position: relative;
}
.project-card.featured .project-thumb { height: 300px; }

.project-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.04); }

/* Product images (transparent bg) — centre rather than crop */
.project-thumb.product {
  display: flex; align-items: center; justify-content: center; padding: 28px;
}
.project-thumb.product img {
  object-fit: contain; width: auto; max-width: 100%;
  height: 100%; transform: none;
}
.project-card:hover .project-thumb.product img { transform: scale(1.04); }

.project-card:nth-child(1) .project-thumb { background: #D8EFE2; }
.project-card:nth-child(2) .project-thumb { background: #FDECD8; }
.project-card:nth-child(3) .project-thumb { background: #E8D8F0; }
.project-card:nth-child(4) .project-thumb { background: #D8EAF5; }
.project-card:nth-child(5) .project-thumb { background: #F5EDD8; }

.project-body { padding: 24px 28px 28px; }
.project-tag  {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.project-body h3 {
  font-size: 22px; font-weight: 500; margin-bottom: 10px;
  font-family: 'Fraunces', serif; letter-spacing: -0.01em;
}
.project-body p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.project-link  {
  font-size: 14px; font-weight: 600; color: var(--forest);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.project-link:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════
   PAGE HEADER (workshops.html and future inner pages)
   ══════════════════════════════════════════════════════ */
.page-header {
  padding-top: calc(72px + 80px); /* nav height + breathing room */
  background: var(--forest);
}
.page-header .section-label { color: var(--yellow); }
.page-header .section-title { color: var(--white); }
.page-header .section-title em { color: var(--yellow) !important; }
.page-header-sub {
  font-size: 19px; color: rgba(255,255,255,0.75);
  max-width: 520px; margin-top: 20px; line-height: 1.75;
}


/* ══════════════════════════════════════════════════════
   WORKSHOPS
   ══════════════════════════════════════════════════════ */
#workshops { background: var(--yellow-light); padding: 100px 80px; }

.workshops-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 52px;
}
.workshop-card { background: var(--white); border-radius: 18px; padding: 32px 36px; }
.workshop-icon { font-size: 32px; margin-bottom: 18px; }
.workshop-card h3 {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; margin-bottom: 12px;
}
.workshop-card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Ubuntu MOOC card */
.ubuntu-card {
  background: var(--white); border-radius: 18px;
  padding: 32px 36px; margin-top: 20px;
  display: flex; align-items: flex-start; gap: 28px;
}
.ubuntu-icon { font-size: 44px; flex-shrink: 0; line-height: 1; }
.ubuntu-card .collab-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.ubuntu-card h3 {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; margin-bottom: 10px;
}
.ubuntu-card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Speaking callout */
.speaking-bar {
  margin-top: 40px; background: var(--forest); color: var(--white);
  border-radius: 20px; padding: 48px 52px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.speaking-bar h3 {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 500; margin-bottom: 10px;
}
.speaking-bar p { color: rgba(255,255,255,0.7); font-size: 16px; }


/* ══════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
#testimonials { background: var(--cream); padding: 100px 80px; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.testimonial-card { background: var(--white); border-radius: 20px; padding: 36px; }
.t-quote {
  font-family: 'Fraunces', serif; font-size: 52px;
  color: var(--yellow); line-height: 1; margin-bottom: 16px;
}
.testimonial-card p { font-size: 16px; line-height: 1.75; color: #3A3A3A; margin-bottom: 28px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow-light); flex-shrink: 0;
}
.t-author strong { display: block; font-size: 14px; font-weight: 600; }
.t-author span   { font-size: 13px; color: var(--muted); }


/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
#contact {
  background: var(--forest); color: var(--white);
  padding: 120px 80px; text-align: center;
}
#contact .section-label { color: var(--yellow); }

.contact-headline {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 500;
  color: var(--white); margin-bottom: 24px;
  max-width: 680px; margin-left: auto; margin-right: auto;
  letter-spacing: -0.02em;
}
.contact-sub {
  font-size: 18px; color: rgba(255,255,255,0.7);
  max-width: 500px; margin: 0 auto 52px; line-height: 1.75;
}
.contact-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }


/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
footer {
  background: var(--forest-deep); color: rgba(255,255,255,0.55);
  padding: 40px 80px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo  { font-family: 'Fraunces', serif; font-size: 18px; color: var(--white); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a,
.footer-social a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover,
.footer-social a:hover { color: var(--white); }
.footer-social { display: flex; gap: 20px; }
