/* =========================================================
   SERVICE PAGE STYLES
   File: css/service-style.css
========================================================= */

/* =========================
   HERO SECTION
========================= */

.service-hero {
  position: relative;
  padding: 160px 0 140px;
  overflow: hidden;

  /* HERO BACKGROUND IMAGE */
  background-image:
    linear-gradient(rgba(255, 248, 242, 0.72),
      rgba(255, 248, 242, 0.72)),
    url("../images/acupuncture-hero.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


.physiotherapy-hero {
  background-image:
    linear-gradient(rgba(255, 248, 242, 0.72),
      rgba(255, 248, 242, 0.72)),
    url("../images/physiotherapy-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

}

.naturopathy-hero {
  background-image:
    linear-gradient(rgba(255, 248, 242, 0.72),
      rgba(255, 248, 242, 0.72)),
    url("../images/naturopathy-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.osteopathy-hero {
  background-image:
    linear-gradient(rgba(255, 248, 242, 0.72),
      rgba(255, 248, 242, 0.72)),
    url("../images/osteopathy-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.clinical-counsellor-hero {
  background-image:
    linear-gradient(rgba(255, 248, 242, 0.72),
      rgba(255, 248, 242, 0.72)),
    url("../images/clinical-counsellor-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.orthotics-hero {
  background-image:
    linear-gradient(
      rgba(255,248,242,0.72),
      rgba(255,248,242,0.72)
    ),
    url("../images/orthotics-hero.webp");
    background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1px);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(214, 184, 138, 0.7);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9c7a45;
}

.service-hero h1 {
  font-size: 72px;
  line-height: 1.08;
  font-weight: 700;
  color: #2f2f2f;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.service-hero p {
  font-size: 21px;
  line-height: 1.9;
  color: #5c5c5c;
  margin-bottom: 38px;
}

/* =========================
   BUTTON
========================= */

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 34px;
  border-radius: 60px;

  background: linear-gradient(135deg, #d4a857, #b98736);
  color: #fff;
  text-decoration: none;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;

  transition: 0.35s ease;

  box-shadow: 0 12px 25px rgba(185, 135, 54, 0.28);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(185, 135, 54, 0.34);
}

/* =========================
   DETAILS SECTION
========================= */

.service-detail-section {
  padding: 110px 0;
  background: #fffdfb;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: start;
}

.service-main-content {
  background: #ffffff;

  padding: 55px;
  border-radius: 36px;

  border: 1px solid #ecd8b7;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.05),
    0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-main-content h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #2f2f2f;
  margin-bottom: 24px;
}

.service-main-content h3 {
  font-size: 28px;
  color: #9c7a45;
  margin: 40px 0 18px;
}

.service-main-content p,
.service-main-content li {
  font-size: 17px;
  line-height: 1.95;
  color: #666;
}

.service-main-content ul {
  padding-left: 22px;
  margin-top: 12px;
}

.service-main-content li {
  margin-bottom: 10px;
}

/* =========================
   SIDE CARD
========================= */

.service-side-card {
  position: sticky;
  top: 120px;

  background:
    linear-gradient(180deg,
      #fffdfb 0%,
      #f7efe6 100%);

  padding: 38px;
  border-radius: 34px;

  border: 1px solid #ead9bf;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.03);
}

.service-side-card h3 {
  font-size: 28px;
  color: #9c7a45;
  margin-bottom: 16px;
}

.service-side-card p {
  color: #666;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* =========================
   PRACTITIONERS
========================= */

.service-practitioners-section {
  padding: 120px 0;
  background:
    linear-gradient(180deg,
      #f8eee7 0%,
      #fffdfb 100%);

  text-align: center;
}

.service-practitioners-section h2 {
  font-size: 54px;
  line-height: 1.15;
  color: #2f2f2f;
  margin-bottom: 60px;
}

.service-practitioner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.service-practitioner-card {
  position: relative;

  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: center;

  background: rgba(255, 255, 255, 0.95);

  padding: 28px;
  border-radius: 38px;

  border: 1px solid #ead8bb;

  text-align: left;
  text-decoration: none;
  color: inherit;

  overflow: hidden;

  transition: 0.4s ease;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.07),
    0 8px 18px rgba(0, 0, 0, 0.03);
}

.service-practitioner-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0));

  pointer-events: none;
}

.service-practitioner-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.11),
    0 12px 25px rgba(0, 0, 0, 0.05);
}

/* =========================
   PRACTITIONER IMAGE
========================= */

.service-practitioner-card img {
  width: 240px;
  height: 300px;

  object-fit: cover;
  object-position: center top;

  border-radius: 28px;

  border: 3px solid rgba(231, 204, 162, 0.8);

  background: linear-gradient(180deg,
      #fffaf5,
      #f6eee5);

  padding: 6px;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);

  transition: 0.35s ease;
}

.service-practitioner-card:hover img {
  transform: scale(1.03);
}

/* =========================
   PRACTITIONER CONTENT
========================= */

.service-practitioner-card span {
  display: inline-block;

  margin-bottom: 12px;
  padding: 8px 14px;

  border-radius: 50px;

  background: #f8f0e5;
  border: 1px solid #ead1a6;

  color: #9c7a45;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.service-practitioner-card h3 {
  font-size: 32px;
  line-height: 1.2;
  color: #2f2f2f;
  margin-bottom: 14px;
}

.service-practitioner-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 22px;
}

.service-practitioner-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #9c7a45;
  font-size: 15px;
  font-weight: 700;

  transition: 0.3s ease;
}

.service-practitioner-card:hover strong {
  transform: translateX(4px);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #171717;
  padding: 28px 0;
  text-align: center;
}

.site-footer p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

  .service-practitioner-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-side-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {

  .service-hero {
    padding: 120px 0 90px;
    background-position: center;
  }

  .service-hero h1 {
    font-size: 46px;
  }

  .service-hero p {
    font-size: 18px;
  }

  .service-main-content {
    padding: 34px;
  }

  .service-main-content h2 {
    font-size: 34px;
  }

  .service-practitioners-section h2 {
    font-size: 40px;
  }

  .service-practitioner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-practitioner-card img {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 480px) {

  .service-hero h1 {
    font-size: 38px;
  }

  .service-hero p {
    font-size: 17px;
  }

  .service-main-content,
  .service-side-card {
    padding: 28px;
    border-radius: 28px;
  }

  .service-practitioner-card {
    padding: 22px;
    border-radius: 28px;
  }

  .service-practitioner-card img {
    height: 340px;
    border-radius: 22px;
  }
}