/* ================================================
   Börte Elementor Widgets — Alanlar Sahne
   ================================================ */

/* ---- Ana konteyner ---- */
.bew-shn-stage {
  position: relative;
  height: clamp(540px, 70vh, 760px);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

/* ---- Arka plan sahneleri ---- */
.bew-shn-scenes {
  position: absolute;
  inset: 0;
}

.bew-shn-scene {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s ease, transform 6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bew-shn-scene.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Doku efekti (has-texture) */
.bew-shn-stage.has-texture .bew-shn-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}

/* Sol+alt gradient (metin okunurluğu için — overlay'den bağımsız) */
.bew-shn-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,  rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2)  45%, rgba(0,0,0,0) 68%),
    linear-gradient(180deg, rgba(0,0,0,0)    60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* Kullanıcı tarafından ayarlanan overlay */
.bew-shn-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* Elementor selectors tarafından override edilir */
  pointer-events: none;
  z-index: 1;
}



/* ---- İçerik frame ---- */
.bew-shn-frame {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 44px 56px 52px;
  color: #fff;
  z-index: 3;
  max-width: 720px;
  width: 100%;
}

.bew-shn-slide {
  display: none;
}
.bew-shn-slide.is-active {
  display: block;
}

/* Eyebrow */
.bew-shn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255,230,200,0.8);
  margin-bottom: 18px;
}
.bew-shn-eyebrow-num {
  font-size: 13px;
  color: var(--bew-shn-accent, #f0c489);
  font-weight: 600;
}
.bew-shn-eyebrow-sep   { opacity: 0.5; }
.bew-shn-eyebrow-total { color: rgba(255,255,255,0.55); }

/* Başlık */
.bew-shn-title {
  font-family: var(--font-display, "Marcellus", Georgia, serif) !important;
  font-size: clamp(34px, 4.2vw, 60px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  margin: 0 0 20px !important;
  color: var(--bew-shn-title-color, #fff) !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
  animation: bew-shn-slide-up 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes bew-shn-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bew-shn-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--bew-shn-desc-color, rgba(255,255,255,0.86));
  margin: 0 0 28px;
  max-width: 580px;
  text-wrap: pretty;
}

/* Meta */
.bew-shn-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.bew-shn-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bew-shn-tags li {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
}

/* CTA */
.bew-shn-cta,
.bew-shn-cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a2a22 !important;
  background: #f0c489 !important;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: gap 0.2s ease, background 0.2s ease;
  border: none !important;
  box-shadow: none !important;
}
.bew-shn-cta:hover {
  gap: 12px !important;
  background: #f5d4a4 !important;
}

/* ---- Navigasyon ---- */
.bew-shn-nav {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}

.bew-shn-dot,
.bew-shn-dot:hover,
.bew-shn-dot:focus,
.bew-shn-dot:active {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.55) !important;
  padding: 8px 4px !important;
  cursor: pointer !important;
  transition: color 0.25s ease !important;
  font-family: var(--font-mono, "JetBrains Mono", monospace) !important;
  outline: none !important;
}
.bew-shn-dot:hover { color: #fff !important; }
.bew-shn-dot.is-active { color: #fff !important; }

.bew-shn-dot-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  min-width: 22px;
  text-align: right;
}

.bew-shn-dot-bar {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  flex-shrink: 0;
}
.bew-shn-dot.is-active .bew-shn-dot-bar {
  background: rgba(255,255,255,0.4);
}

.bew-shn-dot-fill {
  position: absolute;
  inset: 0;
  background: #f0c489;
  transform: scaleX(0);
  transform-origin: left;
}
.bew-shn-dot.is-active .bew-shn-dot-fill {
  animation: bew-shn-fill var(--bew-shn-duration, 5500ms) linear forwards;
}
.bew-shn-stage:hover .bew-shn-dot.is-active .bew-shn-dot-fill {
  animation-play-state: paused;
}
@keyframes bew-shn-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.bew-shn-dot-title {
  font-family: var(--font-display, "Marcellus", Georgia, serif);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-width 0.4s ease;
}
.bew-shn-dot.is-active .bew-shn-dot-title,
.bew-shn-dot:hover .bew-shn-dot-title {
  opacity: 0.92;
  max-width: 240px;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .bew-shn-frame { padding: 28px 20px 90px; }
  .bew-shn-title { font-size: clamp(28px, 8vw, 36px) !important; }
  .bew-shn-nav {
    right: 20px;
    top: auto;
    bottom: 16px;
    left: 20px;
    transform: none;
    flex-direction: row;
    gap: 6px;
  }
  .bew-shn-dot,
  .bew-shn-dot:hover,
  .bew-shn-dot:focus,
  .bew-shn-dot:active {
    flex: 1 1 0 !important;   /* mevcut alanı eşit paylaş */
    min-width: 0 !important;  /* taşmayı önle */
    padding: 6px 0 !important;
    gap: 0 !important;
  }
  .bew-shn-dot-num   { display: none; }
  .bew-shn-dot-bar   { width: 100%; min-width: 10px; }
  .bew-shn-dot-title { display: none; }
}

/* ================================================
   NUMARA STİLİ — Tipografik Kart Izgara
   ================================================ */
.bew-shn-numara {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bew-nm-line, rgba(255, 255, 255, 0.18));
}

.bew-nm-card {
  position: relative;
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--bew-nm-line, rgba(255, 255, 255, 0.12));
  color: var(--bew-nm-text, rgba(232, 227, 216, 0.85));
  transition: background 0.3s ease;
}
.bew-nm-card:last-child { border-right: none; }
.bew-nm-card:hover { background: rgba(255, 255, 255, 0.04); }

.bew-nm-num {
  font-family: var(--font-display, "Marcellus", Georgia, serif);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--bew-nm-accent, #f0c489);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bew-nm-title {
  font-family: var(--font-display, "Marcellus", Georgia, serif) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.005em !important;
  color: var(--bew-nm-heading, #f0eae0) !important;
  margin: 0 !important;
  text-wrap: balance;
  min-height: 2.4em;
}

.bew-nm-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bew-nm-text, rgba(232, 227, 216, 0.9));
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}

.bew-nm-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bew-nm-tags li {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(232, 227, 216, 0.65);
}

.bew-nm-cta,
.bew-nm-cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bew-nm-accent, #f0c489) !important;
  text-decoration: none !important;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(240, 196, 137, 0.18);
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: gap 0.2s ease, color 0.2s ease;
}
.bew-nm-cta:hover {
  gap: 10px !important;
  color: #fff !important;
  background: transparent !important;
}
.bew-nm-cta svg { transition: transform 0.2s ease; }
.bew-nm-cta:hover svg { transform: translate(2px, -2px); }

/* Numara — Responsive */
@media (max-width: 1100px) {
  .bew-shn-numara { grid-template-columns: repeat(2, 1fr) !important; border-top: none; }
  .bew-nm-card {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .bew-nm-card:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
}
@media (max-width: 600px) {
  .bew-shn-numara { grid-template-columns: 1fr !important; }
  .bew-nm-card { border-right: none !important; }
  .bew-nm-title { min-height: auto; }
}
/* ================================================
   SADE STİLİ — Liste
   ================================================ */
.bew-as-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--bew-as-line, rgba(240, 196, 137, 0.2));
  /* arka plan Elementor sade_bg / container ile ayarlanır */
}

.bew-as-row {
  border-bottom: 1px solid var(--bew-as-line, rgba(240, 196, 137, 0.2));
}
.bew-as-row:nth-child(odd) {
  border-right: 1px solid var(--bew-as-line, rgba(240, 196, 137, 0.2));
}

.bew-as-list .bew-as-link,
.bew-as-list .bew-as-link:hover,
.bew-as-list .bew-as-link:visited {
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: start;
  gap: 0 18px;
  padding: 26px 28px 26px 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.28s ease;
}
.bew-as-list a.bew-as-link { cursor: pointer; }
.bew-as-list a.bew-as-link:hover {
  background: var(--bew-as-hover, rgba(240, 196, 137, 0.05));
}

.bew-as-num {
  font-family: var(--font-display, "Marcellus", Georgia, serif);
  font-size: 14px;
  letter-spacing: 0.09em;
  color: var(--bew-as-accent, rgba(240, 196, 137, 0.6));
  padding-top: 5px;
  transition: color 0.28s ease;
}
.bew-as-list a.bew-as-link:hover .bew-as-num { color: var(--bew-as-accent, #f0c489); }

.bew-as-body { min-width: 0; }

.bew-as-title {
  font-family: var(--font-display, "Marcellus", Georgia, serif) !important;
  font-size: 20px !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;
  margin: 0 0 7px !important;
  color: var(--bew-as-title, #f4efe6) !important;
  transition: color 0.28s ease;
  text-wrap: pretty;
}
.bew-as-list a.bew-as-link:hover .bew-as-title { color: var(--bew-as-accent, #f0c489) !important; }

.bew-as-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--bew-as-text, rgba(232, 227, 216, 0.6));
  text-wrap: pretty;
}

.bew-as-arrow {
  align-self: center;
  color: var(--bew-as-accent, rgba(240, 196, 137, 0.35));
  display: inline-flex;
  transition: color 0.28s ease, transform 0.28s ease;
}
.bew-as-list a.bew-as-link:hover .bew-as-arrow {
  color: var(--bew-as-accent, #f0c489);
  transform: translateX(4px);
}

/* Sade — Responsive */
@media (max-width: 760px) {
  .bew-as-list { grid-template-columns: 1fr !important; }
  .bew-as-row:nth-child(odd) { border-right: none; }
  .bew-as-list .bew-as-link {
    grid-template-columns: 38px 1fr;
    gap: 0 14px;
    padding: 22px 4px;
  }
  .bew-as-arrow { display: none; }
  .bew-as-title { font-size: 18px !important; }
}
