body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

header {
    background-image: url("../images/header-bg.jpg"); /* kendi resim yolunu buraya yaz */
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    color: white;
    text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* SLAYT */
.slideshow-container {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.mySlides {
  display: none;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GEÇİŞ */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* HOŞGELDİNİZ */
#intro {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

/* HİZMETLER */
#services {
  background-color: #eaeaea;
  padding: 30px;
  text-align: center;
}

#services ul {
  list-style: none;
  padding: 0;
}

#services li {
  margin: 10px 0;
}

/* PROJELER */
#projects {
  display: flex;
  flex-wrap: wrap; /* Kutular alt alta geçebilir */
  justify-content: space-between; /* Kutular arasında boşluk bırakır */
  gap: 20px; /* Kutular arasında boşluk bırakır */
  padding: 30px;
  background-color: #fff;
}

/* Proje kutuları */
.project {
  width: calc(33.33% - 20px); /* 3 kutu yan yana, gap'ı hesaba katarak */
  background-color: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.project img {
  width: 100%;
  height: 200px; /* Sabit yükseklik */
  object-fit: cover; /* Resmi düzgün hizala, taşma olmadan */
  display: block;
}

/* Mobilde alt alta sıralama */
@media (max-width: 768px) {
  .project {
    width: 100%; /* Mobilde kutular tam genişlikte olacak */
  }
}

}

/* FOOTER */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
