/* Services Section Styles */

.services-section {
  background: #c2ae8f;
  padding: 50px 0 0;
  overflow: hidden; /* Prevent horizontal scroll from visible carousel */
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.services-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 12px 0;
  color: #1a1a1a;
}

.services-header h2::after {
  display: none; /* Override style.css */
}

.section-description {
  font-family: 'Figtree', sans-serif;
  color: #000000;
  font-size: 1rem;
  margin: 0;
}

.discover-link {
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.3s ease;
}

.discover-link:hover {
  opacity: 0.7;
}

.services-carousel-wrapper {
  position: relative;
  width: 100%;
}

.services-carousel {
  overflow: visible !important;
  width: 100%;
}

.service-card {
  background-color: #faf7f2;
  border-radius: 20px;
  padding: 12px;
  height: auto;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: #8c7456;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.service-image-wrapper {
  position: relative;
  height: 340px;
  border-radius: 15px;
  overflow: hidden;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.08);
}

.service-number {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
  line-height: 0.8;
  pointer-events: none;
  font-weight: 400;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 12px 15px;
}

.service-footer h3 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
  color: #1a1a1a;
}

.service-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-icon-circle.active {
  background: #1a1a1a;
  color: white;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.carousel-pagination-container {
  width: 250px;
  height: 2px;
  background: #eee;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.swiper-pagination-services {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #1a1a1a !important;
  height: 100% !important;
  top: 0 !important;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.custom-nav-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a1a;
  background: white;
}

.custom-nav-btn:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.custom-nav-btn.active {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

@media (max-width: 1024px) {
  .service-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .services-section {
    padding: 50px 20px;
  }

  .services-header h2 {
    font-size: 2.2rem;
  }
  
  .carousel-controls {
    margin-top: 40px;
  }

  .carousel-pagination-container {
    width: 150px;
  }
}

/* Massage Therapies Section */
.massage-therapies-section {
  padding: 100px 0 0px;
  position: relative;
}

.massage-section-title {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 12px 0;
}

.massage-section-subtitle {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: #000000;
  text-align: center;
  margin: 0 0 40px 0;
}

/* Massage Tabs Wrapper */
.massage-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 100;
}

.massage-tabs-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: none;
  pointer-events: none;
  z-index: 10;
}

.massage-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  padding: 0 60px 0 0;
  flex: 1;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
}

.massage-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.massage-tabs.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.massage-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid #d0d0d0;
  background: #faf7f2;
  color: #1a1a1a;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.massage-tab:hover {
  border-color: #1a1a1a;
}

.massage-tab.active {
  background: #8c7456;
  color: white;
  border-color: #8c7456;
}

/* Hamburger Menu Toggle */
.massage-menu-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background: white;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.massage-menu-toggle:hover {
  border-color: #1a1a1a;
}

.massage-menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Overlay */
.massage-menu-overlay {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 10px;
}

.massage-menu-overlay.active {
  display: block;
  opacity: 1;
}

.massage-menu-content {
  position: relative;
  width: 280px;
  max-height: 250px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease;
  z-index: 10001;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.massage-menu-close {
  display: none;
}

.massage-menu-close svg {
  width: 20px;
  height: 20px;
}

.massage-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.massage-menu-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  background: none;
  border: none;
  color: #1a1a1a;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.massage-menu-item:last-child {
  border-bottom: none;
}

.massage-menu-item:hover {
  color: var(--primary-color);
}

.massage-menu-item.active {
  color: #1a1a1a;
  font-weight: 600;
}

/* Tab Empty State */
.tab-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-family: 'Figtree', sans-serif;
}

body.no-scroll {
  overflow: hidden !important;
}

.massage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.massage-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.massage-thumb {
  width: 120px;
  height: 80px;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}

.massage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.massage-card-body {
  flex: 1;
  min-width: 0;
  background: #faf7f2;
  padding: 16px;
  border-radius: 9px;
  border: 1px solid #f5f5f5;
  cursor: pointer;
}

.massage-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.massage-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  grid-column: 1;
}

.massage-card-dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted #d0d0d0;
  height: 0;
  transform: translateY(4px);
  grid-column: 2;
}

.massage-card-price {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #1a1a1a;
  white-space: nowrap;
  grid-column: 3;
}

.massage-card-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: #000000;
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.massage-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.massage-duration {
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  color: #888;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 6px;
}

.massage-tag {
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  color: var(--primary-color);
  background: rgba(139, 115, 85, 0.08);
  padding: 4px 10px;
  border-radius: 9999px;
}

@media (max-width: 1024px) {
  .massage-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .massage-thumb {
    width: 100px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .massage-tabs-wrapper {
    gap: 10px;
  }
  
  .massage-therapies-section {
    padding: 50px 20px;
  }

  .massage-tabs {
    flex: 1;
  }

  .massage-menu-toggle {
    position: relative;
  }
}

@media (max-width: 768px) {
  .massage-menu-overlay {
    position: fixed;
    top: auto;
    right: 20px;
    left: auto;
  }
}

@media (max-width: 600px) {
  .massage-section-title {
    font-size: 2.2rem;
  }

  .massage-tabs-wrapper {
    gap: 0;
  }

  .massage-card {
    gap: 14px;
  }

  .massage-thumb {
    width: 90px;
    height: 60px;
  }

  .massage-card-title,
  .massage-card-price {
    font-size: 1rem;
  }
}

/* Massage Therapies Footer */
.massage-therapies-footer {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
}

.btn-view-all {
  display: inline-block;
  padding: 12px 32px;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 26px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 2px solid #1a1a1a;
}

.btn-view-all:hover {
  background: white;
  color: #1a1a1a;
}

/* Tab Panels */
.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeInPanel 0.4s ease forwards;
}

.tab-panel.is-active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filler Card Overrides */
/* Filler / Laser card overrides */
.filler-card .massage-card-title,
.laser-card .massage-card-title {
  white-space: normal;
  line-height: 1.2;
}

.filler-card .massage-card-desc,
.laser-card .massage-card-desc {
  line-height: 1.6;
}

.massage-thumb {
  display: none;
}
