/* ========================================== */
/* LANDING PAGE - Features & Interactive CSS  */
/* ========================================== */
/* Contains: Practitioners scroll, wellness   */
/* categories, interactive elements           */
/* ========================================== */

/* ========================================== */
/* PRACTITIONERS SCROLL SECTION                */
/* ========================================== */

.practitioners-scroll {
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8f6f2 0%, #f5f3ef 50%, #f8f6f2 100%);
  position: relative;
  overflow: visible;
}

.practitioners-scroll::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 196, 124, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(212, 196, 124, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.practitioners-scroll__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.practitioners-scroll__header {
  text-align: center;
  margin-bottom: 3rem;
}

.practitioners-scroll__title {
  font-family: var(--font-inter);
  font-size: 2rem;
  font-weight: 700;
  color: #f8f5e2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.practitioners-scroll__subtitle {
  font-family: var(--font-lora);
  font-size: 1rem;
  color: #d4c47c;
  opacity: 0.9;
}

/* Scroll Container */
.practitioners-scroll-container {
  overflow: visible;
  width: 100%;
  position: relative;
  padding: 2rem 0;
}

.practitioners-track {
  display: flex;
  gap: 2rem;
  animation: scrollPractitioners 60s linear infinite;
  width: max-content;
  align-items: center;
}

.practitioner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 196, 124, 0.08);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1.5px solid rgba(212, 196, 124, 0.25);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  min-width: 160px;
  height: 70px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(212, 196, 124, 0.15);
  position: relative;
  cursor: default;
  backdrop-filter: blur(6px);
}

.practitioner-badge {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d2416;
  z-index: 10;
  position: relative;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.practitioner-tooltip {
  position: absolute;
  bottom: auto;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f5e2;
  color: #2d2416;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font-lora);
  font-size: 0.85rem;
  line-height: 1.6;
  width: 180px;
  text-align: center;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(212, 196, 124, 0.3);
  font-weight: 500;
}

.practitioner-tooltip::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #f8f5e2;
}

.practitioner-logo:hover {
  background: #d4c47c;
  border-color: #f8f5e2;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 16px 40px rgba(212, 196, 124, 0.35),
              0 0 20px rgba(212, 196, 124, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.practitioner-logo:hover .practitioner-badge {
  color: #2d2416;
  font-weight: 700;
}

.practitioner-logo:hover .practitioners-track {
  animation-play-state: paused;
}

.practitioner-logo.active .practitioner-tooltip,
.practitioner-logo:hover .practitioner-tooltip {
  opacity: 1;
  visibility: visible;
  top: -100px;
}

@keyframes scrollPractitioners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.practitioners-scroll-container:hover .practitioners-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .practitioners-scroll {
    padding: 3rem 1rem;
  }

  .practitioners-scroll__header {
    margin-bottom: 1.5rem;
  }

  .practitioners-scroll__title {
    font-size: 1.6rem;
  }

  .practitioners-scroll-container {
    padding: 1rem 0;
  }

  .practitioners-track {
    gap: 1rem;
  }

  .practitioner-logo {
    min-width: 120px;
    height: 55px;
    padding: 0.75rem;
  }

  .practitioner-badge {
    font-size: 0.8rem;
  }

  .practitioner-tooltip {
    width: 150px;
    font-size: 0.85rem;
    padding: 0.9rem;
  }
}

@media (max-width: 480px) {
  .practitioners-scroll {
    padding: 2.5rem 1rem;
  }

  .practitioners-scroll__title {
    font-size: 1.4rem;
  }

  .practitioners-scroll__subtitle {
    font-size: 0.85rem;
  }

  .practitioners-scroll-container {
    padding: 0.75rem 0;
  }

  .practitioners-track {
    gap: 0.75rem;
  }

  .practitioner-logo {
    min-width: 100px;
    height: 50px;
    padding: 0.5rem;
  }

  .practitioner-badge {
    font-size: 0.75rem;
  }

  .practitioner-tooltip {
    width: 130px;
    font-size: 0.8rem;
    padding: 0.75rem;
    bottom: -75px;
  }

  .practitioner-logo.active .practitioner-tooltip,
  .practitioner-logo:hover .practitioner-tooltip {
    bottom: -85px;
  }
}

/* ========================================== */
/* WELLNESS CATEGORIES SECTION                */
/* ========================================== */

.wellness-categories {
  padding: 6rem 1rem;
  background: #fbf7ec;
}

.wellness-categories__container {
  max-width: 1200px;
  margin: 0 auto;
}

.wellness-categories__header {
  text-align: center;
  margin-bottom: 4rem;
}

.wellness-categories__title {
  font-family: var(--font-inter);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rooted-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.wellness-categories__help-link {
  color: var(--rooted-green);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wellness-categories__help-link:hover {
  color: var(--rooted-dark);
  text-decoration-thickness: 4px;
}

.wellness-categories__title-link {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.wellness-categories__title-link:hover .wellness-categories__title {
  color: var(--rooted-green);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.wellness-categories__subtitle {
  font-family: var(--font-lora);
  font-size: 1.1rem;
  color: var(--rooted-dark);
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto;
}

.wellness-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Wellness Card */
.wellness-card {
  background: rgba(100, 100, 100, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wellness-card--link {
  text-decoration: none;
  color: inherit;
}

.wellness-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.wellness-card__image {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  overflow: hidden;
  background: linear-gradient(135deg, #fbf7ec 0%, #fbf7ec 100%);
}

.wellness-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wellness-card:hover .wellness-card__image img {
  transform: scale(1.05);
}

.wellness-card__reading-time {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rooted-primary);
  color: #fbf7ec;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-family: var(--font-inter);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  animation: slideInRight 0.5s ease 0.3s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animation class */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.wellness-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: rgba(100, 100, 100, 0.12);
}

.wellness-card__title {
  font-family: var(--font-inter);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rooted-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.wellness-card__description {
  font-family: var(--font-lora);
  font-size: 1rem;
  color: var(--rooted-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  flex-grow: 1;
}

.wellness-card__link {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rooted-green);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  margin-top: auto;
}

.wellness-card--link:hover .wellness-card__link {
  color: var(--rooted-primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .wellness-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wellness-categories {
    padding: 4rem 1rem;
  }

  .wellness-categories__title {
    font-size: 2rem;
  }

  .wellness-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .wellness-card__content {
    padding: 1.5rem;
  }

  .wellness-card__title {
    font-size: 1.2rem;
  }

  .wellness-card__description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .wellness-categories {
    padding: 2rem 1rem;
  }

  .wellness-categories__title {
    font-size: 1.6rem;
  }

  .wellness-categories__grid {
    grid-template-columns: 1fr;
  }

  .wellness-categories__subtitle {
    font-size: 1rem;
  }

  .wellness-card__content {
    padding: 1rem;
  }

  .wellness-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .wellness-card__description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* ========================================== */
/* DARK MODE OVERRIDES                       */
/* ========================================== */
@media (prefers-color-scheme: dark) {
  .practitioners-scroll {
    background: #1a1714 !important;
    padding: 0.75rem 1rem;
    position: relative;
    overflow: visible;
  }

  .practitioners-scroll::before {
    background: none !important;
  }

  .practitioners-scroll__title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  }

  .practitioners-scroll__subtitle {
    color: #d9cc94 !important;
    opacity: 0.9;
  }

  .practitioner-logo {
    background: rgba(119, 136, 62, 0.15) !important;
    border-color: rgba(119, 136, 62, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(119, 136, 62, 0.2) !important;
  }

  .practitioner-logo:hover {
    background: rgba(119, 136, 62, 0.25) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(119, 136, 62, 0.3) !important;
  }

  .practitioner-logo img {
    filter: brightness(1.1);
  }
}




