/* =========================================================
   TREATMENT DETAIL PAGE
========================================================= */

.treatment-detail {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

/* =========================================================
   TREATMENT DETAIL CONTAINER
========================================================= */

.treatment-detail-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 80px;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.treatment-detail-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

/* =========================================================
   LEFT IMAGE
========================================================= */

.detail-image {
  width: 100%;
  max-width: 430px;
  height: 470px;

  overflow: hidden;
  border-radius: 4px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.detail-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: transform 0.6s ease;
}

.detail-image:hover img {
  transform: scale(1.03);
}

/* =========================================================
   RIGHT INFORMATION
========================================================= */

.detail-information {
  width: 100%;
  max-width: 650px;
}

.detail-label {
  margin-bottom: 14px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;

  color: rgba(255, 255, 255, 0.7);
}

.detail-information h1 {
  margin: 0 0 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
}

.detail-description {
  max-width: 570px;
  margin-bottom: 35px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   DURATION & PRICE
========================================================= */

.detail-meta {
  width: 100%;
  margin-bottom: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* HEADER */

.meta-header {
  display: grid;
  grid-template-columns: 1fr 1fr;

  padding: 14px 0 10px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.55);
}

/* ROW */

.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  padding: 10px 0;

  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 13px;

  color: rgba(255, 255, 255, 0.9);
}

.meta-row span:last-child {
  text-align: left;
}

/* =========================================================
   BENEFITS & INCLUDED
========================================================= */

.detail-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 45px;
  margin-bottom: 35px;
}

.detail-lists h3 {
  margin: 0 0 15px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
}

.detail-lists ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.detail-lists li {
  position: relative;

  padding-left: 18px;
  margin-bottom: 9px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.72);
}

.detail-lists li::before {
  content: "•";

  position: absolute;
  left: 0;

  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   BACK TO TREATMENTS
   DITARUH DI TENGAH BAWAH CONTENT
========================================================= */

.back-home {
  position: absolute;

  /*
       Tetap di bagian bawah area detail,
       bukan di atas gambar.
    */
  bottom: 45px;
  left: 50%;

  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 20px;

  color: rgba(255, 255, 255, 0.85);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;

  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.back-home span {
  margin-right: 8px;

  font-size: 15px;
  line-height: 1;

  transition: transform 0.3s ease;
}

.back-home:hover {
  color: #2b2520;
  background: #ffffff;
  border-color: #ffffff;

  transform: translateX(-50%) translateY(-3px);
}

.back-home:hover span {
  transform: translateX(-3px);
}

/* =========================================================
   VISIT US
========================================================= */

.visit-us {
  position: relative;

  width: 100%;

  /*
       Tidak terlalu tinggi.
    */
  padding: 75px 0 80px;

  background: #f5f1eb;
  color: #2b2520;

  overflow: hidden;
}

/* =========================================================
   VISIT US CONTAINER
========================================================= */

.visit-us-container {
  width: 86%;
  max-width: 1100px;

  margin: 0 auto;
}

/* =========================================================
   VISIT US HEADER
========================================================= */

.visit-us-header {
  max-width: 750px;

  margin: 0 auto 45px;

  text-align: center;
}

.visit-us-label {
  margin: 0 0 12px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: 4px;
  text-transform: uppercase;

  color: #8b7966;
}

.visit-us-header h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;

  line-height: 1.05;
  letter-spacing: -1.5px;

  color: #3a3028;
}

.visit-us-header p {
  max-width: 650px;

  margin: 20px auto 0;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;

  color: #6f655d;
}

/* =========================================================
   LOCATION GRID
========================================================= */

.visit-us-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;

  border-top: 1px solid rgba(68, 56, 46, 0.25);
  border-bottom: 1px solid rgba(68, 56, 46, 0.25);
}

/* =========================================================
   EACH LOCATION
========================================================= */

.visit-location {
  position: relative;

  /*
       Jarak kiri-kanan dibuat lebih besar
       supaya tulisan tidak menempel garis tengah.
    */
  padding: 32px 55px 35px;

  min-height: 205px;

  box-sizing: border-box;

  transition: background 0.3s ease;
}

/*
   Location pertama:
   padding kanan lebih besar
*/

.visit-location:first-child {
  border-right: 1px solid rgba(68, 56, 46, 0.25);

  padding-right: 60px;
}

/*
   Location kedua:
   padding kiri lebih besar
   supaya tidak nempel garis tengah.
*/

.visit-location:nth-child(2) {
  padding-left: 60px;
}

/* =========================================================
   LOCATION NUMBER
========================================================= */

.visit-location-number {
  display: block;

  margin-bottom: 10px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;

  letter-spacing: 2px;

  color: #8b7966;
}

/* =========================================================
   BUSINESS NAME
========================================================= */

.visit-location-label {
  margin: 0 0 7px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #6f6256;
}

/* =========================================================
   LOCATION NAME
========================================================= */

.visit-location h3 {
  margin: 0 0 18px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;

  line-height: 1.1;

  color: #3a3028;
}

/* =========================================================
   ADDRESS
========================================================= */

.visit-location p {
  margin: 0 0 18px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;

  color: #70665e;
}

/* =========================================================
   VIEW LOCATION
========================================================= */

.visit-location a {
  display: inline-flex;
  align-items: center;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.8px;
  text-transform: uppercase;

  text-decoration: none;

  color: #4d4035;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.visit-location a:hover {
  color: #8b6f52;

  transform: translateX(5px);
}

/* =========================================================
   LOCATION HOVER
========================================================= */

.visit-location:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   IF HTML USES .location-card
========================================================= */

.location-card {
  position: relative;

  padding: 32px 55px 35px;

  min-height: 205px;

  box-sizing: border-box;

  background: transparent;
  color: #2b2520;
}

.location-card:first-child {
  border-right: 1px solid rgba(68, 56, 46, 0.25);
}

.location-card:nth-child(2) {
  padding-left: 60px;
}

.location-card h3 {
  color: #3a3028;
}

.location-card p {
  color: #70665e;
}

/* =========================================================
   REMOVE ANY UNWANTED OVERLAY
========================================================= */

.visit-us::before,
.visit-us::after {
  content: none !important;
  display: none !important;
}

/* =========================================================
   OTHER TREATMENTS
========================================================= */

.other-treatments {
  position: relative;

  width: 100%;
  max-width: none;

  box-sizing: border-box;

  padding: 75px 0 100px;

  background: #f5f1eb;
  color: #2b2520;

  overflow: hidden;
}

/* =========================================================
   OTHER TREATMENTS TITLE
========================================================= */

.other-treatments-title {
  margin-bottom: 50px;

  padding: 0 6%;

  text-align: center;
}

.section-label {
  margin-bottom: 10px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;

  letter-spacing: 3px;

  color: rgba(43, 37, 32, 0.55);
}

.other-treatments-title h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;

  color: #2b2520;
}

/* =========================================================
   OTHER TREATMENTS SLIDER
========================================================= */

.other-treatment-slider {
  width: 100%;
  max-width: none;

  overflow: hidden;
}

/* =========================================================
   MOVING TRACK
========================================================= */

.other-treatment-track {
  display: flex;

  width: max-content;

  gap: 20px;

  animation: treatmentLoop 45s linear infinite;
}

.other-treatment-track:hover {
  animation-play-state: paused;
}

/* =========================================================
   OTHER TREATMENT CARD
========================================================= */

.other-treatment-card {
  position: relative;

  flex: 0 0 280px;

  width: 280px;
  height: 350px;

  overflow: hidden;

  border-radius: 4px;

  display: block;

  text-decoration: none;

  color: #ffffff;
}

/* =========================================================
   CARD IMAGE
========================================================= */

.other-treatment-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.6s ease;
}

/* =========================================================
   CARD OVERLAY
========================================================= */

.other-treatment-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.05));

  z-index: 1;
}

/* =========================================================
   CARD IMAGE HOVER
========================================================= */

.other-treatment-card:hover img {
  transform: scale(1.05);
}

/* =========================================================
   CARD TEXT
========================================================= */

.other-treatment-card div {
  position: absolute;

  z-index: 2;

  left: 22px;
  right: 22px;
  bottom: 22px;
}

.other-treatment-card h3 {
  margin: 0 0 7px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.other-treatment-card span {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;

  color: rgba(255, 255, 255, 0.8);

  letter-spacing: 0.3px;
}

/* =========================================================
   TREATMENT LOOP
========================================================= */

@keyframes treatmentLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   TREATMENT DETAIL FADE IN
========================================================= */

.treatment-detail .back-home,
.treatment-detail .detail-image,
.treatment-detail .detail-information {
  opacity: 0;

  transform: translateY(25px);

  animation: treatmentFadeIn 1s ease-out forwards;
}

/* BACK BUTTON */

.treatment-detail .back-home {
  animation-delay: 0.15s;
}

/* IMAGE */

.treatment-detail .detail-image {
  animation-delay: 0.3s;
}

/* INFORMATION */

.treatment-detail .detail-information {
  animation-delay: 0.5s;
}

/* =========================================================
   FADE ANIMATION
========================================================= */

@keyframes treatmentFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {
  .treatment-detail-container {
    width: 88%;

    padding-top: 100px;
    padding-bottom: 120px;
  }

  .treatment-detail-content {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .detail-image {
    max-width: 500px;

    margin: 0 auto;
  }

  .detail-information {
    max-width: 100%;
  }

  /* VISIT US */

  .visit-us {
    padding: 70px 0 75px;
  }

  .visit-us-container {
    width: 88%;
  }

  .visit-us-locations {
    grid-template-columns: 1fr;
  }

  .visit-location {
    min-height: auto;

    padding: 32px 35px;
  }

  .visit-location:first-child {
    border-right: none;

    border-bottom: 1px solid rgba(68, 56, 46, 0.25);

    padding-right: 35px;
  }

  .visit-location:nth-child(2) {
    padding-left: 35px;
  }

  /* OTHER TREATMENTS */

  .other-treatments {
    padding: 65px 0 90px;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {
  /* TREATMENT DETAIL */

  .treatment-detail-container {
    width: 88%;

    padding-top: 90px;
    padding-bottom: 110px;
  }

  .treatment-detail-content {
    gap: 35px;
  }

  .detail-image {
    height: 380px;
  }

  .detail-information h1 {
    font-size: 44px;
  }

  .detail-description {
    font-size: 14px;
  }

  .detail-lists {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  /* BACK BUTTON */

  .back-home {
    bottom: 35px;

    padding: 10px 17px;

    font-size: 10px;
  }

  /* VISIT US */

  .visit-us {
    padding: 65px 0 70px;
  }

  .visit-us-container {
    width: 90%;
  }

  .visit-us-header {
    margin-bottom: 35px;
  }

  .visit-us-header h2 {
    font-size: 36px;
  }

  .visit-us-header p {
    font-size: 13px;
  }

  .visit-location {
    padding: 28px 25px 32px;
  }

  .visit-location:first-child {
    padding-right: 25px;
  }

  .visit-location:nth-child(2) {
    padding-left: 25px;
  }

  .visit-location h3 {
    font-size: 26px;
  }

  /* OTHER TREATMENTS */

  .other-treatments {
    padding: 60px 0 80px;
  }

  .other-treatments-title {
    margin-bottom: 40px;
  }

  .other-treatments-title h2 {
    font-size: 34px;
  }

  .other-treatment-track {
    gap: 15px;

    animation-duration: 38s;
  }

  .other-treatment-card {
    flex: 0 0 240px;

    width: 240px;
    height: 320px;
  }
}

/* =========================================================
   CONTACT US MODAL - FINAL
   ========================================================= */

/* OVERLAY */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(20, 16, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  overflow: hidden;
}

/* MODAL BOX */
.contact-modal-content {
  position: relative;

  width: 100%;
  max-width: 520px;

  max-height: calc(85vh - 20px);

  box-sizing: border-box;

  padding: 48px 48px 42px;

  background: #f5f1eb;
  color: #4d4339;

  overflow: hidden;
}

/* CLOSE BUTTON */
.contact-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: none;
  background: transparent;

  color: #594d41;

  font-size: 25px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

/* SMALL LABEL */
.contact-modal-label {
  margin: 0 0 25px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;

  letter-spacing: 4px;
  text-transform: uppercase;

  color: #806f5d;
}

/* TITLE */
.contact-modal-content h2 {
  margin: 0;

  max-width: 430px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -1.5px;

  color: #5a4e42;
}

/* DESCRIPTION */
.contact-modal-content > p {
  margin: 28px 0 0;

  max-width: 440px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;

  color: #71675e;
}

/* LOCATION LIST */
.contact-locations {
  margin-top: 42px;

  border-top: 1px solid rgba(77, 67, 57, 0.25);
}

/* LOCATION ITEM */
.contact-location {
  position: relative;

  padding: 28px 55px 28px 0;

  border-bottom: 1px solid rgba(77, 67, 57, 0.25);
}

/* LOCATION NUMBER */
.contact-location-label {
  margin: 0 0 10px;

  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;

  letter-spacing: 3px;
  text-transform: uppercase;

  color: #806f5d;
}

/* LOCATION NAME */
.contact-location h3 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;

  color: #5a4e42;
}

/* ARROW */
.contact-location a {
  position: absolute;
  top: 50%;
  right: 5px;

  transform: translateY(-50%);

  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;

  color: #665849;

  text-decoration: none;

  transition: transform 0.25s ease;
}

.contact-location a:hover {
  transform: translate(5px, -50%);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {
  .contact-modal {
    padding: 15px;
  }

  .contact-modal-content {
    max-width: 540px;

    max-height: calc(100vh - 30px);

    padding: 42px 30px 35px;
  }

  .contact-modal-close {
    top: 18px;
    right: 18px;
  }

  .contact-modal-label {
    margin-bottom: 20px;
  }

  .contact-modal-content h2 {
    font-size: 42px;
  }

  .contact-modal-content > p {
    margin-top: 22px;
  }

  .contact-locations {
    margin-top: 32px;
  }

  .contact-location {
    padding: 24px 45px 24px 0;
  }

  .contact-location h3 {
    font-size: 27px;
  }
}

/* SMALL PHONE */
@media (max-width: 480px) {
  .contact-modal {
    padding: 10px;
  }

  .contact-modal-content {
    max-height: calc(100vh - 20px);

    padding: 38px 25px 30px;
  }

  .contact-modal-content h2 {
    font-size: 38px;
  }

  .contact-modal-content > p {
    font-size: 13px;
  }

  .contact-location h3 {
    font-size: 25px;
  }

  .contact-location a {
    right: 0;
  }
}
