/* ====================================================
   media.css — index.html medya/editöryal bölümler:
   News, YouTube, Image Comparison, Zoom Parallax.
   core.css'ten SONRA, home.css'ten ÖNCE.
   ==================================================== */
/* ---- News section --------------------------------- */
.news-sec {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.news-sec__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.news-sec__title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}

.news-sec__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.news-item {
  background: var(--bg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-2), transform var(--dur-2) var(--ease-o);
}

/* terminal "satır seçimi" — satır 3px kayar, mono kaynak etiketi yanar */
.news-item:hover { background: var(--bg-2); transform: translateX(3px); }
.news-item:hover .news-item__src { color: var(--pop); }
@media (prefers-reduced-motion: reduce) {
  .news-item:hover { transform: none; }
}

.news-item--featured { padding: 2rem; }

.news-item__src {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur-2);
}

.news-item__title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
}

.news-item--featured .news-item__title {
  font-size: 1.5rem;
}

.news-item__desc {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__date {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

.news-loading {
  padding: 3rem;
  font-size: 0.82rem;
  color: var(--muted);
  grid-column: 1/-1;
  background: var(--bg);
}

/* ---- YouTube section ------------------------------ */
.yt-sec {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}

.yt-sec__header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.yt-sec__sub {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-top: 0.75rem;
}

/* Channel tabs */
.yt-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.yt-tab {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  transition: all var(--dur-4) var(--ease);
}

.yt-tab:hover {
  color: var(--cream);
  border-color: var(--cream-dim);
}

.yt-tab.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.yt-sec__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
}

.yt-sec__title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.yt-sec__text p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.yt-sec__embed { aspect-ratio: 16/9; }

.yt-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.yt-placeholder p {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.yt-sec__embed iframe {
  width: 100%; height: 100%;
  border: none;
  border-radius: 4px;
}

/* Channel info panel */
.yt-sec__info-label {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.yt-sec__info-name {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
}

.yt-sec__info-desc {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* Channel grid */
.yt-channels {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.yt-channel-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  transition: all var(--dur-4) var(--ease);
}

.yt-channel-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  background: var(--bg-2);
}

.yt-channel-card__name {
  font-family: var(--font-d);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.yt-channel-card__desc {
  font-size: 0.78rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

/* ---- Image Comparison Slider → core.css'e taşındı (index + roastery paylaşımlı) ---- */

/* ---- Zoom Parallax -------------------------------- */
.zoom-parallax {
  position: relative;
  height: 300vh;
  background: var(--bg);
}

.zoom-parallax__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.zoom-parallax__el {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.zoom-parallax__inner {
  position: relative;
  width: 25vw;
  height: 25vh;
  overflow: hidden;
  border-radius: 3px;
}

.zoom-parallax__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* scroll ipucu */
.zoom-parallax__hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

