.hero2-banner {
  position: relative;
  width: 75%;
  max-width: 1800px;
  margin: 0 auto;
  margin-bottom: 30px !important; /* Görselin altına boşluk ekler */
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Görsel oranı korunsun */
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
 }

.hero2-slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px 30px;
  border-radius: 20px;
  z-index: 2;
}

.hero2-slogan h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  display: inline-block;
  animation: zoomInOut 4s ease-in-out infinite;
}
