.projects-header {
  position: relative;
  background: url("../img/projeler/projeler-header.avif") center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-weight: bold;
}

.projects-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(98, 86, 10, 0.4);
  /* Mavi overlay */
}

.projects-content {
  position: relative;
  z-index: 10;
}

.button {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #1a1a1a;
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

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

/* Stats Section */
.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;
}

.stat-item {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.slider-container button {
  background-color: #333;
  color: white;
  border: 3px solid #a68e3f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-container button:hover {
  background-color: #a68e3f;
  transform: scale(1.1);
}

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

.slide {
  flex: 0 0 33.33%;
  box-sizing: border-box;
  padding: 20px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease;
}

.slide:hover {
  border-color: #a68e3f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.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);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: #a68e3f;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* About Section */
.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;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

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

.about-content {
  flex: 1;
}

.about-content h2 {
  color: #a68e3f;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Filtreleme Butonları (Proje Sayfası Gibi Estetik) */
.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn.active {
  background-color: #a68e3f;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-btn.inactive {
  background-color: #d1d5db;
  color: #333;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn img {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

.filter-btn-container {
  display: flex;
  gap: 1rem;
}

/* Font Tanımlama */
@font-face {
  font-family: "MyFont";
  src: url("../img/assets/fonts/Euclid Circular A Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont";
  src: url("../assets/fonts/myfont-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* Responsive Düzenlemeler */
@media (min-width: 768px) {
  .stats-section {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 1024px) {
  .navbar .menu1 {
    gap: 0.75rem;
  }

  .slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .navbar .menu1 {
    display: none;
  }

  #menuButton {
    display: block;
    /* Mobilde görünür */
  }

  .mobile-menu a {
    font-size: 1.25rem;
  }

  .stats-section {
    background-attachment: local;
    padding: 30px 15px;
  }

  .slide {
    flex: 0 0 100%;
  }

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

  .slider-container {
    width: 100%;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .filter-btn-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .filter-btn img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 450px) {
  .navbar {
    padding: 0.75rem;
  }

  .mobile-menu a {
    font-size: 1rem;
    margin: 0.75rem 0;
  }

  #menuButton {
    font-size: 1.75rem;
  }

  #closeMenu {
    font-size: 1.5rem;
  }

  .banner {
    height: 50vh;
    padding: 3%;
  }

  .stat-item {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .filter-btn {
    font-size: 0.85rem;
  }

  .filter-btn img {
    width: 18px;
    height: 18px;
  }
}