.banner {
  position: relative;
  background: url("../img/ana-sayfa/header.avif") center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  text-align: center;
  color: white;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 34, 0, 0.4);
  /* Siyah, %50 saydam */
  z-index: 0;
}

.banner>div {
  z-index: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #1a1a1a;
  padding: 5px 16px;
  font-weight: bold;
  border-radius: 4px;
}

.button span {
  background: #bea554;
  color: white;
  padding: 10px;
  margin-left: 8px;
}

/* --- */
.stats-section {
  background: url("../img/ana-sayfa/home2.avif") center right/cover no-repeat;
  background-attachment: fixed;
  border-radius: 16px;
  padding: 50px 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-section {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .stats-section {
    background-attachment: local;
  }
}

.stat-item {
  font-size: 1.5rem;
  font-weight: bold;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
}

/* --- */
.slider-container {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.slider-container button {
  background-color: #333;
  color: white;
  border: 3px solid #a68e3f;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 33.33%;
  /* Masaüstünde 3 resim görünmesi için */
  box-sizing: border-box;
  padding: 20px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease-in-out;
}

.slide:hover {
  border-color: #a68e3f;
  /* Üzerine gelince kenarlık rengi değişsin */
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
    /* Mobilde tek resim görünsün */
  }

  .slide img {
    width: 100vw;
    height: auto;
  }

  .slider-container {
    width: 100%;
  }
}

/* --- */
.about-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

.about-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.about-content {
  flex: 1;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
}

@font-face {
  font-family: "MyFont";
  /* Fonta vereceğin isim, istediğin gibi adlandırabilirsin */
  src: ("../img/assets/fonts/Euclid Circular A Regular.ttf") format("truetype");
  font-weight: normal;
  /* Normal ağırlık */
  font-style: normal;
  /* Normal stil */
}

@font-face {
  font-family: "MyFont";
  src: url("../assets/fonts/myfont-bold.ttf") format("truetype");
  font-weight: bold;
  /* Kalın ağırlık */
  font-style: normal;
}