/* Uzman Hukuk Alanları Sayfası Özel Stilleri */

/* Hero Section */
.services-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.services-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.back-link:hover {
  color: #1d4ed8;
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateX(-4px);
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.services-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.services-hero-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.services-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  text-align: center;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.services-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Services Categories */
.services-categories {
  padding: 5rem 0;
  background-color: #ffffff;
}

.services-categories-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-categories-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.services-categories-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.services-categories-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.services-tab {
  padding: 0.75rem 1.5rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #64748b;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.services-tab:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-2px);
}

.services-tab.active {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Service Detail Cards */
.service-detail-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-detail-card:hover::before {
  left: 100%;
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #3b82f6;
}

.service-detail-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.service-detail-card:hover .service-detail-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.service-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-detail-card:hover .service-detail-title {
  color: #3b82f6;
}

.service-detail-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-detail-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  transition: color 0.3s ease;
}

.service-detail-card:hover .service-detail-list li {
  color: #475569;
}

.service-detail-list i {
  color: #10b981;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-detail-card:hover .service-detail-list i {
  transform: scale(1.1);
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 2px solid #3b82f6;
  border-radius: 0.5rem;
  background-color: transparent;
}

.service-detail-card:hover .service-detail-link {
  background-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.service-detail-link i {
  transition: transform 0.3s ease;
}

.service-detail-card:hover .service-detail-link i {
  transform: translateX(4px);
}

/* Why Choose Us Section */
.services-why-choose {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.services-why-choose-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-why-choose-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.services-why-choose-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.services-why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.services-why-choose-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.services-why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.services-why-choose-icon {
  width: 4rem;
  height: 4rem;
  background-color: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.services-why-choose-card:hover .services-why-choose-icon {
  background-color: #3b82f6;
  color: #ffffff;
  transform: scale(1.1);
}

.services-why-choose-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.services-why-choose-card-description {
  color: #64748b;
  line-height: 1.6;
}

/* CTA Section */
.services-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #1e40af 50%, #1e293b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 2s infinite;
}

.services-cta::after {
  content: "";
  position: absolute;
  bottom: -10rem;
  left: -10rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(147, 197, 253, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 2s infinite;
  animation-delay: 1s;
}

.services-cta-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
}

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

.services-cta-description {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.services-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* FAQ Section */
.services-faq {
  padding: 5rem 0;
  background-color: #ffffff;
}

.services-faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.services-faq-description {
  font-size: 1.125rem;
  color: #64748b;
}

.services-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.services-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.services-faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.services-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.services-faq-question:hover {
  color: #f59e0b;
}

.services-faq-question h3 {
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  transition: color 0.3s ease;
}

.services-faq-question:hover h3 {
  color: #f59e0b;
}

.services-faq-question i {
  color: #64748b;
  transition: transform 0.3s ease;
}

.services-faq-item.active .services-faq-question i {
  transform: rotate(180deg);
}

.services-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.services-faq-item.active .services-faq-answer {
  max-height: 300px; /* Yeterli yükseklik ver */
}

.services-faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (min-width: 640px) {
  .services-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-hero-buttons {
    flex-direction: row;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-hero-title {
    font-size: 3.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Filter Animation */
.service-detail-card {
  transition: all 0.3s ease;
}

.service-detail-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.service-detail-card.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
