/* home_page.css */

/* — Genel Düzenleme — */
.home_page {
  position: relative;
  min-height: 100vh;
}

/* — HERO / SLIDER BÖLÜMÜ — */
.hero-slider {
  position: relative  ;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: 2rem;
  margin-top: -73px; /* Yaklaşık header yüksekliği */
  z-index: 0;
}

.home-page-slider {
  width: 100%;
  height: 100%;
}
.home-page-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.home-page-slider .slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.home-page-slider .slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Opaklığı %30 olan siyah overlay */
  pointer-events: none;
}

.home-page-slider .slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.home-page-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* — Prev / Next Butonları — */
.prev-home-slide,
.next-home-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  z-index: 5;
}

.prev-home-slide {
  left: 1rem;
}

.next-home-slide {
  right: 1rem;
}

.prev-home-slide:hover,
.next-home-slide:hover {
  background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 50vh; /* Mobilde daha kısa */
  }
  .prev-home-slide,
  .next-home-slide {
    font-size: 1.25rem;
    padding: 0.4rem 0.6rem;
  }
}

/* — HAKKIMIZDA BÖLÜMÜ — */
.about {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.about .container h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about .container p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.about-cards .card {
  background-color: #fff;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-cards .card i {
  margin-bottom: 1rem;
  color: #ff7f00;
}

.about-cards .card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-cards .card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* — HİZMETLERİMİZ BÖLÜMÜ — */
.services-overview {
  padding: 4rem 0;
}

.services-overview .container h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-item {
  background-color: #fff;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.service-item i {
  color: #ff7f00;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.service-item .learn-more {
  font-size: 0.95rem;
  color: #ff7f00;
  font-weight: 500;
}

.service-item .learn-more:hover {
  text-decoration: underline;
}

/* — PORTFÖY ÖRNEKLERİ — */
.home-portfolio {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.home-portfolio .container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.home-portfolio .container p {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.portfolio-gallery img {
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.portfolio-gallery img:hover {
  transform: scale(1.05);
}

/* — VİZYONUMUZ — */
.vision {
  padding: 4rem 0;
}

.vision .container h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.vision-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: disc inside;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1rem;
}

/* — RESPONSIVE DÜZENLEMELER — */
@media (max-width: 768px) {
  .about-cards,
  .services-list {
    flex-direction: column;
  }
  .portfolio-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .vision-list {
    padding-left: 0.5rem;
  }
}
