/* Zeybox teması — Driver.js popover özelleştirmesi */
.driver-popover.rehber-tur-popover {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  color: #f0f0f0;
  border: 2px solid #f5c842;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  max-width: 340px;
}

.driver-popover.rehber-tur-popover .driver-popover-title {
  color: #f5c842;
  font-size: 1.15rem;
  font-weight: 700;
}

.driver-popover.rehber-tur-popover .driver-popover-description {
  color: #e8e8e8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.driver-popover.rehber-tur-popover .driver-popover-progress-text {
  color: #aaa;
}

/* İleri / Geri / Tamam — sadece footer butonları */
.driver-popover.rehber-tur-popover .driver-popover-footer button {
  background: #f5c842;
  color: #1a1a2e;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-shadow: none;
  padding: 6px 12px;
}

.driver-popover.rehber-tur-popover .driver-popover-footer button:hover,
.driver-popover.rehber-tur-popover .driver-popover-footer button:focus {
  background: #ffe066;
  color: #1a1a2e;
}

/* Kapat X — footer stillerinden ayrı, hover'da sarı kutu olmasın */
.driver-popover.rehber-tur-popover .driver-popover-close-btn {
  all: unset;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: rgba(245, 200, 66, 0.8);
  background: transparent;
  border: none;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 1;
  pointer-events: auto;
}

.driver-popover.rehber-tur-popover .driver-popover-close-btn:hover,
.driver-popover.rehber-tur-popover .driver-popover-close-btn:focus {
  color: #fff;
  background: rgba(245, 200, 66, 0.22);
}

.driver-popover.rehber-tur-popover .driver-popover-arrow-side-left.driver-popover-arrow,
.driver-popover.rehber-tur-popover .driver-popover-arrow-side-right.driver-popover-arrow,
.driver-popover.rehber-tur-popover .driver-popover-arrow-side-top.driver-popover-arrow,
.driver-popover.rehber-tur-popover .driver-popover-arrow-side-bottom.driver-popover-arrow {
  border-color: #f5c842;
}

/* Rehber butonu — eski Bize sorun konumu, yalnızca resim */
.rehber-tur-buton {
  all: unset;
  position: fixed;
  left: 70%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 99999;
  cursor: pointer;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.rehber-tur-icerik {
  position: relative;
  display: inline-block;
  line-height: 0;
  animation: rehberNefes 2.6s ease-in-out infinite;
  will-change: transform;
}

.rehber-tur-balon {
  position: absolute;
  left: 100%;
  top: -4px;
  margin-left: 10px;
  background: #fff;
  color: #1a1a2e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 10px;
  border: 2px solid #f5c842;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  user-select: none;
}

.rehber-tur-balon::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 9px solid #f5c842;
}

.rehber-tur-balon::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid #fff;
  z-index: 1;
}

.rehber-tur-buton img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  display: block;
}

.rehber-tur-buton:hover .rehber-tur-icerik,
.rehber-tur-buton:focus .rehber-tur-icerik {
  animation-play-state: paused;
}

.rehber-tur-buton:hover img,
.rehber-tur-buton:focus img {
  filter: brightness(1.1);
}

.rehber-tur-buton:active .rehber-tur-icerik {
  transform: scale(0.96);
}

.rehber-tur-buton.rehber-tur-buton-gizli {
  display: none !important;
}

/* zeyboxhizliokuma.com — rehber butonu seçenek menüsü */
.rehber-tur-secenek-menu {
  position: fixed;
  z-index: 100000;
  min-width: 220px;
  padding: 8px;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid #f5c842;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rehber-tur-secenek-item {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  background: #f5c842;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.rehber-tur-secenek-item .fa {
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.rehber-tur-secenek-item:hover,
.rehber-tur-secenek-item:focus {
  background: #ffe066;
}

.rehber-tur-secenek-item:active {
  transform: scale(0.98);
}

.rehber-tur-secenek-wa {
  background: #25d366;
  color: #fff;
}

.rehber-tur-secenek-wa:hover,
.rehber-tur-secenek-wa:focus {
  background: #2ee06a;
  color: #fff;
}

@keyframes rehberNefes {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-6px);
  }
}

@media (max-width: 1024px) {
  .rehber-tur-buton {
    top: 14px;
  }

  .rehber-tur-buton img {
    width: 35px;
    height: 35px;
  }

  .rehber-tur-balon {
    font-size: 9px;
    padding: 3px 8px;
    top: -2px;
    margin-left: 8px;
  }
}

@media (min-width: 1024px) {
  .rehber-tur-buton {
    top: 60px;
  }

  .rehber-tur-buton img {
    width: 56px;
    height: 56px;
  }

  .rehber-tur-balon {
    font-size: 13px;
    padding: 7px 12px;
  }
}
