@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: light;
}

@font-face {
  font-family: 'Prata';
  src: url('../fonts/Prata/Prata-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Reset and Base Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* allow body to grow if content is taller */
}

main {
  flex: 1 0 auto; /* allows main to grow */
  display: flex;
  justify-content: center;
}

/* View All / Collapse All button */
#toggle-details {
  position: absolute;
  top: 50px;
  right: 10px;
  padding: 8px 16px;
  background-color: #7a6a60;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

#toggle-details:hover {
  background-color: #64564e;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #7a6a60;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 110;
  font-size: 1.2rem;
  display: none;           /* hidden initially */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#back-to-top:hover {
  background-color: #64564e;
}

/* === Services Page Styling === */
.services {
  width: 100%; 
  max-width: 1000px; 
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
  background: #fff; 
  border-radius: 12px;
  position: relative;
  padding-top: 100px;
}


.services details {
  margin-bottom: 1rem;
  border: 1px solid #25394f;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.services details:hover {
  border-color: #bbb;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.services summary {
  font-weight: 500;
  font-family: 'Prata';
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
}

.services summary::-webkit-details-marker {
  display: none; /* remove default marker */
}

.services summary::after {
  content: "+";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: #666 !important;
  font-size: 1.1em;
  font-weight: bolder;
}

.services details[open] summary::after {
  content: "-";
  color: #666 !important;
  font-size: 1.1em;
  font-weight: bolder;
}

.services details[open] {
  background: #fafafa;
}

.services ul {
  margin: 0.8rem 0 0 0; /* remove left indent */
  padding: 0;
  list-style: none; /* remove dots */
}

.services ul li {
  margin-bottom: 0.2rem; /* add gap between items */
  line-height: 1.5;
  position: relative;
  padding-left: 1.2rem;
}

.price-list {
  list-style: none;   /* ✅ removes default bullets/dashes */
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #333;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 0.3rem;
}

.peel-name {
  text-decoration: underline;
}

.benefits {
  list-style: none; /* remove default bullets */
  padding-left: 0;
  margin: 1rem 0;
}

.benefits li {
  position: relative;
  padding-left: 1.8rem; /* space for checkmark */
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #333;
}

.benefits li::before,
.service-detail .extras li::before {
  content: "❍";             /* checkmark */
  position: absolute;
  height: 1px;
  left: 0;
  top: 0;
  color: #4a3f35;           /* earthy brown tone */
  font-weight: bold;
}
/* Responsive Tweaks */
@media (max-width: 1024px) {
  .services {
    padding-top: 100px;
  }
  #toggle-details {
    top: 50px;
  }
}

@media (max-width: 768px) {
  .services {
    padding-top: 50px;
  }
  #toggle-details {
    top: 10px;
  }
  .services summary {
    font-size: 1rem;
  }

  main {
    margin: 1.5em;
  }
}

/* Page title */
.page-title {
  text-align: center;
  font-size: 1.6rem;
  color: #333;
  margin: 1.5rem 1rem 0.8rem;
  font-weight: 600;
}

/* Link from the services index to each detail page */
.service-more {
  margin-top: 1rem;
}
.service-more a {
  color: #7a6a60;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== Individual service pages ===== */
.service-detail {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: #7a6a60;
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }

.service-detail h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 1rem;
  color: #333;
}
.service-detail h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.6rem;
  color: #333;
}
.service-intro {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #444;
}
/* Match the ❍ circle markers used elsewhere on the site — the native disc is
   suppressed so the ::before circle is the only marker. */
.service-detail ul {
  line-height: 1.8;
  list-style: none;
  padding-left: 0;
  margin: 0.8rem 0 0;
  color: #444;
}
.service-detail .benefits li,
.service-detail .extras li {
  position: relative;
  padding-left: 1.8rem;
}

.service-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #faf8f6;
  border-radius: 10px;
  text-align: center;
}
.btn-book {
  display: inline-block;
  background: #7a6a60;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease;
}
.btn-book:hover { background: #64564e; }
.service-cta p {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: #5c5c5c;
}
.service-cta a:not(.btn-book) {
  color: #7a6a60;
  text-decoration: underline;
}

.service-detail .back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #7a6a60;
  text-decoration: none;
  font-weight: 600;
}
.service-detail .back-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .service-detail { padding: 1rem 1rem 2.5rem; }
  .btn-book { width: 100%; }
}

/* ===== Category pages (e.g. Chemical Peels) ===== */
.service-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #7a6a60;
  margin: -0.4rem 0 0.9rem;
  letter-spacing: 0.01em;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 760px) {
  .category-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5ded8;
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.15rem;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.category-card:hover,
.category-card:focus-within {
  border-color: #c9bbb1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* The whole card is clickable, but the visible link keeps a real focus ring */
.category-card-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.8rem;
  text-decoration: none;
}
.category-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.category-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.category-card-name {
  font-size: 1.14rem;
  font-weight: 700;
  color: #4a4a4a;
}
.category-card-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #7a6a60;
}
.category-card-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a4a4a;
  white-space: nowrap;
}
.category-card p {
  margin: 0.7rem 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #555;
  flex: 1 1 auto;
}
.category-card-more {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #7a6a60;
  text-decoration: underline;
  align-self: flex-start;
}

/* Rows inside the services accordion */
.category-row-list {
  list-style: none;
  padding-left: 0;
}
.category-row-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0ebe7;
}
.category-row-list li:last-child { border-bottom: none; }
.category-row-list a {
  color: #7a6a60;
  font-weight: 600;
  text-decoration: underline;
}
.category-row-price {
  color: #4a4a4a;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .category-card-link { flex-direction: column; }
  .category-card-price { margin-top: 0.2rem; }
}
