/* ============ 360° SANAL TUR ============
   #salon bölümünün altındaki kart ve tıklayınca açılan tam ekran pencere.
   Turun kendisi sanal-tur.html'de; pencere onu bir iframe'de açar (yalnızca tıklanınca yüklenir). */
.st-blok { margin-top: clamp(28px, 4vw, 44px); }
.st-kart {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(18px, 3vw, 36px);
  min-height: clamp(160px, 15vw, 196px);
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
  border-radius: 18px; border: 1px solid rgba(229, 178, 36, .45);
  background: #0b0f1e; color: var(--astrova-white); text-decoration: none;
  transition: border-color .25s;
}
.st-kart:hover { border-color: var(--astrova-gold); }
.st-foto { position: absolute; inset: 0; z-index: -2; }
.st-foto img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 0% 50%;
  animation: stKay 70s linear infinite alternate; transition: transform .6s ease;
}
.st-kart:hover .st-foto img { transform: scale(1.03); }
.st-kart::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 8, 22, .94) 0%, rgba(5, 8, 22, .82) 34%, rgba(5, 8, 22, .35) 68%, rgba(5, 8, 22, .6) 100%);
}
@keyframes stKay { from { object-position: 0% 50%; } to { object-position: 100% 50%; } }

/* Kart, "Astrova nedir?" bölümünün hemen üstünde kendi bandında */
.st-bolum { padding-block: clamp(28px, 5vw, 56px); background: var(--astrova-dark); }
.st-bolum .st-blok { margin-top: 0; }

/* 360° rozeti: yörünge halkası, üstünde dönen altın nokta */
.st-rozet {
  position: relative; width: 84px; height: 84px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(5, 8, 22, .7); border: 1.5px solid rgba(229, 178, 36, .55);
  font: 800 24px/1 var(--font-head); letter-spacing: .01em; color: var(--astrova-gold);
}
.st-rozet::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px dashed rgba(229, 178, 36, .35);
}
.st-rozet i {
  position: absolute; inset: -9px; border-radius: 50%;
  animation: stDon 6s linear infinite;
}
.st-rozet i::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--astrova-gold); box-shadow: 0 0 10px rgba(229, 178, 36, .9);
}
@keyframes stDon { to { transform: rotate(360deg); } }

.st-metin { display: grid; gap: 8px; min-width: 0; }
.st-ust { font-weight: 700; font-size: 14px; color: var(--astrova-gold); letter-spacing: .02em; }
.st-baslik { font: 800 clamp(30px, 3.4vw, 44px)/1 var(--font-head); text-transform: uppercase; text-wrap: balance; }
.st-yazi { color: var(--astrova-gray); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }

.st-dugme {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 15px 24px; border-radius: 999px;
  background: var(--astrova-gold); color: var(--astrova-dark);
  font: 700 16px/1 var(--font-body);
  transition: background-color .2s;
}
.st-kart:hover .st-dugme { background: #f2c53f; }

@media (max-width: 760px) {
  .st-kart { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px 18px; padding: 138px 20px 20px; }
  .st-foto { bottom: auto; height: 170px; }
  .st-kart::before { background: linear-gradient(180deg, rgba(11, 15, 30, 0) 0px, rgba(11, 15, 30, .2) 80px, #0b0f1e 168px); }
  .st-rozet { width: 64px; height: 64px; font-size: 19px; margin: 6px 0 0 6px; }
  .st-dugme { grid-column: 1 / -1; justify-content: center; padding: 15px 20px; }
  .st-yazi { font-size: 15px; }
}

/* Tam ekran pencere */
.st-kilit, .st-kilit body { overflow: hidden; }
.st-pencere {
  position: fixed; inset: 0; z-index: 2147483000;
  background: #0b0f1e;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  opacity: 0; transition: opacity .25s ease;
}
.st-pencere.acik { opacity: 1; }
.st-pencere iframe { display: block; width: 100%; height: 100%; border: 0; background: #0b0f1e; opacity: 0; transition: opacity .3s ease; }
.st-pencere.hazir iframe { opacity: 1; }
.st-yuk {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--astrova-gray); font-size: 14px; pointer-events: none;
}
.st-yuk span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(229, 178, 36, .25); border-top-color: var(--astrova-gold);
  animation: stDon .9s linear infinite;
}
.st-pencere.hazir .st-yuk { display: none; }
.st-kapat {
  position: absolute; z-index: 1;
  top: calc(env(safe-area-inset-top, 0px) + 12px); right: calc(env(safe-area-inset-right, 0px) + 12px);
  width: 40px; height: 40px; border-radius: 999px; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(5, 8, 22, .66); border: 1px solid var(--line); color: var(--astrova-white);
}
.st-pencere.hazir .st-kapat { display: none; }

@media (prefers-reduced-motion: reduce) {
  .st-foto img, .st-rozet i, .st-yuk span { animation: none; }
  .st-pencere, .st-pencere iframe { transition: none; }
}

/* Üst menüdeki "360° Tur" bağlantısı: menü tek satırken (901–1180 px) yer kalmadığı için gizli */
@media (min-width: 901px) and (max-width: 1180px) { .nav a.st-nav { display: none; } }
