/* Shared page styles - v2.2
   Used by: dil-konusma-bozuklugu.php, duyu-butunleme.php (and other similar service detail pages)
   Updated: 2026-03-04 - Circular progress bars
*/

.service-hero {
  background: linear-gradient(135deg, #2dce89 0%, #20c997 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"><animate attributeName="cy" from="20" to="80" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="50" r="1" fill="white" opacity="0.1"><animate attributeName="cy" from="50" to="20" dur="2s" repeatCount="indefinite"/></circle><circle cx="50" cy="80" r="1" fill="white" opacity="0.1"><animate attributeName="cy" from="80" to="50" dur="4s" repeatCount="indefinite"/></circle></svg>');
  animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
  from { transform: translateX(0); }
  to { transform: translateX(-100px); }
}

.service-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.service-hero h1 i {
  color: #ffd700;
  animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.service-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.service-content {
  padding: 60px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  min-height: 100vh;
}

.service-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #2dce89;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(45, 206, 137, 0.08) 0%, rgba(32, 201, 151, 0.03) 100%);
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(45, 206, 137, 0.06) 0%, rgba(32, 201, 151, 0.02) 100%);
}

.service-section:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(45, 206, 137, 0.07) 0%, rgba(32, 201, 151, 0.03) 100%);
}

.service-section:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(45, 206, 137, 0.05) 0%, rgba(32, 201, 151, 0.02) 100%);
}

.service-section:hover::before {
  top: -30%;
  right: -30%;
  width: 250px;
  height: 250px;
}

.service-section:nth-child(2) {
  border-left-color: #2dce89;
}

.service-section:nth-child(3) {
  border-left-color: #2dce89;
}

.service-section:nth-child(4) {
  border-left-color: #2dce89;
}

.service-section:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(45, 206, 137, 0.15);
}

.service-section:nth-child(2):hover {
  box-shadow: 0 20px 50px rgba(45, 206, 137, 0.12);
}

.service-section:nth-child(3):hover {
  box-shadow: 0 20px 50px rgba(45, 206, 137, 0.18);
}

.service-section:nth-child(4):hover {
  box-shadow: 0 20px 50px rgba(45, 206, 137, 0.1);
}

.section-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dce89 0%, #20c997 100%);
  color: white;
  font-size: 1.8rem;
  margin-bottom: 20px;
  animation: iconFloat 4s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(45, 206, 137, 0.3);
  transition: all 0.3s ease;
}

.service-section:nth-child(2) .section-icon {
  background: linear-gradient(135deg, #2dce89 0%, #20c997 100%);
}

.service-section:nth-child(3) .section-icon {
  background: linear-gradient(135deg, #2dce89 0%, #20c997 100%);
}

.service-section:nth-child(4) .section-icon {
  background: linear-gradient(135deg, #2dce89 0%, #20c997 100%);
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #2dce89;
  margin-bottom: 20px;
  position: relative;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(45, 206, 137, 0.1);
  display: inline-block;
  transition: all 0.3s ease;
}

.service-section:nth-child(2) .section-title {
  color: #2dce89;
  background: rgba(45, 206, 137, 0.08);
}

.service-section:nth-child(3) .section-title {
  color: #2dce89;
  background: rgba(45, 206, 137, 0.09);
}

.service-section:nth-child(4) .section-title {
  color: #2dce89;
  background: rgba(45, 206, 137, 0.07);
}

.section-text {
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
  padding: 15px 20px;
  border-radius: 8px;
  background: rgba(45, 206, 137, 0.03);
  margin-top: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-section:nth-child(2) .section-text {
  background: rgba(45, 206, 137, 0.02);
  color: #37474f;
}

.service-section:nth-child(3) .section-text {
  background: rgba(45, 206, 137, 0.025);
  color: #37474f;
}

.service-section:nth-child(4) .section-text {
  background: rgba(45, 206, 137, 0.015);
  color: #37474f;
}

.back-button {
  display: inline-block;
  margin-bottom: 30px;
}

.back-button .btn {
  background: rgba(255, 255, 255, 0.9);
  color: #2dce89;
  border: 2px solid #2dce89;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.back-button .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 206, 137, 0.1), transparent);
  transition: left 0.5s ease;
}

.back-button .btn:hover::before {
  left: 100%;
}

.back-button .btn:hover {
  background: #2dce89;
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 10px 30px rgba(45, 206, 137, 0.3);
}

/* İstatistikler bölümü */
.stats-section {
  padding: 60px 0;
  background: white;
  margin: 40px 0;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
  background: conic-gradient(
    #28a745 0deg calc(3.6deg * 95),
    #e9ecef calc(3.6deg * 95) 360deg
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
  transition: all 0.3s ease;
}

.stat-circle::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  z-index: 1;
}

.stat-item:nth-child(1) .stat-circle {
  background: conic-gradient(
    #17a2b8 0deg calc(3.6deg * 85),
    #e9ecef calc(3.6deg * 85) 360deg
  );
  box-shadow: 0 10px 30px rgba(23, 162, 184, 0.2);
}

.stat-item:nth-child(2) .stat-circle {
  background: conic-gradient(
    #6f42c1 0deg calc(3.6deg * 75),
    #e9ecef calc(3.6deg * 75) 360deg
  );
  box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2);
}

.stat-item:nth-child(3) .stat-circle {
  background: conic-gradient(
    #fd7e14 0deg calc(3.6deg * 88),
    #e9ecef calc(3.6deg * 88) 360deg
  );
  box-shadow: 0 10px 30px rgba(253, 126, 20, 0.2);
}

.stat-item:nth-child(4) .stat-circle {
  background: conic-gradient(
    #28a745 0deg calc(3.6deg * 95),
    #e9ecef calc(3.6deg * 95) 360deg
  );
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.stat-item:hover .stat-circle {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.3);
}

.stat-item:nth-child(1):hover .stat-circle {
  box-shadow: 0 15px 40px rgba(23, 162, 184, 0.3);
}

.stat-item:nth-child(2):hover .stat-circle {
  box-shadow: 0 15px 40px rgba(111, 66, 193, 0.3);
}

.stat-item:nth-child(3):hover .stat-circle {
  box-shadow: 0 15px 40px rgba(253, 126, 20, 0.3);
}

.stat-item:nth-child(4):hover .stat-circle {
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 10px;
  animation: countUp 2s ease-out;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Özellik ikonları */
.feature-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-icon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-item i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 10px;
}

.feature-icon-item:nth-child(2) i {
  color: #17a2b8;
}

.feature-icon-item:nth-child(3) i {
  color: #6f42c1;
}

.feature-icon-item:nth-child(4) i {
  color: #fd7e14;
}

.feature-icon-item span {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 2rem;
  }

  .service-section {
    padding: 25px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

