/* Hero Section */
.hero-section {
    position: relative;
    background-color: #212529; /* Fallback color for cases without image */
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Image will be behind text */
}

.hero-section .hero-content {
    position: relative;
    z-index: 1; /* Ensures text is above the image */
    max-width: 80%;
    margin: 0 auto;
}

.hero-title {
    font-size: 24px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

/* Mobile Styling */
@media (max-width: 991px) {
    .hero-title {
        font-size: 18px;
    }

    .hero-section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 16px;
    }
}

/* Hizmetlerimiz Bölümü */
.services-section {
    padding: 60px 0;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .services-section .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #343a40;
  }
  
  .service-box {
    display: inline-block;
    margin: 20px;
    width: calc(33.33% - 40px); /* 3 sütun için */
    box-sizing: border-box;
    background-color: #fff; /* Beyaz arka plan */
    border-radius: 8px;
    padding: 20px; /* İç boşluk */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Gölgeleme efekti */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .service-image {
    width: 100%;
    height: 300px; /* Sabit yükseklik, daha estetik görünür */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px; /* Başlık ile resim arasında boşluk */
  }
  
  .service-description {
    padding: 10px;
  }
  
  .service-description h4 {
    font-size: 20px;
    font-weight: 600;
    color: #007bff;
    margin-top: 10px;
  }
  
  /* Mobil Cihazlar için Ayar (Alt Alta Görünüm) */
  @media (max-width: 767px) {
    .services-section {
      padding: 40px 0;
    }
  
    .services-section .section-title {
      font-size: 28px;
      margin-bottom: 30px;
    }
  
    /* Alt alta görünmesi için kutu genişliğini %100 yapıyoruz */
    .service-box {
      width: 100%; /* Her kutu tam genişlik alacak */
      margin-bottom: 20px; /* Kutu arasına boşluk ekleyelim */
    }
  
    .service-image {
      height: 250px; /* Mobilde daha küçük resim boyutu */
    }
  
    .service-description h4 {
      font-size: 18px;
    }
  }
  
  /* Tablet ve PC için Stil */
  @media (min-width: 768px) {
    .services-section .section-title {
      text-align: center;
    }
  
    .service-box {
      width: calc(33.33% - 40px); /* 3 sütun için */
    }
  
    .service-image {
      height: 300px; /* Tablet ve PC'de sabit yükseklik */
    }
  }

/* İş Yerimizden Görseller Bölümü */
.gallery-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .gallery-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 40px;
  }
  
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
  }
  
  .gallery-item {
    width: calc(33.33% - 20px); /* 3 sütun düzeni */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 250px; /* Yüksekliği belirledik, böylece resimler çok büyük olmayacak */
    object-fit: cover; /* Resmi kutuya düzgün şekilde sığdırma */
  }
  
  @media (max-width: 767px) {
    .gallery-container {
      display: block;
    }
  
    .gallery-item {
      width: 100%; /* Alt alta sıralanacak şekilde her bir kutuya %100 genişlik */
      margin-bottom: 20px; /* Alt alta sıralarken aralarına boşluk ekleyelim */
    }
  
    .gallery-section .section-title {
      font-size: 28px;
      margin-bottom: 30px;
    }
  }
  
  @media (min-width: 768px) {
    .gallery-item {
      width: calc(33.33% - 20px); /* 3 sütun düzeni */
    }
  }   