/* SAYFAYI YANA KAYMAYACAK ŞEKİLDE KİLİTLE */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
}

/* NAVBAR */
.navbar {
  padding: 1rem 0;
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* SLIDER GÖRSELLERİ */
.carousel-item img {
  height: 650px !important;
  object-fit: cover;
  width: 100% !important;
}

/* SLIDER YAZILARI */
.caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  width: 100%;
  z-index: 10;
  padding: 0 15px;
}

.carousel-caption h2 {
  font-size: 3.5rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.5rem;
}

/* BUTONLAR */
.btn-warning {
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
}

.btn-outline-warning:hover {
  background-color: #ffc107;
  color: #000;
}

/* KARTLAR */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

/* FOOTER */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

/* HİZMETLER */
.hizmetler-wrapper {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.hizmetler-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

.hizmetler-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.hizmet-kart {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hizmet-kart:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.hizmet-kart img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.hizmet-kart h3 {
  padding: 15px;
  font-size: 1.1rem;
  color: #333;
}

@media screen and (max-width: 768px) {
  .hizmetler-grid {
    flex-direction: column;
    align-items: center;
  }

  .hizmet-kart {
    width: 90%;
  }
}

/* REFERANSLAR */
.referanslar {
  padding: 60px 20px;
  background-color: #f7f7f7;
  text-align: center;
  overflow-x: hidden;
}

.referans-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.referans-kart {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 180px;
  height: 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
}

.referans-kart img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.referans-kart p {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin: 0;
}

.bolum-baslik {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #222;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px !important; /* Önemli ekledik */
  right: auto !important; /* Sağ konumu iptal ettik */
  width: 55px;
  height: 55px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.3s ease;
}


/* MOBİL SLIDER DÜZENLEMELERİ */
@media (max-width: 768px) {
  .carousel-caption h2 {
    font-size: 1.3rem !important;
    font-weight: bold;
    color: #fff !important;
    display: block !important;
  }

  .carousel-caption p {
    font-size: 1rem !important;
    color: #fff !important;
    margin-bottom: 10px;
    display: block !important;
  }

  .carousel-caption .btn {
    font-size: 0.9rem !important;
    padding: 8px 18px;
    display: inline-block !important;
  }

  .carousel-item img {
    height: 420px !important;
    object-fit: cover;
  }

  .caption-custom {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    width: 90%;
    color: #fff !important;
    text-align: center;
    display: block !important;
  }
}
body {
    background-color: #ffffff !important;
}
