/* ==========================================================================
   TREATMENTS.CSS — Dedicated Styles for Treatment Detail Pages & Services
   ========================================================================== */

/* Treatment Page Hero Banner */
.treatment-hero {
  padding-block: 56px 44px;
  background: var(--gradient-hero-bg);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.treatment-hero .eyebrow {
  margin-top: 4px;
  margin-bottom: 16px;
  color: #ecfdf5 !important;
  background: rgba(6, 78, 59, 0.85) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
}
.treatment-hero h1 {
  color: #fff;
  margin-block: 10px 14px;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  font-weight: 800;
}
.treatment-hero p {
  color: #dcfce7;
  max-width: 660px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Main Treatment Detail Layout */
.treatment-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 44px;
  align-items: start;
}

.treatment-detail-body {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.treatment-detail-body h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

.treatment-detail-body p {
  margin-bottom: 18px;
  color: var(--color-text);
  line-height: 1.7;
}

/* Original Image Showcase Cards */
.treatment-image-card {
  margin-bottom: 32px;
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(4, 120, 87, 0.15);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.treatment-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.treatment-image-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.treatment-image-card img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 8px;
}

/* Highlighted Info Boxes */
.treatment-info-box {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  margin-block: 24px;
}
.treatment-info-box h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}
.treatment-info-box ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--color-text-soft);
}

/* Sidebar Styling */
.sidebar-box {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-box .card {
  padding: 28px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.sidebar-box h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.sidebar-nav-list a:hover,
.sidebar-nav-list a:focus,
.sidebar-nav-list a:active,
.sidebar-nav-list a.active {
  background: rgba(4, 120, 87, 0.1);
  color: var(--color-primary);
  transform: translateX(4px);
  outline: none !important;
}

/* Services Overview Grid (Services Page) */
.services-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .treatment-layout-grid {
    grid-template-columns: 1fr;
  }
  .services-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-menu-grid {
    grid-template-columns: 1fr;
  }
}
