/**
 * Services Page CSS
 * Mobile-first design matching the provided image
 * Dr. Fahrettin Yıldız Digital Ecosystem
 */

/* ============================================
 * PAGE CONTAINER
 * ============================================ */

.services-page {
  min-height: 100vh;
  background: #ffffff;
  padding-top: 0;
}

/* ============================================
 * TOP PHONE NUMBER
 * ============================================ */

.services-page__phone {
  padding: 10px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.services-page__phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2d2d2d;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  justify-content: center;
}

.services-page__phone-link svg {
  color: #666;
  width: 14px;
  height: 14px;
}

/* ============================================
 * NAVIGATION TABS
 * ============================================ */

.services-page__nav {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  background: #ffffff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-page__nav::-webkit-scrollbar {
  display: none;
}

.services-page__nav-tab {
  flex: 1;
  min-width: 80px;
  padding: 14px 12px;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.services-page__nav-tab:hover {
  color: #2d2d2d;
  background: #f8f8f8;
}

.services-page__nav-tab.is-active {
  color: #f03167;
  border-bottom-color: #f03167;
}

/* ============================================
 * CLINIC HEADER
 * ============================================ */

.services-page__header {
  padding: 20px;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.services-page__logo {
  flex-shrink: 0;
}

.services-page__logo-icon {
  width: 56px;
  height: 56px;
  background: #8e44ad;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.services-page__header-content {
  flex: 1;
  min-width: 0;
}

.services-page__clinic-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.services-page__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
}

.services-page__status svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.services-page__address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.4;
}

.services-page__address svg {
  width: 14px;
  height: 14px;
  color: #999;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
 * SERVICES SECTION
 * ============================================ */

.services-page__services {
  padding: 20px;
}

.services-page__services-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 16px 0;
}

.services-page__services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================
 * SERVICE CARD
 * ============================================ */

.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fdf2f8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  background: #fce7f3;
  border-color: #fbcfe8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 49, 103, 0.1);
}

.service-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fce7f3;
  border-radius: 8px;
  flex-shrink: 0;
  color: #f03167;
}

.service-card__icon svg {
  width: 18px;
  height: 18px;
}

.service-card__content {
  flex: 1;
  min-width: 0;
}

.service-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #666;
}

.service-card__duration {
  display: flex;
  align-items: center;
}

.service-card__meta-separator {
  color: #999;
  margin: 0 2px;
}

.service-card__price {
  font-weight: 500;
  color: #2d2d2d;
}

.service-card__arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  flex-shrink: 0;
}

.service-card__arrow svg {
  width: 16px;
  height: 16px;
}

.service-card:hover .service-card__arrow {
  color: #f03167;
}

/* ============================================
 * EMPTY STATE
 * ============================================ */

.services-page__empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 0.9375rem;
}

/* ============================================
 * RESPONSIVE
 * ============================================ */

@media (min-width: 768px) {
  .services-page {
    max-width: 600px;
    margin: 0 auto;
  }

  .services-page__header {
    padding: 24px 20px;
  }

  .services-page__logo-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }

  .services-page__clinic-name {
    font-size: 1.25rem;
  }

  .services-page__services {
    padding: 20px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card__name {
    font-size: 1rem;
  }
}

