/* --- Fullscreen Image Section --- */
.fullscreen-image-section {
  position: relative;
  margin: 0 40px;
  padding-bottom: 60px;
  height: 85vh;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  top: 40px; /* Yazıyı biraz daha yukarı çekmek için top azaltıldı */
}

.media-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s ease;
  box-sizing: border-box;
}

.clickable-area {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.clickable-area:hover .media-container {
  transform: scale(1.05); /* Hoverda hafif büyütme */
}

.background-image,
.hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  user-select: none;
  transition: opacity 0.5s ease;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
}

.hover-video {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.clickable-area:hover .hover-video {
  opacity: 1;
  pointer-events: auto;
}

.clickable-area:hover .background-image {
  opacity: 0.4;
}

/* Yazıların ortak stilleri */
.main-title,
.main-subtitle,
.information {
  position: absolute;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  user-select: none;
  max-width: 90vw;
  word-wrap: break-word;
  box-sizing: border-box;
  pointer-events: none;
  padding: 0 15px;
  z-index: 5;
}

/* JTW Films başlığı (Yukarıdan daha fazla mesafe) */
.main-title {
  top: 60px; /* Yukarıdan daha fazla mesafe */
  left: 40px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.3; /* Başlık ile alt yazı arasındaki mesafeyi artırır */
}

/* Alt başlık (Daha aşağıya kaydırma) */
.main-subtitle {
  top: 240px; /* Alt başlık daha aşağıya yerleştirildi */
  right: 40px;
  font-family: 'Chakra Petch', 'Segoe UI', sans-serif;
  font-size: 1.6rem;
  text-align: right;
  line-height: 1.5; /* Başlık ile alt başlık arasındaki mesafeyi artırır */
}


/* En alttaki bilgi yazısı sağ altta */
.information {
  bottom: 20px;
  right: 40px;
  font-family: 'Chakra Petch', 'Segoe UI', sans-serif;
  font-size: 1.4rem;
  text-align: left;
  line-height: 1.4;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}

/* Animasyon ve görünürlük ayarları */
.fullscreen-image-section,
.fullscreen-image-section .main-title,
.fullscreen-image-section .main-subtitle,
.fullscreen-image-section .information {
  opacity: 0;
  transform: translateY(20px);
  transition: none;
  pointer-events: none;
}

.fullscreen-image-section.scroll-visible,
.fullscreen-image-section.scroll-visible .main-title,
.fullscreen-image-section.scroll-visible .main-subtitle,
.fullscreen-image-section.scroll-visible .information {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fullscreen-image-section.scroll-visible .main-title {
  transition-delay: 0.3s;
}

.fullscreen-image-section.scroll-visible .main-subtitle {
  transition-delay: 0.5s;
}

.fullscreen-image-section.scroll-visible .information {
  transition-delay: 0.7s;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .fullscreen-image-section {
    margin: 0 30px;
    height: 75vh;
    top: 30px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  .main-title {
    top: 20px;
    left: 20px;
    font-size: 2rem;
    max-width: 80vw;
  }

  .main-subtitle {
    top: 105px; /* main-title'dan 80px aşağıda */
    right: 20px;
    font-size: 1.2rem;
    max-width: 80vw;
  }

  .information {
    bottom: 15px;
    right: 25px;
    font-size: 1.2rem;
    max-width: 85vw;
  }

  .media-container,
  .background-image,
  .hover-video {
    border-radius: 18px;
  }
}

@media (max-width: 768px) {
  .fullscreen-image-section {
    margin: 0 20px;
    height: 65vh;
    top: 20px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding-bottom: 50px;
  }

  .main-title {
    top: 20px;
    left: 20px;
    font-size: 2rem;
    max-width: 80vw;
  }

  .main-subtitle {
    top: 75px;
    right: 20px;
    font-size: 1.2rem;
    max-width: 80vw;
  }

  .information {
    bottom: 10px;
    right: 20px;
    font-size: 1rem;
    max-width: 80vw;
  }

  .media-container,
  .background-image,
  .hover-video {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .fullscreen-image-section {
    margin: 0 12px;
    height: 55vh;
    top: 15px;
    padding-bottom: 40px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .main-title {
    top: 15px;
    left: 15px;
    font-size: 1.6rem;
    max-width: 75vw;
  }

  .main-subtitle {
    top: 60px;
    right: 15px;
    font-size: 1rem;
    max-width: 75vw;
  }

  .information {
    bottom: 8px;
    right: 15px;
    font-size: 0.9rem;
    max-width: 75vw;
  }

  .media-container,
  .background-image,
  .hover-video {
    border-radius: 12px;
  }
}
