/* === SERVICE SECTION CONTAINER - TÜM SAYFALAR İÇİN === */

/* Temel service section container stili - eski style.css'ten */
.service_section .service_container {
  -webkit-box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.15) !important;
          box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.15) !important;
  padding: 30px 15px !important; /* Padding azaltıldı 45px'den 30px'e */
  margin: 0 25px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
}

/* HİZMETLER SAYFASI - 3'LÜ DÜZENİ VE KOMPAKT TASARIM */
.service_section .hizmet-box {
  background: #fff !important;
  padding: 15px 10px !important;
  border-radius: 10px !important;
  text-align: center !important;
  height: 280px !important; /* Yükseklik arttırıldı (240'dan 280'e) */
  width: 100% !important;
  max-width: 320px !important; /* Genişlik arttırıldı 3'lü düzen için (260'dan 320'ye) */
  min-width: 320px !important;
  transition: all 0.3s ease !important;
  border: 1px solid #f0f0f0 !important;
  margin: 10px auto !important; /* Margin arttırıldı */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* 3'LÜ DÜZENİ İÇİN COLUMN AYARLARI */
.service_section .container .row .col-md-6,
.service_section .container .row .col-lg-3 {
  flex: 0 0 33.333333% !important; /* 3'lü düzen için */
  max-width: 33.333333% !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  justify-content: center !important;
}

/* Hizmet kutuları genel düzenleme */
.service_section .hizmet-box .box {
  padding: 0 !important; /* Padding kaldırıldı */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* İKON BOYUTU %25 BÜYÜTME - 3'LÜ DÜZENİ İÇİN */
.service_section .container .row .col-md-6 .hizmet-box .box .img-box,
.service_section .container .row .col-lg-3 .hizmet-box .box .img-box,
.hizmet-box .box .img-box,
.service_section .hizmet-box .box .img-box {
  height: 130px !important; /* BÜYÜTÜLDÜ (100'den 130'a) */
  width: 130px !important; /* BÜYÜTÜLDÜ (100'den 130'a) */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 10px auto 12px auto !important; /* Margin arttırıldı */
  max-height: 130px !important;
  max-width: 130px !important;
}

.service_section .container .row .col-md-6 .hizmet-box .box .img-box img,
.service_section .container .row .col-lg-3 .hizmet-box .box .img-box img,
.hizmet-box .box .img-box img,
.service_section .hizmet-box .box .img-box img {
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* YAZI ALANI DÜZENLEMESİ - OKUNUR BOYUTLAR */
.service_section .hizmet-box .box .detail-box {
  margin-top: 0 !important;
  padding: 0 8px !important; /* Yan padding eklendi */
  flex-grow: 1 !important; /* Kalan alanı kaplasın */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.service_section .hizmet-box .box .detail-box h5 {
  margin: 0 0 8px 0 !important; /* Alt margin arttırıldı */
  font-size: 16px !important; /* Okunur boyut geri döndürüldü */
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: #252525 !important;
}

.service_section .hizmet-box .box .detail-box p {
  margin: 0 !important;
  font-size: 14px !important; /* Okunur boyut geri döndürüldü */
  line-height: 1.4 !important;
  color: #666 !important;
  overflow: hidden !important; /* Taşan metni gizle */
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important; /* Max 3 satır (4'ten 3'e) */
  -webkit-box-orient: vertical !important;
}

/* Hover efekti ayarları */
.service_section .hizmet-box:hover {
  transform: translateY(-3px) !important; /* Hover efekti azaltıldı */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: #f07b26 !important;
}

/* Hizmet detay sayfası için özel stiller - değişmedi */
.service_section .img-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.service_section .img-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.service_section .detail-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.service_section .hizmet-content {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

/* MOBİL RESPONSIVE - 3'LÜ DÜZENİ */
@media (max-width: 768px) {
  .service_section .service_container {
    margin: 0 15px !important;
    padding: 20px 10px !important;
  }
  
  /* Mobilde 2'li düzen */
  .service_section .container .row .col-md-6,
  .service_section .container .row .col-lg-3 {
    flex: 0 0 50% !important; /* Mobilde 2'li düzen */
    max-width: 50% !important;
  }
  
  .service_section .hizmet-box {
    height: 240px !important; /* Mobilde daha küçük */
    max-width: 180px !important;
    min-width: 180px !important;
  }
  
  .service_section .hizmet-box .box .img-box {
    height: 90px !important; /* Mobilde küçük */
    width: 90px !important;
  }
  
  .service_section .img-box,
  .service_section .detail-box {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  /* Maliyet sayfası için responsive tablo */
  .service_section form table, 
  .service_section form table colgroup, 
  .service_section form table tr, 
  .service_section form table td {
    display: block;
    width: 100% !important;
  }
  
  .service_section form table tr {
    margin-bottom: 15px;
  }
  
  .service_section form table td {
    margin-bottom: 10px;
  }

  /* Tablet için 3'lü düzen devam */
  @media (min-width: 769px) and (max-width: 1024px) {
    .service_section .hizmet-box {
      max-width: 280px !important;
      min-width: 280px !important;
    }
  }
}