/* ============================================================================
   HİZMETLERİMİZ SECTION CSS - MODERN & RESPONSIVE
   ============================================================================ */

/* Ana Bölüm */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section.bg-light {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.services-section::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"><defs><pattern id="services-grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%23007bff" stroke-width="0.3" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23services-grid)"/></svg>');
  pointer-events: none;
}

.services-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 80px 0;
}

/* Row yapısı */
.services-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.services-section .col-lg-12 {
  width: 100%;
  padding: 0 15px;
}

.services-section .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.services-section .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Section Title */
.services-section .section-title {
  margin-bottom: 60px;
}

.services-section .section-title.text-center {
  text-align: center;
}

.services-section .section-title .subtitle {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.services-section .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.services-section .section-title h2 span {
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-section .section-title p {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Card */
.service-card {
  background: rgb(0, 0, 0);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
  border-color: rgba(255, 252, 252, 0.1);
}

/* Service Icon */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.service-icon i {
  font-size: 32px;
  color: white;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

/* Service Title */
.service-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover h4 {
  color: #007bff;
}

/* Service Description */
.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Service Features */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #ebebeb;
  font-size: 14px;
  transition: all 0.3s ease;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #007bff;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

.service-card:hover .service-features li {
  color: #957fcf;
  transform: translateX(3px);
}

.service-card:hover .service-features li::before {
  color: #0056b3;
  transform: scale(1.2);
}

/* Service Link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  margin-top: auto;
}

.service-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transition: width 0.3s ease;
}

.service-link:hover::before {
  width: calc(100% - 25px);
}

.service-link:hover {
  color: #0056b3;
  text-decoration: none;
  transform: translateX(5px);
}

.service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Hover Animation for Cards */
.service-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-section .section-title h2 {
    font-size: 36px;
  }

  .service-card {
    padding: 35px 25px;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }

  .services-section .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .services-section .section-title h2 {
    font-size: 32px;
  }

  .service-card {
    padding: 30px 25px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 28px;
  }

  .service-card h4 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .services-section .container {
    padding: 0 15px;
  }

  .services-section .col-lg-4,
  .services-section .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .services-section .section-title h2 {
    font-size: 28px;
  }

  .services-section .section-title p {
    font-size: 16px;
  }

  .service-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
  }

  .service-icon i {
    font-size: 26px;
  }

  .service-card h4 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .service-features {
    margin-bottom: 20px;
  }

  .service-features li {
    font-size: 13px;
    padding: 6px 0;
    padding-left: 20px;
  }

  .service-link {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }

  .services-section .section-title {
    margin-bottom: 40px;
  }

  .services-section .section-title h2 {
    font-size: 24px;
  }

  .services-section .section-title .subtitle {
    font-size: 12px;
    padding: 6px 15px;
  }

  .service-card {
    padding: 25px 20px;
    text-align: center;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  }

  .service-icon i {
    font-size: 24px;
  }

  .service-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
  }

  .service-features {
    margin-bottom: 20px;
    text-align: left;
  }

  .service-features li {
    font-size: 12px;
    padding: 5px 0;
    padding-left: 18px;
  }

  .service-link {
    font-size: 12px;
    justify-content: center;
  }
}

/* Special Effects */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

/* Icon specific colors */
.service-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #28a745, #20a03a);
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

.service-card:nth-child(5) .service-icon {
  background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.service-card:nth-child(6) .service-icon {
  background: linear-gradient(135deg, #fd7e14, #e8650e);
}
