/* ══ KURS OTOMATİK HERO SLIDER ══ */
.kurs-hero-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0f1f1e;
  display: flex;
  align-items: flex-end;
  padding: 0 0 10vh;
  isolation: isolate; 
  z-index: 1;
}

.k-bg-layer {
  position: absolute; 
  inset: 0;
  opacity: 0; 
  z-index: 1;
  transition: opacity 1.4s ease-in-out, transform 4s ease-out;
  transform: scale(1.06);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.k-bg-layer.active { 
  opacity: 1; 
  transform: scale(1); 
  z-index: 3;
}

.k-bg-layer.was-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
  transition: none; 
}

.k-bg-layer img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  filter: blur(5px) brightness(0.4) saturate(1.15); 
  transform: scale(1.1); 
}

.k-overlay {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(to top, rgba(15,31,30,1) 0%, rgba(15,31,30,.5) 40%, rgba(15,31,30,0) 100%);
}

.k-hero-body { 
  position: relative; z-index: 5; 
  width: 100%; padding: 0 5vw; 
  display: flex; align-items: flex-end; 
}

.k-text-layer { 
  position: absolute; bottom: 0; left: 5vw; 
  max-width: 800px; 
  opacity: 0; transform: translateY(30px); 
  transition: opacity 1s ease, transform 1s ease; pointer-events: none; 
}
.k-text-layer.active { 
  opacity: 1; transform: translateY(0); 
  pointer-events: auto; 
}

.hero-title { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(3.5rem, 7vw, 8.5rem); 
  font-weight: 300; line-height: 1; 
  color: #fff; margin-bottom: 24px; 
  text-transform: uppercase; 
}
.hero-title em { color: var(--teal); font-style: italic; text-transform: lowercase; }

.hero-sub { 
  font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.8; 
  color: rgba(255,255,255,0.85); font-weight: 300; 
  max-width: 600px; 
}

.hero-bottom-bar { 
  position: absolute; bottom: 40px; left: 5vw; right: 5vw; 
  display: flex; justify-content: space-between; align-items: flex-end; z-index: 6; 
}
.hero-scroll-ind { display: flex; align-items: center; gap: 16px; }
.hs-label { 
  font-family: 'Space Mono', monospace; font-size: 0.65rem; 
  letter-spacing: 0.25em; color: var(--teal); text-transform: uppercase; 
}
.hs-line { width: 60px; height: 1px; background: rgba(42, 157, 143, 0.4); }

.kurs-dots { display: flex; gap: 14px; }
.kurs-dot { 
  width: 8px; height: 8px; border-radius: 50%; 
  background: rgba(255,255,255,0.3); cursor: pointer; 
  transition: all 0.4s ease; 
}
.kurs-dot:hover { background: rgba(255,255,255,0.6); }
.kurs-dot.active { background: #fff; transform: scale(1.5); }

/* ══ KURS EKİP BÖLÜMÜ ══ */
.k-team-section { 
  position: relative; 
  z-index: 10;
  background: #081110; 
  padding: 160px 5vw; 
  border-top: 1px solid rgba(255, 255, 255, 0.05); 
  border-bottom: 1px solid rgba(42,157,143,0.15); 
  transform: translateZ(0); 
  backface-visibility: hidden;
  contain: paint; 
}
.k-sec-title { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(2.8rem,5.5vw,6.5rem); 
  font-weight: 300; line-height: .9; 
  margin-bottom: 80px; text-align: center; color: #fff; 
}
.k-sec-title em { color: var(--teal); font-style: italic; }

.k-team-grid { 
  display: grid; grid-template-columns: repeat(5, 1fr); 
  gap: 16px; margin-top: 60px; 
}
.k-team-item { 
  position: relative; border-radius: 18px; overflow: hidden; 
  cursor: pointer; aspect-ratio: 3/4; transition: all .6s; 
  filter: saturate(.7) brightness(.85); 
  border: 1px solid rgba(255,255,255,0.05); 
}
.k-team-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.k-team-item:hover { 
  transform: translateY(-15px) scale(1.02); 
  filter: saturate(1) brightness(1.05); 
  z-index: 12; box-shadow: 0 25px 50px rgba(0,0,0,0.6); 
  border: 1.5px solid var(--teal); 
}
.k-team-item:hover img { transform: scale(1.06); }
.k-team-item-name { 
  position: absolute; bottom: 28px; left: 24px; right: 24px;
  font-family: 'Playfair Display', serif; font-size: 1.8rem; 
  color: #fff; z-index: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.9); 
}
.k-team-item::after { 
  content: ''; position: absolute; inset: 0; 
  background: linear-gradient(to top, rgba(15,31,30,0.95) 0%, transparent 60%); z-index: 1; 
}

/* ══ KURS POP-UP OVERLAY ══ */
#k-team-overlay {
  position: fixed; inset: 0; 
  background: rgba(15, 31, 30, 0.98);
  backdrop-filter: blur(20px); 
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease; 
  z-index: 999999;
  cursor: auto;
}
#k-team-overlay.open { opacity: 1; pointer-events: auto; }
.k-to-content { display: flex; width: 100%; max-width: 1400px; height: 100vh; align-items: center; }

#k-to-close {
  position: absolute; top: 40px; right: 40px; 
  width: 60px; height: 60px;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.3); 
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s ease; z-index: 100000;
}
#k-to-close svg { width: 26px; height: 26px; stroke: #fff; transition: transform .4s ease; pointer-events: none; }
#k-to-close:hover { background: #fff; border-color: #fff; }
#k-to-close:hover svg { stroke: #0f1f1e; transform: rotate(90deg); }

.k-to-left { width: 44%; height: 100vh; position: relative; padding: 4vw; display: flex; align-items: center; justify-content: center; }
.k-to-left img { width: 100%; max-height: 80vh; object-fit: cover; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.6); }
.k-to-right { width: 56%; padding: 0 6vw; display: flex; flex-direction: column; justify-content: center; }

#k-to-role { 
  font-family: 'Space Mono', monospace; font-size: 0.9rem; 
  letter-spacing: 0.3em; color: var(--teal); margin-bottom: 20px; 
  text-transform: uppercase; font-weight: bold; 
}
#k-to-name { 
  font-family: 'Playfair Display', serif; font-size: 4.5rem; 
  line-height: 1.1; margin-bottom: 30px; color: #fff; font-weight: 300; 
}
#k-to-desc { 
  font-size: 1.2rem; line-height: 1.8; color: rgba(255,255,255,0.7); 
  max-width: 600px; 
}

/* ══ HOVER VİDEO STİLLERİ ══ */
.hover-videos-section {
  width: 100%;
  padding: 80px 5vw;
  box-sizing: border-box;
  background: #0f1f1e; 
}

.hover-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.video-hover-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9 / 16; 
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  z-index: 1;
}

.video-hover-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); 
  transition: filter 0.4s ease;
}

.video-hover-card:hover {
  transform: scale(1.05); 
  box-shadow: 0 20px 40px rgba(42, 157, 143, 0.3); 
  z-index: 10; 
}

.video-hover-card:hover video {
  filter: brightness(1); 
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hover-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .k-team-grid { grid-template-columns: repeat(3, 1fr); }
  #k-to-name { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .k-team-grid { grid-template-columns: repeat(1, 1fr); gap: 20px; }
  .k-to-content { flex-direction: column; justify-content: flex-start; padding-top: 80px; overflow-y: auto; }
  .k-to-left { width: 100%; height: auto; padding: 20px; }
  .k-to-left img { max-height: 45vh; }
  .k-to-right { width: 100%; padding: 20px 20px 60px; text-align: center; align-items: center; }
  #k-to-name { font-size: 2.8rem; margin-bottom: 15px; }
  #k-to-close { top: 20px; right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 600px) {
  .hover-videos-grid { grid-template-columns: repeat(1, 1fr); }
}

#cur-dot { z-index: 99999999 !important; }