/* ===============================
   1. WRAP / ITASHA ÖZEL TASARIM ALANI
   Yapı: Solda yazı - Sağda görsel/video
   =============================== */
   .custom-image-text-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 80px;
    flex-wrap: wrap;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
    color: white;
    max-width: 1200px;
    width: 100%;
  }
  
  .custom-text-column {
    flex: 1 1 45%;
    max-width: 45%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease;
    min-width: 280px;
  }
  
  /* Scroll ile görünür olduğunda animasyon başlasın */
  .extra-section.animate-in .custom-text-column {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
  }
  
  .custom-text-column h2 {
    font-weight: 700;
    font-size: 1.9rem;
    margin: 30px 0 10px 0;
    color: #ff0015;
    letter-spacing: 1px;
  }
  
  .custom-text-column p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.9;
    color: #ddd;
  }
  
  .custom-text-column strong {
    color: #fff;
    font-weight: 700;
  }
  
  .custom-text-column i {
    margin-right: 6px;
    color: #ff0015;
  }
  
  .custom-image-card {
    flex: 1 1 50%;
    max-width: 50%;
    height: 500px; /* Masaüstü için sabit yükseklik */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(255, 0, 21, 0.6);
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.5s ease;
    min-width: 320px;
  }
  
  /* Scroll ile görünür olduğunda animasyon başlasın */
  .extra-section.animate-in .custom-image-card {
    opacity: 1;
    transform: scale(1);
  }
  
  .custom-media-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .custom-media-container img,
  .custom-media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: opacity 0.4s ease;
    background: none;
    display: block;
    pointer-events: none;
    user-select: none;
    z-index: 1;
  }
  
  .custom-media-container img {
    opacity: 1;
    z-index: 1;
  }
  
  .custom-media-container video {
    opacity: 0;
    z-index: 2;
    pointer-events: auto;
    user-select: auto;
  }
  
  /* ===============================
     HOVER ANİMASYONLARI - SADECE BÜYÜK EKRANLAR İÇİN
     =============================== */
  @media (hover: hover) and (pointer: fine) and (min-width: 769px) {
    .custom-image-card:hover .custom-media-container video {
      opacity: 1;
    }
    .custom-image-card:hover .custom-media-container img {
      opacity: 0;
    }
  }
  
  /* ===============================
     3. BASIC INTRO / EN GENEL FİLM TANITIM BLOĞU
     =============================== */
  .basic-intro {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px 40px;
    font-family: 'Chakra Petch', sans-serif;
    color: #fff;
    background-color: transparent;
    border: 2px solid #ff0015;
    border-radius: 12px;
    text-align: center;
  }
  
  .basic-title {
    color: #ff0015;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 25px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .basic-paragraph {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* ===============================
     4. RESPONSIVE (Mobil, Tablet, iOS, Android)
     =============================== */
  
  /* Tablet ve küçük masaüstü */
  @media (max-width: 1024px) {
    .custom-text-column {
      max-width: 100%;
      flex: 1 1 100%;
      padding-left: 10px;
      text-align: center;
      align-items: center;
    }
  
    .custom-image-card {
      max-width: 100%;
      flex: 1 1 100%;
      height: 400px; /* Tablet için daha kısa */
      min-width: unset;
    }
  
    .custom-image-text-wrapper {
      padding-top: 60px;
    }
  }
  
  /* Mobil ve küçük tablet */
  @media (max-width: 768px) {
    .custom-image-text-wrapper {
      flex-direction: column;
      gap: 20px;
      padding: 12px 20px;
    }
  
    .custom-text-column,
    .custom-image-card {
      max-width: 100%;
      height: auto; /* yükseklik içeriğe göre */
      min-width: unset;
    }
  
    .custom-media-container {
      position: relative; /* önemli: absolute'tan relative'a çevirdik */
      height: auto;
      aspect-ratio: 16 / 9; /* Görsel/video oranını koru */
      overflow: hidden;
    }
  
    .custom-media-container img,
    .custom-media-container video {
      position: relative; /* static değil relative */
      width: 100%;
      height: auto;
      border-radius: 16px;
      object-fit: cover;
    }
  }
  
  /* Daha küçük telefonlar için (ör: iPhone SE, Android küçük cihazlar) */
  @media (max-width: 480px) {
    .custom-text-column h2 {
      font-size: 1.5rem;
    }
  
    .custom-text-column p {
      font-size: 1.1rem;
    }
  
    .basic-title {
      font-size: 2rem;
    }
  
    .basic-paragraph {
      font-size: 1.1rem;
    }
  
    /* Mobilde video hover animasyonunu tamamen devre dışı bırak (ekstra güvenlik) */
    .custom-image-card:hover .custom-media-container video,
    .custom-image-card:hover .custom-media-container img {
      opacity: unset !important;
    }
  }
  