/* ==========================================
   Services Page Specific Styles
   ========================================== */

/* Hero Section */
.services-hero {
  padding: 4rem 0;
}

.services-hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.services-hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Overview */
.services-overview {
  background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
}

.services-overview-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.services-overview-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #666;
}

/* Service Meta (Duration & Price) */
.service-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.service-duration {
  color: #666;
}

.service-price {
  color: #2c7a4b;
  font-weight: 700;
}

/* Treatment Benefits List */
.treatment-benefits {
  margin-top: 1rem;
  color: #666;
  line-height: 2;
  list-style: none;
  padding: 0;
}

.treatment-benefits li {
  padding-left: 0;
}

/* Card Action Button */
.card-action {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2c7a4b 0%, #1e4d35 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(44, 122, 75, 0.2);
}

.btn-read-more:hover {
  background: linear-gradient(135deg, #1e4d35 0%, #2c7a4b 100%);
  box-shadow: 0 4px 8px rgba(44, 122, 75, 0.3);
  transform: translateY(-2px);
  color: white;
}

.btn-read-more i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-read-more:hover i {
  transform: translateX(4px);
}

/* Special Treatments Section */
.special-treatments-section {
  background: #f8f9fa;
}

/* Services CTA Section */
.services-cta-section {
  background: linear-gradient(135deg, #1e4d35 0%, #2c7a4b 100%);
  color: white;
  text-align: center;
}

.services-cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.services-cta-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.services-cta-primary {
  background: #ffd166;
  color: #1a3d2b;
}

.services-cta-primary:hover {
  background: #ffbe3d;
  color: #1a3d2b;
}

.services-cta-secondary {
  background: transparent;
  border-color: white;
  color: white;
}

.services-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-hero-title {
    font-size: 2.5rem;
  }

  .services-hero-description {
    font-size: 1.1rem;
  }

  .services-overview-text {
    font-size: 1.05rem;
  }

  .services-cta-title {
    font-size: 2rem;
  }

  .services-cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .services-hero-title {
    font-size: 2rem;
  }

  .services-hero-description {
    font-size: 1rem;
  }

  .services-overview-text {
    font-size: 1rem;
  }

  .services-cta-title {
    font-size: 1.75rem;
  }

  .services-cta-description {
    font-size: 1rem;
  }

  .services-cta-buttons {
    flex-direction: column;
  }

  .services-cta-buttons .btn-primary,
  .services-cta-buttons .btn-secondary {
    width: 100%;
  }

  .service-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================
   Subservice Carousel Styles
   ========================================== */

.subservice-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.carousel-image.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c7a4b;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  opacity: 0;
}

.subservice-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-indicators .indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Mobile responsive adjustments for carousel */
@media (max-width: 768px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .carousel-prev {
    left: 8px;
  }
  
  .carousel-next {
    right: 8px;
  }
  
  .carousel-indicators {
    bottom: 8px;
    padding: 4px 10px;
  }
  
  .carousel-indicators .indicator {
    width: 6px;
    height: 6px;
  }
  
  .carousel-indicators .indicator.active {
    width: 18px;
  }
}

@media (max-width: 576px) {
  /* Show carousel buttons by default on mobile for better UX */
  .subservice-carousel .carousel-btn {
    opacity: 0.8;
  }
  
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}
