:root {
  --red: #ff0015;
  --white: #ffffff;
  --bg-dark: #121212;
}

/* Genel Ayarlar */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Chakra Petch', 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* Video Item */
.video-item {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-item.active {
  display: block;
  z-index: 5;
}

/* Ana video kapsayıcısı */
.main-image {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: black;
  z-index: 0;
}

.main-image video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;      /* genişliği ekranı dolduracak */
  height: 100%;     /* yüksekliği ekranı dolduracak */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* ekranı kırp ve taşan kısmı gizle */
  z-index: 1;
  will-change: transform, opacity;
  backface-visibility: hidden;
  pointer-events: none;
}


/* Detay içerik */
.details-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 1200px;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  pointer-events: none;
  gap: 30px;
  flex-wrap: wrap;
  z-index: 10;
  padding: 0 20px;
  box-sizing: border-box;
}

.details-left,
.details-center,
.details-right,
.details-bottom {
  pointer-events: auto;
  box-sizing: border-box;
}

/* SOL BLOK */
.details-left {
  flex: 0 0 280px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: left;
  font-size: 2rem;
  color: var(--red);
}

.details-left strong {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.details-left p {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  color: white;
  margin: 0;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
}

/* ORTA BLOK */
.details-center {
  flex: 1 1 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.details-center h1 {
  color: var(--red);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  user-select: none;
  word-wrap: break-word;
}

/* SAĞ BLOK */
.details-right {
  flex: 0 0 280px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: right;
  font-size: 2rem;
  color: var(--red);
}

.details-right strong {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.details-right p {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: white;
  margin: 0;
  max-width: 100%;
  word-wrap: break-word;
}

/* ALT BLOK (Click for more) */
.details-bottom {
  position: relative;
  margin-top: 20px;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 15;
}

.details-bottom .click-more {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: white;
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.details-bottom .click-more:hover {
  color: var(--red);
}

/* Video indikatörleri */
.video-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.video-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-indicator.active {
  transform: scale(1.2);
}

.progress-ring {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(rgba(200, 9, 9, 0.7) 0deg, transparent 0deg);
  z-index: -1;
  pointer-events: none;
}


/* Tablet ve büyük telefonlar */
@media (max-width: 1024px) {
  .details-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .details-left, .details-right {
    text-align: center;
    flex: none;
    width: 100%;
  }

  .details-bottom {
    justify-content: center;
  }

  .main-image video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

/* Küçük tablet ve telefonlar */
@media (max-width: 768px) {
  .details-left, .details-center, .details-right {
    font-size: 1.2rem;
  }

  .details-left strong, .details-right strong {
    font-size: 1.5rem;
  }

  .details-center h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .details-bottom .click-more {
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: 6px 12px;
  }

  .main-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Küçük telefonlar */
@media (max-width: 480px) {
  .details-left, .details-center, .details-right {
    font-size: 1rem;
  }

  .details-left strong, .details-right strong {
    font-size: 1.2rem;
  }

  .details-center h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .details-bottom .click-more {
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    padding: 4px 10px;
  }

  .main-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}