﻿/* ===================================
   Boss Mom Wellness - Main Styles
   Premium Fitness & Lifestyle Coaching
   =================================== */

/* ===================================
   CSS Custom Properties (Design Tokens)
   =================================== */
:root {
  /* Brand Colors */
  --color-gold: #b89f62;
  --color-warm-beige: #c9b98f;
  --color-olive: #88856a;
  --color-muted-blue: #6b8e99;
  --color-charcoal: #474747;
  --color-soft-blush: #ffd3cf;
  --color-white: #ffffff;

  /* Semantic Colors */
  --color-primary: var(--color-gold);
  --color-secondary: var(--color-muted-blue);
  --color-text: var(--color-charcoal);
  --color-text-light: #6a6a6a;
  --color-background: var(--color-white);
  --color-background-alt: var(--color-warm-beige);
  --color-accent: var(--color-soft-blush);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.125vw, 2.625rem);
  --text-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3.25rem);
  --text-5xl: clamp(2.75rem, 2.3rem + 2.25vw, 4.25rem);

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  /* Container & Spacing */
  --container-padding: clamp(1rem, 5vw, 2rem);
  --section-padding: clamp(3rem, 10vw, 6rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 400ms ease-in-out;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 1000;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-secondary);
}

strong {
  font-weight: 600;
}

/* ===================================
   Layout Components
   =================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--lg {
  padding: var(--space-4xl) 0;
}

/* Background Variations */
.bg-white {
  background-color: var(--color-white);
}

.bg-beige {
  background-color: var(--color-warm-beige);
}

.bg-olive {
  background-color: var(--color-olive);
  color: var(--color-white);
}

/* Override for elements NOT inside cards/testimonials to prevent white-on-white */
.bg-olive h1:not(.card *),
.bg-olive h2:not(.card *),
.bg-olive h3:not(.card *),
.bg-olive h4:not(.card *),
.bg-olive h5:not(.card *),
.bg-olive h6:not(.card *) {
  color: var(--color-white);
}

.bg-blush {
  background-color: var(--color-soft-blush);
}

.bg-muted-blue {
  background-color: var(--color-muted-blue);
  color: var(--color-white);
}

/* Override for elements NOT inside cards/testimonials to prevent white-on-white */
.bg-muted-blue h1:not(.card *),
.bg-muted-blue h2:not(.card *),
.bg-muted-blue h3:not(.card *),
.bg-muted-blue h4:not(.card *),
.bg-muted-blue h5:not(.card *),
.bg-muted-blue h6:not(.card *) {
  color: var(--color-white);
}

/* ===================================
   Grid System
   =================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--contact {
    grid-template-columns: 1fr 1fr;
  }

  .grid--alternate>*:nth-child(even) {
    order: 2;
  }

  .grid--alternate>*:nth-child(odd) {
    order: 1;
  }
}

@media (min-width: 768px) {
  .grid--alternate>*:nth-child(even) {
    order: 1;
  }

  .grid--alternate>*:nth-child(odd) {
    order: 2;
  }
}

/* ===================================
   Masonry Grid (for Testimonials)
   =================================== */
.masonry-grid {
  column-count: 1;
  column-gap: var(--space-lg);
}

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
}

/* Card Color Variants - Increased specificity to override base .card and .testimonial */
.testimonial.card--blush,
.card.card--blush {
  background-color: var(--color-soft-blush);
  color: var(--color-charcoal);
}

.testimonial.card--beige,
.card.card--beige {
  background-color: var(--color-warm-beige);
  color: var(--color-charcoal);
  /* Darker beige for contrast */
}

.testimonial.card--blue,
.card.card--blue {
  background-color: var(--color-muted-blue);
  color: var(--color-white);
}

.testimonial.card--blue .testimonial__quote,
.testimonial.card--blue .testimonial__author,
.testimonial.card--blue .testimonial__role,
.card.card--blue .testimonial__quote,
.card.card--blue .testimonial__author,
.card.card--blue .testimonial__role,
.card.card--blue .card__description {
  color: var(--color-white);
}

.testimonial.card--outline-gold,
.card.card--outline-gold {
  border: 2px solid var(--color-gold);
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.testimonial.card--outline-gold .testimonial__quote,
.card.card--outline-gold .testimonial__quote {
  color: var(--color-charcoal);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background-color: #a68d52;
  border-color: #a68d52;
  color: var(--color-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.btn--secondary {
  background-color: var(--color-muted-blue);
  color: var(--color-white);
  border-color: var(--color-muted-blue);
}

.btn--secondary:hover {
  background-color: #5a7a85;
  border-color: #5a7a85;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.btn--large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

.btn--block {
  display: block;
  width: 100%;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--container-padding);
  gap: var(--space-md);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  /* Prevent shrinking/distortion */
}

.header__logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  /* Ensure aspect ratio is preserved */
}

.header__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  z-index: var(--z-modal);
  transition: all var(--transition-slow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header__nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  list-style: none;
  text-align: center;
}

.header__nav-link {
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  transition: color var(--transition-base);
}

.header__nav-link:hover {
  color: var(--color-gold);
}

.header__cta {
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  position: relative;
  z-index: 1001;
  /* Ensure above mobile menu overlay */
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-charcoal);
  margin: 5px 0;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Staggered Animation */
@media (max-width: 767px) {
  .header__nav-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .header__nav.active .header__nav-list li {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav.active .header__nav-list li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .header__nav.active .header__nav-list li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .header__nav.active .header__nav-list li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .header__nav.active .header__nav-list li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .header__nav.active .header__nav-list li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .header__nav.active .header__nav-list li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .header__nav.active .header__nav-list li:nth-child(7) {
    transition-delay: 0.4s;
  }

  .header__nav.active .header__nav-list li:nth-child(8) {
    transition-delay: 0.45s;
  }

  .header__nav.active .header__nav-list li:nth-child(9) {
    transition-delay: 0.5s;
  }
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
    position: static;
    height: auto;
    width: auto;
    padding: 0;
    background: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    overflow: visible;
    /* Fix: remove accidental scrollbar from mobile styles */
  }

  .header__nav-list {
    flex-direction: row;
    text-align: left;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    /* Reduced gap to fit items on smaller desktops */
  }

  .header__nav-link {
    font-size: clamp(0.875rem, 1vw, 1rem);
    /* Slightly smaller font size on narrow desktops */
    white-space: nowrap;
    /* Prevent wrapping even if container shrinks */
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-cta-item {
    display: none;
  }

  .header__container {
    padding: var(--space-md) var(--container-padding);
  }
}

@media (max-width: 480px) {
  .header__cta {
    display: none;
    /* Hide CTA button on very small screens to avoid overlap */
  }

  /* Show CTA in mobile menu instead */
  .header__nav.active::after {
    content: '';
    display: block;
    margin-top: var(--space-xl);
  }
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-warm-beige) 0%, var(--color-white) 100%);
  overflow: hidden;
}

.hero__container {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  z-index: var(--z-base);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.hero__secondary-link {
  font-size: var(--text-base);
  color: var(--color-text-light);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.hero__secondary-link:hover {
  color: var(--color-gold);
}

.hero__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* ===================================
   Cards
   =================================== */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
  color: var(--color-text);
  /* Ensure visible text regardless of parent */
}

.card--typeform {
  padding: var(--space-sm);
}

@media (min-width: 768px) {
  .card--typeform {
    padding: var(--space-lg) var(--space-sm) var(--space-sm);
  }
}

/* CTA Card for Linked Form */
.card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl);
}

.card--cta .card__logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.card--cta .btn {
  margin-top: var(--space-md);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-gold) !important;
  /* Force brand color */
}

.card__description {
  margin-bottom: var(--space-lg);
}

.card__cta {
  margin-top: auto;
}

/* ===================================
   Testimonials
   =================================== */
.testimonial {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-gold);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-charcoal);
}

.testimonial__quote {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* ===================================
   Forms
   =================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-charcoal);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__container {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__section-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.footer__nav-list {
  list-style: none;
}

.footer__nav-item {
  margin-bottom: var(--space-sm);
}

.footer__nav-link {
  color: var(--color-white);
  transition: color var(--transition-base);
}

.footer__nav-link:hover {
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  color: var(--color-white);
  font-size: var(--text-xl);
  transition: color var(--transition-base);
}

.footer__social-link:hover {
  color: var(--color-gold);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
  text-align: center;
  width: 100%;
  display: block;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp var(--transition-slow) ease-out;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* ===================================
   Responsive Images
   =================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded {
  border-radius: var(--radius-lg);
}

.img-portrait-balance {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: top center;
}

/* Editorial Transformation Composite */
.editorial-composite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.editorial-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  /* Force a consistent vertical aspect ratio */
  object-fit: cover;
  /* Ensure it fills the frame without distortion */
  display: block;
  border-radius: var(--radius-sm);
}

@media (max-width: 480px) {
  .editorial-composite {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: var(--space-xs);
  }
}

/* ===================================
   Accessibility
   =================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===================================
   Background Image Sections
   =================================== */
.bg-image-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--color-white);
}

.bg-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  z-index: 1;
}

.bg-image-section>.container,
.bg-image-section>.hero__container {
  position: relative;
  z-index: 2;
}

.bg-img-beige {
  background-image: url('../assets/images/bg-hero-beige.png');
}

.bg-img-blush {
  background-image: url('../assets/images/bg-hero-blush.png');
}

.bg-img-olive {
  background-image: url('../assets/images/bg-hero-olive.png');
}

.bg-img-guides {
  background-image: url('../assets/images/bg-hero-guides.png');
  background-position: center;
}

.bg-img-guides::before {
  background: rgba(0, 0, 0, 0.4);
  /* Standard overlay darkness for white text legibility */
}

.bg-img-stories {
  background-image: url('../assets/images/bg-stories-hero.png');
}

.bg-img-contact {
  background-image: url('../assets/images/bg-hero-contact.png');
}

/* Creative Studio Blends */
.bg-img-programs-studio {
  background-image: url('../assets/images/bg-hero-programs-studio.jpg');
  background-color: var(--color-olive);
  /* Blend gray studio bg with olive */
  background-blend-mode: multiply;
  /* Creative tint effect */
  background-position: center top 20%;
}

.bg-img-programs-new {
  background-image: url('../assets/images/bg-hero-programs-new.png');
  background-position: center;
}

.bg-img-services-hero {
  background-image: url('../assets/images/bg-services-hero-clean.png');
  background-position: center 85%;
  /* Focus on the lower part/action */
  background-size: 135%;
  /* Zoom in enough to hide the top */
}

/* Recommends Lifestyle Hero */
.bg-img-recommends-lifestyle {
  background-image: url('../assets/images/recommends-hero-lifestyle.jpg');
  background-color: var(--color-warm-beige);
  /* Blend with brand beige */
  background-blend-mode: multiply;
  background-position: center;
}

/* Ensure text readable on dark overlay */
.bg-image-section .hero__subtitle,
.bg-image-section .hero__title,
.bg-image-section .hero__description,
.bg-image-section h1,
.bg-image-section p {
  color: var(--color-white);
}

.bg-image-section .hero__secondary-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.bg-image-section .hero__secondary-link:hover {
  color: var(--color-gold);
}


/* ===================================
   Corporate Partnership Page Styles
   =================================== */

.bg-img-corporate {
  background-image: url('../assets/images/bg-hero-corporate.png');
  background-position: center;
}

.bg-img-corporate::before {
  background: rgba(0, 0, 0, 0.25);
  /* Lighter overlay for corporate */
}

.leadership-header {
  margin-bottom: var(--space-xl);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: var(--space-md);
}

.leadership-header h2 {
  margin-bottom: var(--space-sm);
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================================
   Mobile Navigation CTA
   =================================== */
.mobile-cta-item {
  display: none;
  margin-top: var(--space-md);
  width: 100%;
}

@media (max-width: 767px) {
  .mobile-cta-item {
    display: block;
  }
}

/* ===================================
   Responsive Refinements
   =================================== */
@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .grid {
    gap: var(--space-md);
  }

  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__description {
    font-size: var(--text-base);
  }

  .card {
    padding: var(--space-lg);
  }

  .testimonial {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .header__logo-img {
    height: 40px;
  }

  .btn--large {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-base);
  }

  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
}

/* Form Message Styles */
#form-message {
  display: none;
  padding: var(--space-md);
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

#form-message.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid #2e7d32;
  display: block;
}

#form-message.error {
  background-color: rgba(211, 47, 47, 0.1);
  color: #c62828;
  border: 1px solid #c62828;
  display: block;
}


.image-lighten {
  filter: brightness(1.2) contrast(0.9);
}


.hero--align-top {
  align-items: flex-start !important;
  padding-top: clamp(4rem, 15vh, 10rem);
}

.img-balanced-list {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}