@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

/* ==========================================================================
   PROF. DR. ERKAN KARATAŞ - KBB VİTRİN & MEDYA BÖLÜMÜ
   MODEL 1: ORİJİNAL LÜKS TIBBİ KONTRAST (BUZ MAVİSİ & BEYAZ KRİSTAL ZEMİN)
   GENİŞLETİLMİŞ DOLGUN TABLO MİMARİSİ (SIFIR BOŞLUK & BÜYÜK HD VİDEO)
   Tasarım Dokunulmazlığı ve Katı İzolasyon Standartlarına Uygun Scoped CSS
   ========================================================================== */

#kbb-vitrin,
.showcase-compact,
.showcase--single-row {
  --kbb-serif: 'Playfair Display', Georgia, serif;
  --kbb-sans: 'DM Sans', Arial, sans-serif;
  
  display: grid;
  grid-template-columns: 30% 34% 36%;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--kbb-sans);
  
  /* BUZ MAVİSİ & BEYAZ KRİSTAL ZEMİN (FULL WIDTH) */
  background: #ffffff;
  border-top: 1px solid #d5ebf4;
  border-bottom: 1px solid #d5ebf4;
  border-left: none;
  border-right: none;
  box-shadow: 0 10px 30px rgba(8, 64, 80, 0.06);
  height: 560px;
  max-height: 560px;
  min-height: 560px;
  position: relative;
}

#kbb-vitrin *,
.showcase-compact * {
  box-sizing: border-box;
}

#kbb-vitrin a,
.showcase-compact a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   1. KOLON: SOL EDİTORYAL ANATOMİ (DOLGUN 560PX TABLO BOYUTU)
   ========================================================================== */
#kbb-vitrin .c-hero {
  position: relative;
  height: 560px;
  max-height: 560px;
  display: flex;
  align-items: flex-end;
  background-image: url('../kbb-vitrin/anatomy.jpg');
  background-size: cover;
  background-position: 60% center;
  overflow: hidden;
}

#kbb-vitrin .c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 25, 40, 0.95) 0%, rgba(3, 30, 48, 0.82) 65%, rgba(3, 35, 55, 0.3) 100%),
              linear-gradient(0deg, rgba(2, 18, 30, 0.75) 0%, transparent 60%);
  z-index: 1;
}

#kbb-vitrin .c-hero__content {
  position: relative;
  z-index: 2;
  padding: 32px clamp(24px, 3.5vw, 60px);
  color: #ffffff;
  max-width: 480px;
  width: 100%;
}

#kbb-vitrin .c-hero__eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #65bdc2;
  margin: 0 0 8px;
  text-transform: uppercase;
}

#kbb-vitrin .c-hero h2 {
  font: 500 clamp(24px, 2vw, 34px)/1.15 var(--kbb-serif);
  color: #ffffff;
  margin: 0 0 10px;
}

#kbb-vitrin .c-hero h2 em {
  color: #7de8f4;
  font-style: italic;
}

#kbb-vitrin .c-hero p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #d2ecf4;
  margin: 0 0 16px;
  max-width: 360px;
}

#kbb-vitrin .c-hero a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

#kbb-vitrin .c-hero a:hover {
  gap: 14px;
  color: #7de8f4;
}

#kbb-vitrin .c-hero a span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #65bdc2;
  color: #65bdc2;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: transform 0.25s ease, background 0.25s ease;
}

#kbb-vitrin .c-hero a:hover span {
  background: #65bdc2;
  color: #041419;
  transform: rotate(45deg);
}

/* ==========================================================================
   2. KOLON: ORTA TEDAVİ ALANLARIMIZ (SÜTUNU TAM DOLDURAN GENİŞ KARTLAR)
   ========================================================================== */
#kbb-vitrin .c-dir {
  height: 560px;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px clamp(18px, 2.2vw, 36px);
  background: linear-gradient(135deg, #f8fcfe 0%, #edf7fb 100%);
  border: none;
  overflow: hidden;
}

#kbb-vitrin .c-dir__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#kbb-vitrin .c-dir__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2px 12px;
  flex-shrink: 0;
}

#kbb-vitrin .c-dir__head h3 {
  font-size: 11.5px;
  letter-spacing: .16em;
  font-weight: 700;
  margin: 0;
  color: #0a4d5a;
  text-transform: uppercase;
}

#kbb-vitrin .c-dir__head a {
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  color: #1e7b8c;
  transition: color 0.2s;
}

#kbb-vitrin .c-dir__head a:hover {
  color: #083c46;
  text-decoration: underline;
}

/* Dikey Kaydırılabilir Liste Alanı (Geniş & Dolgun) */
#kbb-vitrin .c-dir__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 480px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #65bdc2 rgba(214, 237, 245, 0.4);
}

#kbb-vitrin .c-card {
  display: grid;
  grid-template-columns: 38px 1fr 16px;
  gap: 11px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e1f0f5;
  box-shadow: 0 2px 8px rgba(8, 64, 80, 0.04);
  transition: all 0.22s ease;
  flex-shrink: 0;
  width: 100%;
}

#kbb-vitrin .c-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(8, 64, 80, 0.12);
  border-color: #65bdc2;
}

#kbb-vitrin .c-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  background: #e4f6f8;
  color: #1b7f8b;
}

#kbb-vitrin .c-card strong {
  display: block;
  font: 700 13px/1.2 var(--kbb-serif);
  color: #083c46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kbb-vitrin .c-card small {
  display: block;
  font-size: 10.5px;
  color: #42727c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

#kbb-vitrin .c-card__arrow {
  font-size: 14px;
  color: #208794;
  transition: transform 0.2s;
}

#kbb-vitrin .c-card:hover .c-card__arrow {
  transform: translate(2px, -2px);
  color: #1b7f8b;
}

/* ==========================================================================
   3. KOLON: SAĞ STUDIO PLAYLIST (GENİŞLETİLMİŞ 16:9 HD VİDEO & DOLGUN LİSTE)
   ========================================================================== */
#kbb-vitrin .c-media {
  height: 560px;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px clamp(18px, 2.5vw, 38px);
  background: radial-gradient(circle at 85% 80%, #dcf4fb 0%, transparent 60%), linear-gradient(145deg, #edf7fb 0%, #f7fcfe 100%);
  border: none;
  overflow: hidden;
}

#kbb-vitrin .c-media__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Sütunu Tamamen Dolduran Geniş 16:9 HD Video Ekranı */
#kbb-vitrin .c-screen {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  box-shadow: 0 10px 24px rgba(8, 64, 80, 0.14);
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #d5ebf4;
  margin-bottom: 10px;
}

#kbb-vitrin .c-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

#kbb-vitrin .c-screen:hover img {
  transform: scale(1.035);
}

#kbb-vitrin .c-screen-badge {
  position: absolute;
  top: 9px;
  left: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#kbb-vitrin .c-screen-badge span {
  width: 7px;
  height: 7px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff0000;
}

#kbb-vitrin .c-screen-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0b434c;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(8, 64, 80, 0.3);
  z-index: 2;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

#kbb-vitrin .c-screen:hover .c-screen-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ffffff;
  color: #1b7f8b;
}

#kbb-vitrin .c-screen-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

#kbb-vitrin .c-screen-info {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 18, 24, 0.92) 100%);
  padding: 10px 14px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

#kbb-vitrin .c-screen-info h4 {
  font: 600 13px/1.2 var(--kbb-serif);
  margin: 0 0 3px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kbb-vitrin .c-screen-info p {
  font-size: 10.5px;
  margin: 0;
  color: #c7ebef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kbb-vitrin .c-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #0a4d5a;
  text-transform: uppercase;
  flex-shrink: 0;
}

#kbb-vitrin .c-list-head a {
  font-size: 11px;
  text-decoration: none;
  color: #1e7b8c;
  transition: color 0.2s;
}

#kbb-vitrin .c-list-head a:hover {
  color: #083c46;
  text-decoration: underline;
}

/* Dikey Kaydırılabilir Çalma Listesi (Sütunu Tam Dolduran) */
#kbb-vitrin .c-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 180px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #65bdc2 rgba(214, 237, 245, 0.4);
  width: 100%;
}

#kbb-vitrin .c-item {
  display: grid;
  grid-template-columns: 52px 1fr 18px;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  border: 1px solid #e1f0f5;
  box-shadow: 0 2px 8px rgba(8, 64, 80, 0.04);
  flex-shrink: 0;
  width: 100%;
}

#kbb-vitrin .c-item:hover {
  transform: translateX(3px);
  box-shadow: 0 5px 14px rgba(8, 64, 80, 0.1);
  border-color: #65bdc2;
}

#kbb-vitrin .c-item.is-active {
  border-left: 3px solid #1b7f8b;
  background: #fbfefe;
}

#kbb-vitrin .c-thumb {
  width: 52px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

#kbb-vitrin .c-item-title {
  display: block;
  font: 700 11.5px/1.2 var(--kbb-serif);
  color: #083c46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kbb-vitrin .c-item-meta {
  display: block;
  font-size: 10px;
  color: #42727c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

#kbb-vitrin .c-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  justify-content: center;
}

#kbb-vitrin .c-eq span {
  width: 2px;
  border-radius: 1px;
  background: #1b7f8b;
  animation: cEq 0.7s infinite alternate ease-in-out;
}

#kbb-vitrin .c-eq span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
#kbb-vitrin .c-eq span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
#kbb-vitrin .c-eq span:nth-child(3) { height: 7px; animation-delay: 0.2s; }

@keyframes cEq {
  0% { height: 2px; }
  100% { height: 12px; }
}

/* ==========================================================================
   ÖZEL İNCE KAYDIRMA ÇUBUĞU (SLIM MEDICAL SCROLLBAR)
   ========================================================================== */
#kbb-vitrin .c-dir__list::-webkit-scrollbar,
#kbb-vitrin .c-list::-webkit-scrollbar {
  width: 4px;
}

#kbb-vitrin .c-dir__list::-webkit-scrollbar-track,
#kbb-vitrin .c-list::-webkit-scrollbar-track {
  background: rgba(214, 237, 245, 0.35);
  border-radius: 4px;
}

#kbb-vitrin .c-dir__list::-webkit-scrollbar-thumb,
#kbb-vitrin .c-list::-webkit-scrollbar-thumb {
  background: #65bdc2;
  border-radius: 4px;
  transition: background 0.2s;
}

#kbb-vitrin .c-dir__list::-webkit-scrollbar-thumb:hover,
#kbb-vitrin .c-list::-webkit-scrollbar-thumb:hover {
  background: #1b7f8b;
}

/* ==========================================================================
   LIGHTBOX MODAL POPUP
   ========================================================================== */
.d-modal {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  background: rgba(4, 16, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  padding: 20px;
}
.d-modal.is-open { display: grid; }
.d-modal-box {
  width: 100%;
  max-width: 880px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(101, 189, 194, 0.2);
  border: 1px solid rgba(101, 189, 194, 0.3);
  position: relative;
}
.d-modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: all 0.2s;
}
.d-modal-close:hover {
  background: #65bdc2;
  color: #041419;
}

/* ==========================================================================
   REVEAL / ANİMASYON OVERRIDE
   ========================================================================== */
#kbb-vitrin .reveal,
.showcase-compact .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ==========================================================================
   RESPONSIVE DÜZEN
   ========================================================================== */
@media (max-width: 1100px) {
  #kbb-vitrin,
  .showcase-compact,
  .showcase--single-row {
    grid-template-columns: 1fr 1fr;
    height: auto;
    max-height: none;
    min-height: auto;
  }
  #kbb-vitrin .c-hero {
    grid-column: 1;
    height: 480px;
    max-height: none;
  }
  #kbb-vitrin .c-dir {
    grid-column: 2;
    border-right: none;
    height: 480px;
    max-height: none;
  }
  #kbb-vitrin .c-media {
    grid-column: 1 / -1;
    border-top: 1px solid #d6edf5;
    border-left: none;
    height: auto;
    max-height: none;
  }
  #kbb-vitrin .c-media .c-list {
    max-height: 180px;
  }
}

@media (max-width: 768px) {
  #kbb-vitrin,
  .showcase-compact,
  .showcase--single-row {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: auto;
  }
  #kbb-vitrin .c-hero {
    height: 380px;
    max-height: none;
  }
  #kbb-vitrin .c-hero__content {
    padding: 24px 20px;
  }
  #kbb-vitrin .c-hero h2 {
    font-size: 24px;
  }
  #kbb-vitrin .c-dir {
    border-left: none;
    border-right: none;
    border-top: 1px solid #d6edf5;
    padding: 20px 16px;
    height: auto;
    max-height: none;
  }
  #kbb-vitrin .c-dir__list {
    max-height: 280px;
  }
  #kbb-vitrin .c-media {
    border-left: none;
    border-top: 1px solid #d6edf5;
    padding: 20px 16px;
    height: auto;
    max-height: none;
  }
  #kbb-vitrin .c-media .c-list {
    max-height: 180px;
  }
}
