/* ---- Wrapper ---- */
.bdbb-hero{
  width: 100%;
  height: var(--bdHeroH, 640px);
  border-radius: var(--bdHeroR, 18px);
  overflow: hidden;
  position: relative;
  color: var(--bdHeroText, #fff);
  background: #0b0f16;
}

.bdbb-hero.is-fullscreen{
  height: 100vh;
  border-radius: 0;
}

/* Full width: sayfayı tam genişlikte kapla (container dışına taş) */
.bdbb-hero.is-fullwidth{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

/* Page: genis container blok */
.bdbb-hero.is-page{
  max-width: var(--bdHeroMaxW, var(--site-shell-max, 1800px));
  margin-left: auto;
  margin-right: auto;
}

/* Custom width mode (centered max-width) */
.bdbb-hero.is-custom{
  max-width: var(--bdHeroMaxW, var(--site-shell-max, 1800px));
  margin-left: auto;
  margin-right: auto;
}

.bdbb-hero__viewport{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.bdbb-hero__track{
  height: 100%;
  display: flex;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform var(--bdHeroTrans, 450ms) cubic-bezier(.2,.9,.2,1);
}

.bdbb-hero__slide{
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bdbb-hero__bg{
  position: absolute;
  inset: 0;
  background: #0b0f16;
}

.bdbb-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bdbb-hero__overlay{
  position: absolute;
  inset: 0;
  background: var(--bdHeroOverlay, rgba(0,0,0,.35));
  opacity: var(--bdHeroOverlayO, .35);
  pointer-events: none;
}

.bdbb-hero__media{
  position: absolute;
  inset: 0;
}
.bdbb-hero__media iframe,
.bdbb-hero__media video{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* ---- Hover effects ---- */
.bdbb-hero.hover-zoom .bdbb-hero__bg,
.bdbb-hero.hover-zoom .bdbb-hero__media{
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}

.bdbb-hero.hover-zoom:hover .bdbb-hero__slide.is-active .bdbb-hero__bg,
.bdbb-hero.hover-zoom:hover .bdbb-hero__slide.is-active .bdbb-hero__media{
  transform: scale(1.04);
}

.bdbb-hero.hover-glow{
  transition: box-shadow .35s ease, transform .2s ease;
}
.bdbb-hero.hover-glow:hover{
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

/* ---- Content positioning ----
   pos-* ve v-* ayrı ayrı transform yazdığı için çakışıyordu; 3x3 bileşik kurallar. */
.bdbb-hero{
  --bdHeroOffX: 0px;
  --bdHeroOffY: 0px;
}
.bdbb-hero__content{
  position: absolute;
  width: min(var(--bdHeroContentW, 680px), calc(100% - 32px));
  z-index: 3;
  text-align: var(--bdHeroAlign, left);
  color: var(--bdHeroText, #fff);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  box-sizing: border-box;
  margin-left: var(--bdHeroOffX);
  margin-top: var(--bdHeroOffY);
}
.bdbb-hero__content.pos-left.v-top{ left:16px; right:auto; top:16px; bottom:auto; transform:none; }
.bdbb-hero__content.pos-left.v-middle{ left:16px; right:auto; top:50%; bottom:auto; transform:translateY(-50%); }
.bdbb-hero__content.pos-left.v-bottom{ left:16px; right:auto; top:auto; bottom:16px; transform:none; }
.bdbb-hero__content.pos-center.v-top{ left:50%; right:auto; top:16px; bottom:auto; transform:translateX(-50%); }
.bdbb-hero__content.pos-center.v-middle{ left:50%; right:auto; top:50%; bottom:auto; transform:translate(-50%,-50%); }
.bdbb-hero__content.pos-center.v-bottom{ left:50%; right:auto; top:auto; bottom:16px; transform:translateX(-50%); }
.bdbb-hero__content.pos-right.v-top{ left:auto; right:16px; top:16px; bottom:auto; transform:none; }
.bdbb-hero__content.pos-right.v-middle{ left:auto; right:16px; top:50%; bottom:auto; transform:translateY(-50%); }
.bdbb-hero__content.pos-right.v-bottom{ left:auto; right:16px; top:auto; bottom:16px; transform:none; }
.bdbb-hero__text-item,
.bdbb-hero__btn-wrap{ width:100%; max-width:100%; box-sizing:border-box; }

/* ---- Typography + gradients ---- */
.bdbb-hero__title{
  font-size: clamp(28px, 3.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 10px 0;
  color: var(--bdHeroText, #fff);
}

.bdbb-hero__title.is-gradient{
  background: var(--bdHeroTitleGrad, linear-gradient(90deg,#fff,#fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bdbb-hero__text{
  font-size: 16px;
  line-height: 1.5;
  opacity: .92;
  margin: 0 0 16px 0;
}

/* ---- Buttons ---- */
.bdbb-hero__btns{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bdbb-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  font-weight: 700;
  background: var(--bdHeroBtnGrad, linear-gradient(90deg,#6ee7ff,#a78bfa));
  color: #fff;
  transition: transform .15s ease, filter .2s ease;
}

.bdbb-hero__btn:hover{
  background: var(--bdHeroBtnGradH, linear-gradient(90deg,#a78bfa,#6ee7ff));
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.bdbb-hero__btn.is-secondary{
  background: transparent;
  color: var(--bdHeroText, #fff);
  border: 2px solid rgba(255,255,255,.35);
}

.bdbb-hero__btn.is-secondary:hover{
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}

/* ---- Arrows ---- */
.bdbb-hero__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.bdbb-hero__arrow:hover{ background: rgba(0,0,0,.5); }
.bdbb-hero__arrow.prev{ left: 12px; }
.bdbb-hero__arrow.next{ right: 12px; }

/* ---- Nav: thumbs ---- */
.bdbb-hero__thumbs{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.bdbb-hero__thumbs .thumbs-track{
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
  max-width: calc(100% - 24px);
  overflow-x: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.bdbb-hero__thumb{
  width: calc(var(--bdHeroThumbH, 56px) * 1.35);
  height: var(--bdHeroThumbH, 56px);
  border-radius: 12px;
  overflow: hidden;
  opacity: .75;
  cursor: pointer;
  border: 2px solid transparent;
  flex: 0 0 auto;
  transition: transform .15s ease, opacity .2s ease;
}
.bdbb-hero__thumb:hover{ transform: translateY(-1px); opacity: .95; }
.bdbb-hero__thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.bdbb-hero__thumb.is-active{ opacity: 1; border-color: rgba(255,255,255,.75); }

/* ---- Nav: progress ---- */
.bdbb-hero__progress{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.bdbb-hero__progress .prog-wrap{
  pointer-events: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: calc(100% - 24px);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.bdbb-hero__prog{
  width: 44px;
  height: var(--bdHeroProgH, 4px);
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
}
.bdbb-hero__prog .fill{
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,.9);
}

/* Küçük resim modunda eklenen mobil progress: bd-hero.css sonradan yüklendiği için
   .bdbb-hero__progress { display:flex } bunu açık bırakıyordu — masaüstünde gizle */
.bdbb-hero__progress.bdbb-hero__progress--mobile-alt{
  display: none !important;
}
@media (max-width: 768px){
  .bdbb-hero:has(.bdbb-hero__thumbs) .bdbb-hero__progress.bdbb-hero__progress--mobile-alt{
    display: flex !important;
    bottom: 12px;
    z-index: 6;
    pointer-events: none;
  }
  .bdbb-hero__progress--mobile-alt .prog-wrap{ pointer-events: auto; }
}

/* ---- Visibility ---- */
.bdbb-hide-desktop{ display:none !important; }
@media (max-width: 1024px){ .bdbb-hide-tablet{ display:none !important; } }
@media (max-width: 767px){ .bdbb-hide-mobile{ display:none !important; } }

/* ---- Responsive height ---- */
@media (max-width: 1024px){
  .bdbb-hero{ height: var(--bdHeroHT, var(--bdHeroH, 640px)); }
}
@media (max-width: 767px){
  .bdbb-hero{ height: var(--bdHeroHM, var(--bdHeroH, 640px)); }
}

/* ---- Align ---- */
.bdbb-hero.alignfull{
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.bdbb-hero.alignwide{
  max-width: none;
}

/* ---- Fullscreen Header Mode ---- */
:root{
  --bdbbHdrOpacity: 0.15;
  --bdbbHdrText: #111111;
  --bdbbHdrBlur: 10px;
}

body.bdbb-hero-header-on header.site-header,
body.bdbb-hero-header-on .site-header{
  background: rgba(255,255,255,var(--bdbbHdrOpacity)) !important;
  backdrop-filter: blur(var(--bdbbHdrBlur)) !important;
  -webkit-backdrop-filter: blur(var(--bdbbHdrBlur)) !important;
  box-shadow: none !important;
}

body.bdbb-hero-header-on header.site-header a,
body.bdbb-hero-header-on .site-header a{
  color: var(--bdbbHdrText) !important;
}
