/* ========= 1. TRANSPARENT HEADER ON HOMEPAGE ========= */
body.home .site-header {
  background: transparent !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ========= 2. HERO PADDING FIX ========= */
body.home .wp-block-kadence-rowlayout:first-of-type,
body.home .entry-content > section:first-of-type {
  padding-top: 120px;
}

/* ========= 3. STICKY HEADER STYLING ========= */
body.stuck .site-header {
  background: #F8F6F3 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* ========= 4. NAVIGATION MENU STYLE (DESKTOP) ========= */
.site-header .menu-item a {
  position: relative;
  display: inline-block;
  font-family: 'Merriweather', serif !important;
  font-size: 16px;
  font-weight: 500;
  color: #4A4F54;
  padding: 15px 20px;
  transition: color 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

/* Shimmer Hover Effect */
.site-header .menu-item a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: -1;
  transition: left 0.4s ease;
}

.site-header .menu-item a:hover {
  color: #8EAECE;
}

.site-header .menu-item a:hover::before {
  left: 100%;
}

/* ========= 5. MOBILE MENU STYLING ========= */
@media (max-width: 1024px) {
  .site-header {
    background: #F8F6F3 !important;
  }

  .site-header .menu-toggle {
    color: #4A4F54;
  }

  .site-header .mobile-menu-container {
    background: #FFFFFF;
  }

  .site-header .mobile-menu-container a {
    font-family: 'Merriweather', serif !important;
    font-weight: 500;
    color: #4A4F54;
    font-size: 16px;
  }

  .site-header .mobile-menu-container a:hover {
    color: #8EAECE;
  }
}

/* ========= 6. HOMEPAGE-SPECIFIC SECTION STYLES ========= */

/* HERO SECTION */
body.home .kb-row-layout.hero-row {
  background: #F8F6F3;
  text-align: center;
  padding: 120px 20px 80px;
}

body.home .hero-row h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #4A4F54;
  margin-bottom: 20px;
}

body.home .hero-row p {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #4A4F54;
  max-width: 700px;
  margin: 0 auto;
}

body.home .hero-row .wp-block-button__link {
  background-color: #8EAECE;
  color: white;
  font-family: 'Poppins', sans-serif;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  margin: 10px;
}

body.home .hero-row .wp-block-button__link:hover {
  background-color: #495338;
  color: #ffffff;
}

/* WELCOME / ABOUT SECTION */
body.home .kb-row-layout.about-section {
  padding: 80px 20px;
  background: #FFFFFF;
  text-align: center;
}

body.home .about-section p {
  font-family: 'Poppins', sans-serif;
  color: #4A4F54;
  font-size: 18px;
  max-width: 700px;
  margin: 20px auto;
}

body.home .about-section .wp-block-button__link {
  color: #8EAECE;
  font-family: 'Poppins', sans-serif;
  text-decoration: underline;
}

/* FEATURED SECTIONS GRID */
body.home .kb-row-layout.featured-sections {
  background: #F8F6F3;
  padding: 80px 20px;
}

body.home .featured-sections h2 {
  font-family: 'Playfair Display', serif;
  color: #4A4F54;
  text-align: center;
  margin-bottom: 40px;
}

body.home .featured-sections .wp-block-kadence-column {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

body.home .featured-sections h3 {
  font-family: 'Merriweather', serif;
  color: #4A4F54;
  margin-bottom: 10px;
}

body.home .featured-sections p {
  font-family: 'Poppins', sans-serif;
  color: #4A4F54;
}

/* FREEBIE TOOLKIT BLOCK */
body.home .kb-row-layout.freebie-block {
  background: #D9E6F2;
  padding: 80px 20px;
  text-align: center;
}

body.home .freebie-block h2 {
  font-family: 'Playfair Display', serif;
  color: #495338;
  margin-bottom: 20px;
}

body.home .freebie-block p {
  font-family: 'Poppins', sans-serif;
  color: #4A4F54;
  max-width: 700px;
  margin: 0 auto 30px;
}

body.home .freebie-block .wp-block-button__link {
  background-color: #F4D7DA;
  color: #4A4F54;
  font-weight: 500;
}

/* BLOG PREVIEW SECTION */
body.home .kb-row-layout.blog-preview {
  padding: 80px 20px;
  background: #FFFFFF;
}

body.home .blog-preview h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  color: #4A4F54;
  margin-bottom: 40px;
}

body.home .blog-preview .wp-block-post-title {
  font-family: 'Merriweather', serif;
  color: #4A4F54;
}

/* FOOTER CTA BANNER */
body.home .kb-row-layout.footer-cta-banner {
  background: #8EAECE;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

body.home .footer-cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 20px;
}

body.home .footer-cta-banner .wp-block-button__link {
  background: #F4D7DA;
  color: #4A4F54;
  font-family: 'Poppins', sans-serif;
  padding: 12px 24px;
  border-radius: 5px;
}
