/* Service Detail Styles */

.service-detail-hero {
  height: 650px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.service-detail-hero .container {
  align-content: center;
}

.service-hero-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: white;
}

.service-hero-content .from-price {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.service-hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.1;
  color: white;
}

.service-hero-content .service-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-book-appointment {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: #1a1a1a;
  padding: 14px 36px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.btn-book {
  background-color: var(--primary-color) !important;
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 9999px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  font-family: 'Fraunces', serif;
  text-transform: none !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease !important;
  margin-left: 10px;
}

.btn-book-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-book-appointment .arrow {
  margin-left: 10px;
  font-size: 1.4rem;
  line-height: 1;
}

.service-trust-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.service-trust-badge .stars {
  color: white;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.service-trust-badge .trust-text {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Service Intro Highlights */

.service-intro-highlights {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-intro-text p {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 50px;
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.highlight-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.05);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background-color: #fbf1ef;
  color: #8b7355;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
}

.highlight-item h5 {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: capitalize;
  margin-bottom: 8px;
  color: #000000;
}

.highlight-item span {
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  color: #1a1a1a;
}

/* Treatments List Section */

.treatments-list-section {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.treatments-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.treatment-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  background: white;
  padding: 30px 40px;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.treatment-item:hover {
  border-color: #8b7355;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.treatment-info h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.treatment-duration {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  color: #8b7355;
  margin-bottom: 8px;
}

.treatment-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: #000000;
  margin: 10px 0 0 0;
  line-height: 1.6;
}

.treatment-price {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: #1a1a1a;
  white-space: nowrap;
}

.btn-book-small {
  display: inline-block;
  padding: 10px 30px;
  background-color: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 26px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-book-small:hover {
  background-color: #8b7355;
  color: white;
}

@media (max-width: 768px) {
  .treatment-item {
    grid-template-columns: 1fr auto;
    padding: 25px;
    gap: 20px;
  }
  
  .treatment-action {
    grid-column: span 2;
    margin-top: 10px;
  }
  
  .treatment-action .btn-book-small {
    width: 100%;
    text-align: center;
  }
}

/* Featured Detail Section */

.service-featured-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
}

.featured-detail-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
}

.featured-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  background: rgba(44, 62, 80, 0.8);
  border-radius: 50%;
  padding: 10px;
  backdrop-filter: blur(5px);
}

.featured-badge svg {
  animation: rotateBadge 20s linear infinite;
}

@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.featured-detail-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.featured-detail-content p {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 30px;
}

.benefit-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.benefit-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.check-icon {
  width: 20px;
  height: 20px;
  background-color: #fbf1ef;
  color: #8b7355;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.ideal-for-section {
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.ideal-for-section h6 {
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.ideal-for-section p {
  font-size: 0.85rem;
  color: #000000;
  margin: 0;
}

/* Service Detail Content Section */

.service-content-section {
  position: relative;
  background: #c2ad8d;
  padding: 80px 0 0;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  margin-top: -100px;
  z-index: 10;
}

/* Service Detail Grid */

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.service-main-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 25px;
}

.service-main-content p {
  font-family: 'Figtree', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: #8c7456;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.benefit-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.service-sidebar {
  position: sticky;
  top: 120px;
}

.booking-card-sidebar {
  background: white;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.booking-card-sidebar h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.booking-card-sidebar p {
  margin-bottom: 25px;
}

.btn-full {
  width: 100%;
}

/* Responsive */

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-sidebar {
    position: static;
  }

  .service-featured-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-detail-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .service-hero-content h1 {
    font-size: 3rem;
  }

  .service-content-section {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-detail-hero {
    height: 650px;
  }

  .service-intro-text p {
    font-size: 1.5rem;
  }

  .service-highlights-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .highlight-item:not(:last-child)::after {
    display: none;
  }
}
