/* ═══════════════════════════════════════════════
   Google Reviews WP — TV v2
   Full-screen · Arkaplan SVG · Fullscreen btn
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600;700&display=swap');

.grwp-tv--dark {
  --tv-text:        #f1f5f9;
  --tv-sub:         #94a3b8;
  --tv-border:      rgba(255,255,255,.10);
  --tv-gold:        #fbbf24;
  --tv-gold-dim:    rgba(251,191,36,.18);
  --tv-bar-bg:      rgba(0,0,0,.55);
  --tv-dot:         rgba(255,255,255,.22);
  --tv-dot-active:  #ffffff;
  --tv-progress-fg: #1a73e8;
  --tv-progress-bg: rgba(255,255,255,.12);
  --tv-btn:         rgba(255,255,255,.12);
  --tv-btn-hover:   rgba(255,255,255,.22);
}
.grwp-tv--light {
  --tv-text:        #111827;
  --tv-sub:         #6b7280;
  --tv-border:      rgba(0,0,0,.08);
  --tv-gold:        #f59e0b;
  --tv-gold-dim:    rgba(245,158,11,.18);
  --tv-bar-bg:      rgba(255,255,255,.80);
  --tv-dot:         rgba(0,0,0,.15);
  --tv-dot-active:  #1a73e8;
  --tv-progress-fg: #1a73e8;
  --tv-progress-bg: rgba(0,0,0,.08);
  --tv-btn:         rgba(0,0,0,.08);
  --tv-btn-hover:   rgba(0,0,0,.15);
}

/* ── Wrapper ─────────────────────────────────── */
.grwp-tv {
  position: relative;
  width: 100%;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  color: var(--tv-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Arkaplan ────────────────────────────────── */
.grwp-tv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grwp-tv__bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.grwp-tv__bg-slide.is-active { opacity: 1; }
.grwp-tv__bg-svg,
.grwp-tv__bg-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.grwp-tv__bg-svg svg { width: 100%; height: 100%; object-fit: cover; }
.grwp-tv__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.35) 100%
  );
}
.grwp-tv--light .grwp-tv__bg-overlay {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 100%);
}

/* ── Fullscreen Butonu ───────────────────────── */
.grwp-tv__fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--tv-btn);
  border: 1px solid var(--tv-border);
  color: var(--tv-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .15s, transform .15s;
  opacity: 0;
  transition: opacity .3s;
}
.grwp-tv:hover .grwp-tv__fullscreen-btn { opacity: 1; }
.grwp-tv__fullscreen-btn:hover { background: var(--tv-btn-hover); transform: scale(1.08); }

/* Tam ekrandayken sürekli görünür */
:fullscreen .grwp-tv__fullscreen-btn,
:-webkit-full-screen .grwp-tv__fullscreen-btn { opacity: 1; }

/* ── Slaytlar ────────────────────────────────── */
.grwp-tv__slides {
  flex: 1;
  position: relative;
  z-index: 5;
}
.grwp-tv__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px,6vw,100px) clamp(40px,8vw,160px) 130px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.grwp-tv__slide.is-active { opacity: 1; pointer-events: auto; }

/* Slide geçiş */
.grwp-tv--slide .grwp-tv__slide {
  transform: translateX(60px);
  transition: opacity .6s ease, transform .6s ease;
}
.grwp-tv--slide .grwp-tv__slide.is-active { transform: translateX(0); }

.grwp-tv__slide-inner {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(14px,2vw,26px);
  position: relative;
}

/* Büyük tırnak */
.grwp-tv__quote {
  position: absolute;
  top: -50px; left: -10px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(100px,14vw,180px);
  line-height: 1;
  opacity: .08;
  pointer-events: none;
  user-select: none;
  color: var(--tv-text);
}

/* Yıldızlar */
.grwp-tv__stars { display: flex; gap: 4px; position: relative; z-index: 1; }
.grwp-tv__star  { font-size: clamp(20px,2.8vw,32px); line-height: 1; }
.grwp-tv__star--on  { color: var(--tv-gold); }
.grwp-tv__star--off { color: var(--tv-gold-dim); }
.grwp-tv__stars--sm .grwp-tv__star { font-size: 13px; }

/* Metin */
.grwp-tv__text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(20px,3.2vw,42px);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Yazar */
.grwp-tv__author {
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1; margin-top: 6px;
}
.grwp-tv__avatar {
  width: clamp(42px,5vw,58px); height: clamp(42px,5vw,58px);
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--tv-border);
}
.grwp-tv__avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; font-size: clamp(14px,1.8vw,20px); font-weight: 700;
}
.grwp-tv__author-info { display: flex; flex-direction: column; gap: 3px; }
.grwp-tv__author-name { font-size: clamp(13px,1.6vw,18px); font-weight: 700; }
.grwp-tv__author-date { font-size: clamp(11px,1.1vw,13px); color: var(--tv-sub); }

/* ── Alt Bar ─────────────────────────────────── */
.grwp-tv__bar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px,4vw,60px);
  background: var(--tv-bar-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--tv-border);
  gap: 16px; flex-wrap: wrap;
}
.grwp-tv__bar-left, .grwp-tv__bar-right {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.grwp-tv__bar-center { flex: 1; display: flex; justify-content: center; }
.grwp-tv__logo {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--tv-sub); white-space: nowrap;
}
.grwp-tv__place {
  font-size: 14px; font-weight: 700; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 220px;
}
.grwp-tv__overall { display: flex; align-items: center; gap: 8px; }
.grwp-tv__overall-score {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px,2.8vw,34px); font-weight: 400; line-height: 1;
}
.grwp-tv__overall-total { font-size: 11px; color: var(--tv-sub); display: block; }

/* Dots */
.grwp-tv__dots { display: flex; gap: 6px; align-items: center; }
.grwp-tv__dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: var(--tv-dot); cursor: pointer; padding: 0;
  transition: background .3s, width .3s, border-radius .3s;
}
.grwp-tv__dot.is-active { background: var(--tv-dot-active); width: 22px; border-radius: 4px; }

/* İlerleme */
.grwp-tv__progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--tv-progress-bg); z-index: 11;
}
.grwp-tv__progress-bar {
  height: 100%; background: var(--tv-progress-fg);
  width: 0; animation: grwp-tv-progress linear forwards;
}
@keyframes grwp-tv-progress { from{width:0} to{width:100%} }

/* Hata */
.grwp-tv-error { padding: 40px; text-align: center; color: #ef4444; font-size: 18px; }

/* Responsive */
@media (max-width: 640px) {
  .grwp-tv__slide { padding: 32px 20px 110px; }
  .grwp-tv__text  { -webkit-line-clamp: 4; font-size: clamp(16px,4vw,22px); }
  .grwp-tv__bar   { padding: 10px 14px; }
  .grwp-tv__bar-right { display: none; }
  .grwp-tv__place { max-width: 120px; }
}
