/* Gülcan Öncel — medya bileşenleri (galeri mozaiği, video vitrini, yan galeri, ışık kutusu).
   Temanın renkleri ve Futura PT başlık yazısıyla uyumludur. */
:root {
  --gom-mavi: #3757f7;
  --gom-koyu: #071e93;
  --gom-lacivert: #232f4b;
  --gom-metin: #4f555a;
  --gom-cizgi: #e3e7f8;
  --gom-zemin: #f4f6ff;
  --gom-golge: 0 18px 40px -22px rgba(7, 30, 147, 0.45);
  --gom-r: 14px;
  --gom-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.gom-btn-sifir {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}
.gom-btn-sifir:focus-visible,
.gom-chip:focus-visible,
.gom-dugme:focus-visible,
.gom-modal button:focus-visible {
  outline: 3px solid var(--gom-mavi);
  outline-offset: 3px;
}
.gom-ikon { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- Fotoğraf mozaiği (ana sayfa) ---------- */
.gom-mozaik {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 10px;
}
.gom-karo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--gom-r);
  background: var(--gom-zemin);
  box-shadow: var(--gom-golge);
  isolation: isolate;
}
.gom-karo--buyuk { grid-column: span 2; grid-row: span 2; }
.gom-karo--genis { grid-column: span 2; }
.gom-karo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--gom-ease);
}
.gom-karo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 30, 147, 0) 45%, rgba(10, 16, 40, 0.78) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.gom-karo__yazi {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-family: "Futura PT", sans-serif;
  font-size: 17px;
  line-height: 1.3;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.35s var(--gom-ease), opacity 0.35s ease;
}
.gom-karo--buyuk .gom-karo__yazi { font-size: 22px; left: 22px; bottom: 20px; }
.gom-karo:hover img,
.gom-karo:focus-visible img { transform: scale(1.06); }
.gom-karo:hover .gom-karo__yazi,
.gom-karo:focus-visible .gom-karo__yazi { transform: translateY(0); opacity: 1; }

.gom-karo--tumu::after {
  background: linear-gradient(135deg, rgba(55, 87, 247, 0.9), rgba(7, 30, 147, 0.92));
  opacity: 1;
}
.gom-karo--tumu .gom-karo__orta {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-family: "Futura PT", sans-serif;
  font-size: 19px;
  text-align: center;
  padding: 12px;
}
.gom-karo--tumu .gom-ikon { width: 32px; height: 32px; transition: transform 0.4s var(--gom-ease); }
.gom-karo--tumu:hover .gom-ikon { transform: translateX(4px); }

.gom-albumler {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.gom-albumler__baslik {
  font-family: "Futura PT", sans-serif;
  color: var(--gom-lacivert);
  font-size: 18px;
  margin-right: 6px;
}
.gom-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gom-cizgi);
  background: #fff;
  color: var(--gom-lacivert);
  font-family: "Futura PT", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gom-chip:hover { background: var(--gom-mavi); border-color: var(--gom-mavi); color: #fff; }

/* ---------- Video vitrini (ana sayfa) ---------- */
.gom-vitrin {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.gom-oneri {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--gom-r) + 4px);
  background: #0b1030;
  box-shadow: var(--gom-golge);
  isolation: isolate;
}
.gom-oneri img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--gom-ease);
}
.gom-oneri::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 16, 40, 0.05) 30%, rgba(10, 16, 40, 0.85) 100%);
}
.gom-oneri:hover img { transform: scale(1.04); }
.gom-oneri__alt {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}
.gom-etiket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gom-oneri__baslik {
  display: block;
  margin-top: 12px;
  font-family: "Futura PT", sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  color: #fff;
}
.gom-sure {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  opacity: 0.9;
}
.gom-oynat {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: #fff;
  color: var(--gom-mavi);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.22);
  transition: transform 0.35s var(--gom-ease), box-shadow 0.35s ease;
}
.gom-oynat .gom-ikon { width: 30px; height: 30px; margin-left: 4px; }
.gom-oneri:hover .gom-oynat,
.gom-oneri:focus-visible .gom-oynat { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.18); }

.gom-liste { display: flex; flex-direction: column; gap: 12px; }
.gom-liste__oge {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: var(--gom-r);
  border: 1px solid var(--gom-cizgi);
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.gom-liste__oge:hover { background: var(--gom-zemin); border-color: #c9d2fb; }
.gom-liste__oge:active { transform: scale(0.99); }
.gom-liste__resim {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1030;
}
.gom-liste__resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gom-liste__resim .gom-mini-oynat {
  position: absolute;
  inset: auto auto 8px 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gom-mavi);
  display: grid;
  place-items: center;
}
.gom-mini-oynat .gom-ikon { width: 14px; height: 14px; margin-left: 2px; }
.gom-liste__kanal { display: block; font-size: 13px; font-weight: 700; color: var(--gom-mavi); letter-spacing: 0.02em; }
.gom-liste__baslik {
  display: block;
  margin-top: 3px;
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  line-height: 1.25;
  color: var(--gom-lacivert);
}
.gom-liste__sure { display: block; margin-top: 4px; font-size: 13px; color: var(--gom-metin); font-variant-numeric: tabular-nums; }

/* ---------- Yan sütun galerisi (iç sayfalar) ---------- */
.gom-yan .gom-oneri { aspect-ratio: 16 / 10; border-radius: var(--gom-r); }
.gom-yan .gom-oynat { width: 58px; height: 58px; margin: -29px 0 0 -29px; top: 42%; box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.22); }
.gom-yan .gom-oynat .gom-ikon { width: 22px; height: 22px; }
.gom-yan .gom-oneri__alt { left: 16px; right: 16px; bottom: 14px; }
.gom-yan .gom-oneri__baslik { font-size: 19px; margin-top: 8px; }
.gom-yan .gom-etiket { font-size: 12px; padding: 4px 10px; }
.gom-yan__seritler {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.gom-yan__mini {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1030;
}
.gom-yan__mini img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--gom-ease); }
.gom-yan__mini:hover img { transform: scale(1.08); }
.gom-yan__mini .gom-mini-oynat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gom-mavi);
  display: grid;
  place-items: center;
}
.gom-yan__fotolar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.gom-yan__foto {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gom-zemin);
}
.gom-yan__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--gom-ease); }
.gom-yan__foto:hover img { transform: scale(1.08); }
.gom-yan__foto--tumu::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55, 87, 247, 0.88), rgba(7, 30, 147, 0.9));
}
.gom-yan__foto--tumu span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Futura PT", sans-serif;
  font-size: 16px;
}
.gom-dugme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 14px 0 26px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(to left, var(--gom-mavi), var(--gom-koyu));
  color: #fff;
  font-family: "Futura PT", sans-serif;
  font-size: 17px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.gom-dugme:hover { filter: brightness(1.12); }
.gom-dugme:active { transform: scale(0.98); }
.gom-dugme--cizgi { background: #fff; color: var(--gom-mavi); box-shadow: inset 0 0 0 1.5px var(--gom-mavi); margin-bottom: 0; }
.gom-dugme--cizgi:hover { background: var(--gom-mavi); color: #fff; filter: none; }
.gom-dugme .gom-ikon { width: 20px; height: 20px; }

/* ---------- Işık kutusu / oynatıcı ---------- */
.gom-modal {
  position: fixed;
  inset: 0;
  z-index: 100000; /* temanın üst barı 99999 kullanıyor */
  display: none;
  flex-direction: column;
  background: #0a0f26;
  color: #fff;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.gom-modal.acik { display: flex; }
.gom-modal.gorunur { opacity: 1; }
.gom-modal__ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) 18px 10px;
}
.gom-modal__baslik { min-width: 0; }
.gom-modal__baslik strong {
  display: block;
  font-family: "Futura PT", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gom-modal__baslik span { display: block; font-size: 14px; color: #b9c2e6; margin-top: 2px; }
.gom-modal__kapat,
.gom-modal__ok {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.gom-modal__kapat:hover,
.gom-modal__ok:hover { background: rgba(255, 255, 255, 0.24); }
.gom-modal__kapat:active,
.gom-modal__ok:active { transform: scale(0.94); }
.gom-modal__sahne {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 76px;
  touch-action: pan-y;
}
.gom-modal__sahne img,
.gom-modal__sahne video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.gom-modal__sahne video { background: #000; }
.gom-modal__sahne img { object-fit: contain; transition: opacity 0.25s ease; }
.gom-modal__sahne img.yukleniyor { opacity: 0.35; }
.gom-modal__ok { position: absolute; top: 50%; margin-top: -24px; }
.gom-modal__ok--onceki { left: 16px; }
.gom-modal__ok--sonraki { right: 16px; }
.gom-modal__serit {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 18px max(14px, env(safe-area-inset-bottom));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.gom-modal__kucuk {
  flex: 0 0 auto;
  width: 76px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #1a2148;
  cursor: pointer;
  opacity: 0.55;
  outline: 2px solid transparent;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
}
.gom-modal__kucuk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gom-modal__kucuk:hover { opacity: 0.9; }
.gom-modal__kucuk[aria-current="true"] { opacity: 1; outline-color: #fff; outline-offset: -2px; }
.gom-modal--video .gom-modal__kucuk { width: 120px; height: 68px; }
body.gom-kilit { overflow: hidden; }

/* ---------- Duyarlı ---------- */
@media (max-width: 991px) {
  .gom-mozaik { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .gom-karo--gizle-md { display: none; }
  .gom-vitrin { grid-template-columns: 1fr; }
  .gom-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .gom-mozaik { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .gom-karo--genis { grid-column: span 2; }
  .gom-karo__yazi { font-size: 15px; left: 12px; right: 12px; bottom: 10px; }
  .gom-karo--buyuk .gom-karo__yazi { font-size: 18px; left: 14px; bottom: 14px; }
  .gom-liste { grid-template-columns: 1fr; }
  .gom-liste__oge { grid-template-columns: 112px minmax(0, 1fr); }
  .gom-oneri { aspect-ratio: 4 / 3; }
  .gom-oneri__alt { left: 18px; right: 18px; bottom: 16px; }
  .gom-oynat { width: 68px; height: 68px; margin: -34px 0 0 -34px; top: 40%; }
  .gom-modal__sahne { padding: 6px 10px 64px; }
  .gom-modal__ok { top: auto; bottom: 8px; margin: 0; }
  .gom-modal__ok--onceki { left: calc(50% - 60px); }
  .gom-modal__ok--sonraki { right: calc(50% - 60px); }
  .gom-modal--video .gom-modal__sahne { padding-bottom: 6px; }
  .gom-modal--video .gom-modal__ok { display: none; }
  .gom-albumler__baslik { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gom-karo img, .gom-oneri img, .gom-yan__mini img, .gom-yan__foto img,
  .gom-oynat, .gom-karo__yazi, .gom-modal, .gom-modal__sahne img { transition: none !important; }
  .gom-karo:hover img, .gom-oneri:hover img, .gom-yan__mini:hover img, .gom-yan__foto:hover img { transform: none; }
}

.gom-vitrin-alt { display: flex; justify-content: center; margin-top: 32px; }
.gom-vitrin-alt .gom-dugme { width: auto; margin: 0; padding: 0 32px; }
