/* =====================================================================
   Web tasarımlar & scriptler vitrini (web-tasarimlar.php)
   bs-ortak.css üzerine kurulur. Önek: .wt-
   ===================================================================== */

/* ---------- Hero sahnesi ---------- */
.wt-sahne { perspective: 1400px; }
.wt-sahne svg { transform: rotateY(-14deg) rotateX(8deg); transform-origin: 60% 50%; transition: transform .8s var(--bo-ease); max-width: 560px !important; }
.wt-sahne:hover svg { transform: rotateY(-6deg) rotateX(4deg); }
.wt-svg .wt-parilti { animation: wtParilti 2.8s ease-in-out infinite; }
.wt-svg .wt-parilti--2 { animation-delay: -.9s; }
.wt-svg .wt-parilti--3 { animation-delay: -1.8s; }
.wt-svg .wt-imlec { animation: wtImlec 6s var(--bo-ease) infinite; }
.wt-svg .wt-telefon { animation: boSalin 6s ease-in-out infinite; }
.wt-svg .wt-yuzen { animation: boSalin 5s ease-in-out infinite; }
.wt-svg .wt-yuzen--2 { animation-delay: -2.2s; }
.wt-svg .wt-arka { animation: boSalin 8s ease-in-out infinite reverse; }
@keyframes wtParilti { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes wtImlec { 0%, 100% { translate: 0 0; } 40%, 55% { translate: -118px -86px; } 60% { translate: -118px -82px; } }

.wt-hap { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.wt-hap li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g1); font-size: 13.5px; font-weight: 700; color: var(--bo-lac); }
.wt-hap .bi { color: var(--bo-kir); }

/* ---------- Filtre ---------- */
.wt-filtre { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 14px; padding: 6px; max-width: max-content; border-radius: 20px; background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g2); }
.wt-filtre button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 14px; background: transparent; font: 700 14.5px/1 var(--bo-f-govde); color: var(--bo-yazi-2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.wt-filtre button:hover { background: var(--bo-zemin); color: var(--bo-lac); }
.wt-filtre button[aria-pressed="true"] { background: linear-gradient(180deg, var(--bo-lac-2), var(--bo-lac)); color: #fff; box-shadow: 0 10px 22px -12px rgba(11,33,80,.7); }
.wt-filtre button:focus-visible { outline: 3px solid var(--bo-lac); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(255,210,94,.85); }
.wt-filtre .wt-say { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--bo-zemin-2); color: var(--bo-lac); font-size: 11.5px; text-align: center; }
.wt-filtre button[aria-pressed="true"] .wt-say { background: var(--bo-alt); }
.wt-sonuc { margin: 0 0 30px; text-align: center; font-size: 14px; font-weight: 600; color: var(--bo-yazi-3); }

/* ---------- Proje kartları ---------- */
.wt-izgara { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin: 0; padding: 0; list-style: none; }
.wt-izgara > li[hidden] { display: none; }
.wt-kart { height: 100%; padding: 0; overflow: hidden; }
.wt-tarayici { position: relative; margin: 14px 14px 0; border-radius: 16px 16px 10px 10px; overflow: hidden; background: var(--bo-zemin-2); border: 1px solid var(--bo-cizgi); box-shadow: 0 18px 30px -22px rgba(11,33,80,.6); transform: translateZ(24px); }
.wt-tarayici__ust { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--bo-cizgi); }
.wt-tarayici__ust i { width: 9px; height: 9px; border-radius: 50%; background: #e1251b; }
.wt-tarayici__ust i:nth-child(2) { background: #ffd25e; }
.wt-tarayici__ust i:nth-child(3) { background: #3ecf8e; }
.wt-tarayici__ust span { flex: 1; margin-left: 8px; height: 14px; border-radius: 999px; background: var(--bo-zemin); }
.wt-gorsel { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.wt-gorsel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--bo-ease), object-position 4s ease; }
.wt-kart:hover .wt-gorsel img { transform: scale(1.04); object-position: bottom center; }
.wt-kategori { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--bo-lac); font-size: 12px; font-weight: 800; box-shadow: var(--bo-g1); }
.wt-kategori .bi { color: var(--bo-kir); }
.wt-govde { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.wt-govde h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.wt-govde > p { flex: 1; margin: 0 0 16px; font-size: 14px; }
.wt-fiyat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-top: 14px; border-top: 1px dashed var(--bo-cizgi-2); }
.wt-fiyat b { font: 800 26px/1 var(--bo-f-bas); color: var(--bo-lac); letter-spacing: -.02em; }
.wt-fiyat small { font-weight: 700; color: var(--bo-yazi-3); }
.wt-demolar { display: flex; gap: 8px; margin-bottom: 10px; }
.wt-demolar .bo-btn { flex: 1; min-height: 44px; font-size: 14px; padding: 0 12px; }
.wt-demolar .bo-btn[aria-disabled="true"] { pointer-events: none; }
.wt-bos { max-width: 520px; margin: 0 auto; text-align: center; align-items: center; }
.wt-bos .bi { font-size: 44px; color: var(--bo-lac-2); }
.wt-bos[hidden] { display: none; }

/* ---------- Modal ---------- */
.wt-modal .modal-content { border: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--bo-g3); }
.wt-modal .modal-header { padding: 22px 24px 0; border: 0; }
.wt-modal .modal-title { font: 800 24px/1.2 var(--bo-f-bas); color: var(--bo-lac); }
.wt-modal .modal-body { padding: 20px 24px; }
.wt-modal .modal-footer { padding: 0 24px 24px; border: 0; }
.wt-modal__gorsel { border-radius: 16px; overflow: hidden; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g2); background: var(--bo-zemin-2); }
.wt-modal__gorsel img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.wt-modal__rozet { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--bo-zemin-2); color: var(--bo-lac-2); font-size: 13px; font-weight: 800; }
.wt-modal__fiyat { margin: 12px 0; font: 800 32px/1 var(--bo-f-bas); color: var(--bo-lac); }
.wt-modal__fiyat small { font: 700 14px/1 var(--bo-f-govde); color: var(--bo-yazi-3); }
#modalDesc { white-space: pre-line; color: var(--bo-yazi-2); line-height: 1.7; font-size: 15px; }
.wt-modal .bo-uyari { margin-top: 14px; }
.wt-wa { background: linear-gradient(180deg, #25d366, #128c4a); color: #fff; --g: 0 12px 26px -12px rgba(18,140,74,.8); }
.wt-wa:hover { color: #fff; }

/* ---------- Avantaj kartları ---------- */
.wt-avantaj .bo-kart { height: 100%; }

@media (max-width: 991.98px) {
  .wt-sahne svg { transform: none; max-width: 460px !important; }
}
@media (max-width: 575.98px) {
  .wt-filtre { max-width: 100%; justify-content: flex-start; }
  .wt-filtre button { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
  .wt-modal .modal-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-svg * { animation: none !important; }
  .wt-sahne svg { transform: none; }
}
