/* ==========================================================================
   HOMEPAGE STYLES — The ProcureMentor
   Shared by front-page.php (EN) and front-page-fr.php (FR).
   Edit this file to change any homepage layout or visual styling.
   To edit page *content* (text, headlines, links), use the WordPress
   admin → Pages → Home (or Accueil) → Homepage Content meta box.
   ========================================================================== */


/* ---- HERO ---- */
.home-hero {
  position: relative;
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(43,188,192,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
.home-hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.home-hero-tagline {
  font-size: 1.1rem;
  color: var(--off-white);
  line-height: 1.8;
  margin-top: 24px;
}
.home-hero .hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 35px;
  flex-wrap: wrap;
}

/* ── Hero: profile picture beside headline ── */
.hero-headline-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

/* Profile picture — larger, with teal glow ring */
.hero-profile-img {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 20px;
  border: 2px solid var(--teal);
  object-fit: cover;
  object-position: center top;
  box-shadow:
    0 0 0 5px rgba(43,188,192,.15),
    0 0 30px rgba(43,188,192,.18),
    0 12px 40px rgba(0,0,0,.35);
  transition: box-shadow .4s ease, transform .4s ease;
}
.hero-profile-img:hover {
  box-shadow:
    0 0 0 5px rgba(43,188,192,.25),
    0 0 50px rgba(43,188,192,.25),
    0 16px 50px rgba(0,0,0,.4);
  transform: translateY(-3px);
}

.hero-headline-row h1 {
  margin-bottom: 0;
}

/* Featured article card in hero */
.hero-featured-article {
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all .4s ease;
}
.hero-featured-article:hover {
  transform: translateY(-6px);
  border-color: rgba(43,188,192,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.hero-featured-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.hero-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-featured-article:hover .hero-featured-thumb img {
  transform: scale(1.05);
}
.hero-featured-body {
  padding: 24px;
}
.hero-featured-label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(43,188,192,.1);
  color: var(--teal);
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.hero-featured-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--white);
}
.hero-featured-body h3 a { color: var(--white); transition: color .3s; }
.hero-featured-body h3 a:hover { color: var(--teal); }
.hero-featured-excerpt {
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 14px;
}
.hero-featured-meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--grey);
}
.hero-featured-placeholder { padding: 60px 30px; text-align: center; }
.hero-featured-placeholder .ph-icon { font-size: 3rem; margin-bottom: 16px; }
.hero-featured-placeholder h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.hero-featured-placeholder p { font-size: .9rem; color: var(--grey); }


/* ---- BLOG (Knowledge Hub) ---- */
.blog-home { padding: var(--section-pad); }
.blog-home-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.blog-home-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.blog-home-header p { color: var(--grey); margin-top: 20px; }
.blog-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-home-card {
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all .35s ease;
}
.blog-home-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,188,192,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.blog-home-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.blog-home-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-home-card:hover .blog-home-card-thumb img { transform: scale(1.05); }
.blog-home-card-body { padding: 24px; }
.blog-home-cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(43,188,192,.1);
  color: var(--teal);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-home-card-body h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.blog-home-card-body h3 a { color: var(--white); transition: color .3s; }
.blog-home-card-body h3 a:hover { color: var(--teal); }
.blog-home-card-meta { display: flex; justify-content: space-between; color: var(--grey); font-size: .8rem; }


/* ---- COLLECTIONS ---- */
.collections-section { padding: var(--section-pad); background: var(--navy-light); }
.collections-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.collections-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.collection-card {
  display: block;
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all .35s ease;
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,188,192,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.collection-icon { font-size: 2.5rem; margin-bottom: 16px; }
.collection-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.collection-card p { color: var(--grey); font-size: .9rem; margin-bottom: 12px; }
.collection-card .coll-count { font-weight: 600; font-size: .85rem; }


/* ---- WHY SUSTAINABLE PROCUREMENT ---- */
.why-section { padding: var(--section-pad); position: relative; }
.why-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.why-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.1);
  border-radius: 20px;
  transition: all .4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,188,192,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.feature-icon { font-size: 3rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { color: var(--grey); line-height: 1.7; }


/* ---- SERVICES (How I Can Help) ---- */
.services-home {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
}
.services-home-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.services-home-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.services-home-header p { color: var(--grey); margin-top: 20px; }
.services-home-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.service-link-card {
  display: block;
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.1);
  border-radius: 20px;
  padding: 40px;
  transition: all .35s ease;
}
.service-link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,188,192,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.service-link-card .svc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-link-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-link-card p { color: var(--grey); margin-bottom: 16px; line-height: 1.7; }
.service-link-card .svc-more { font-weight: 600; font-size: .9rem; }


/* ---- STATS ---- */
.stats-section { padding: var(--section-pad); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-box-num { font-size: 3.5rem; font-weight: 900; line-height: 1; }
.stat-box-label { color: var(--grey); margin-top: 8px; }


/* ---- ABOUT ---- */
.about-home { padding: var(--section-pad); }
.about-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── Photo wrapper: adds decorative teal accent ── */
.about-photo-wrapper {
  position: relative;
  display: inline-block;
  max-width: 460px;
}
.about-photo-wrapper img {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(43,188,192,.25);
  box-shadow:
    0 0 0 6px rgba(43,188,192,.08),
    0 20px 60px rgba(0,0,0,.4);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3/4;
}
/* Teal accent line on left edge */
.about-photo-wrapper::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 30px;
  bottom: 30px;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--lime));
  border-radius: 2px;
  opacity: .7;
}
/* Floating experience badge */
.about-experience-badge {
  position: absolute;
  bottom: 24px;
  right: -18px;
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.3);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.about-experience-badge .badge-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.about-experience-badge .badge-label {
  display: block;
  font-size: .72rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
/* Placeholder (no image) */
.about-home-image-placeholder {
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.15);
  border-radius: 20px;
  aspect-ratio: 3/4;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-home-content h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.about-home-content .about-lead { color: var(--off-white); font-size: 1.1rem; line-height: 1.8; margin: 24px 0; }
.about-home-content .about-desc { color: var(--grey); line-height: 1.8; margin-bottom: 24px; }
.about-checklist { list-style: none; margin-bottom: 30px; padding: 0; }
.about-checklist li { margin-bottom: 12px; color: var(--off-white); font-size: .95rem; }
.about-checklist li::before { content: '✓'; color: var(--teal); font-weight: 700; margin-right: 10px; }


/* ---- TESTIMONIALS ---- */
.testimonials-home {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}
.testimonials-home-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.testimonials-home-header h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 16px; }
.testimonials-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testi-home-card {
  background: var(--navy-card);
  border: 1px solid rgba(43,188,192,.1);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all .35s ease;
}
.testi-home-card:hover {
  border-color: rgba(212,168,67,.25);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}
.testi-home-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 12px; }
.testi-home-quote { font-style: italic; color: var(--off-white); line-height: 1.8; margin-bottom: 20px; font-size: .92rem; }
.testi-home-author { font-weight: 700; color: var(--teal); }
.testi-home-role { font-size: .85rem; color: var(--grey); margin-top: 4px; }


/* ---- CTA ---- */
.cta-home { padding: 100px 0; position: relative; overflow: hidden; }
.cta-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(43,188,192,.06) 0%, transparent 60%);
}
.cta-home-inner { text-align: center; max-width: 650px; margin: 0 auto; position: relative; z-index: 1; }
.cta-home-inner h2 { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.25; margin-bottom: 18px; }
.cta-home-inner p { font-size: 1.05rem; color: var(--grey); margin-bottom: 40px; line-height: 1.8; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .home-hero h1 { font-size: 2.6rem; }
  .home-hero .hero-ctas { justify-content: center; }
  .hero-headline-row { justify-content: center; }
  .hero-profile-img { width: 140px; height: 140px; }
  .hero-featured-article { max-width: 500px; margin: 40px auto 0; }
  .features-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .services-home-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-home-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .collections-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .about-home-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo-wrapper { margin: 0 auto; }
  .about-photo-wrapper::before { display: none; }
  .about-experience-badge { right: 12px; bottom: 12px; }
  .about-home-image-placeholder { margin: 0 auto; }
  .about-checklist { display: inline-block; text-align: left; }
  .testimonials-home-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .home-hero h1 { font-size: 2rem; }
  .hero-headline-row { flex-direction: column; align-items: center; gap: 16px; }
  .hero-profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-position: center top;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-experience-badge { display: none; }
}
