/* ERYEL Medya — demo siteler ortak parçalar */
.js:not(.no-anim) [data-reveal] { opacity: 0; }
.k-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.k-word { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; }
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* "Bu bir örnek tasarımdır" etiketi */
.demo-pill {
  position: fixed; z-index: 9999; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; max-width: calc(100% - 24px);
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(20, 11, 11, .88); color: #f6efe6;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(231, 209, 177, .28);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.6);
  font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  animation: pillIn .8s cubic-bezier(.16,1,.3,1) 1.2s both;
}
.demo-pill[hidden] { display: none; }
@keyframes pillIn { from { opacity: 0; transform: translate(-50%, 20px); } }
.demo-pill-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.demo-pill-text b { color: #e7d1b1; font-weight: 600; }
.demo-pill a {
  flex: none; margin-left: 8px; padding: 8px 14px; border-radius: 999px;
  background: #e7d1b1; color: #1a0f0f; text-decoration: none; font-weight: 600;
}
.demo-pill a:hover { background: #fff3e2; }
.demo-pill-close { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: #f6efe6; font-size: 18px; line-height: 1; cursor: pointer; opacity: .7; }
.demo-pill-close:hover { opacity: 1; background: rgba(255,255,255,.08); }
@media (max-width: 420px) { .demo-pill-text span { display: none; } }

/* Tıklayınca yüklenen harita */
.map-facade { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 240px; border-radius: inherit; background: #222 center / cover; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade button { position: relative; z-index: 1; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
