/* BY BARIŞ ORGANİZASYON — V25 service detail visual-first refinement
   Priority: surface strong service imagery earlier, improve video presentation,
   preserve clean corporate hierarchy and responsive behavior. */

.bs-detail--v25{--bbd25-deep:#062b37;--bbd25-gold:#c89238;--bbd25-cream:#f8f4ec;--bbd25-line:rgba(6,43,55,.10)}

/* Bring visual proof close to the top without turning the page into a gallery wall. */
.bs-detail--v25 .bbd25-visual{
  position:relative;
  padding:52px 0 58px!important;
  background:linear-gradient(180deg,#fbfaf7 0%,#f6f1e7 100%)!important;
  border-top:1px solid rgba(6,43,55,.06);
  border-bottom:1px solid rgba(6,43,55,.07);
  overflow:hidden;
}
.bs-detail--v25 .bbd25-visual:before{
  content:"BY BARIŞ";
  position:absolute;
  right:-18px;
  top:18px;
  font:800 clamp(72px,10vw,150px)/1 Inter,sans-serif;
  letter-spacing:-.07em;
  color:rgba(6,43,55,.025);
  pointer-events:none;
}
.bs-detail--v25 .bbd25-visual__head{position:relative;z-index:2;margin-bottom:20px!important}
.bs-detail--v25 .bbd25-visual__grid{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:1.3fr .82fr .82fr;
  grid-template-rows:220px 220px;
  gap:12px;
}
.bs-detail--v25 .bbd25-visual__item{
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border-radius:18px;
  background:#e7e7e3;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 15px 36px rgba(6,43,55,.08);
  isolation:isolate;
}
.bs-detail--v25 .bbd25-visual__item.is-featured{grid-row:1/3}
.bs-detail--v25 .bbd25-visual__item img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .35s ease;
}
.bs-detail--v25 .bbd25-visual__shade{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(4,28,36,.04) 20%,rgba(4,28,36,.18) 50%,rgba(4,28,36,.84) 100%);
}
.bs-detail--v25 .bbd25-visual__label{
  position:absolute;left:14px;top:14px;z-index:3;
  display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;
  background:rgba(255,255,255,.92);color:#7f581d!important;
  font:800 9px/1 Inter,sans-serif;letter-spacing:.10em;text-transform:uppercase;
  box-shadow:0 8px 18px rgba(4,28,36,.08);
}
.bs-detail--v25 .bbd25-visual__item>strong{
  position:absolute;left:16px;right:16px;bottom:38px;z-index:3;
  color:#fff!important;font:500 19px/1.16 "Playfair Display",serif;
  text-shadow:0 3px 14px rgba(0,0,0,.24);
}
.bs-detail--v25 .bbd25-visual__item.is-featured>strong{font-size:31px;bottom:46px}
.bs-detail--v25 .bbd25-visual__item>em{
  position:absolute;left:16px;bottom:15px;z-index:3;
  color:rgba(255,255,255,.90);font:800 9px/1 Inter,sans-serif;font-style:normal;letter-spacing:.06em;text-transform:uppercase;
}
.bs-detail--v25 .bbd25-visual__foot{position:relative;z-index:2;display:flex;justify-content:flex-end;margin-top:18px}
@media(hover:hover) and (pointer:fine){
  .bs-detail--v25 .bbd25-visual__item:hover img{transform:scale(1.045);filter:saturate(1.04) contrast(1.02)}
  .bs-detail--v25 .bbd25-visual__item:hover{box-shadow:0 21px 46px rgba(6,43,55,.13)}
}

/* Make project imagery slightly more dominant. */
.bs-detail--v25 .bbd24-project{min-height:342px!important}
.bs-detail--v25 .bbd24-project__media{height:212px!important}
.bs-detail--v25 .bbd24-project__media img{object-fit:cover!important}

/* Article media should interrupt long text earlier and more confidently. */
.bs-detail--v25 .bbd24-rich .bs-seo-figure{
  margin:30px -10px 32px!important;
  border-radius:19px!important;
  box-shadow:0 16px 36px rgba(6,43,55,.07)!important;
}
.bs-detail--v25 .bbd24-rich .bs-seo-figure img{width:100%!important;max-height:720px!important;min-height:300px;object-fit:cover!important}
.bs-detail--v25 .bbd24-rich .bs-seo-figure figcaption{padding:15px 18px 17px!important}

/* Main service gallery: larger visual area, less text-card feel. */
.bs-detail--v25 .bbd24-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.bs-detail--v25 .bbd24-gallery__grid .bs-detail-gallery__item{height:300px!important;min-height:300px!important}
.bs-detail--v25 .bbd24-gallery__grid .bs-detail-gallery__item img{object-fit:cover!important;transition:transform .55s ease}
.bs-detail--v25 .bbd24-gallery__grid figcaption p{-webkit-line-clamp:2!important}
@media(hover:hover) and (pointer:fine){.bs-detail--v25 .bbd24-gallery__grid .bs-detail-gallery__figure:hover img{transform:scale(1.025)}}

/* High-resolution visual poster for video. YouTube iframe is only inserted after click. */
.bs-detail--v25 .bbd25-video{grid-template-columns:290px minmax(0,1fr)!important}
.bs-detail--v25 .bbd25-video-player,
.bs-detail--v25 .bbd25-inline-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#0a2731;
}
.bs-detail--v25 .bbd25-video-player__poster,
.bs-detail--v25 .bbd25-inline-video__poster{
  position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#0a2731;cursor:pointer;overflow:hidden;text-align:left;
}
.bs-detail--v25 .bbd25-video-player__poster img,
.bs-detail--v25 .bbd25-inline-video__poster img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.03) contrast(1.02);transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .35s ease;
}
.bs-detail--v25 .bbd25-video-player__shade,
.bs-detail--v25 .bbd25-inline-video__shade{
  position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,25,32,.56) 0%,rgba(3,25,32,.20) 46%,rgba(3,25,32,.09) 100%);z-index:1;
}
.bs-detail--v25 .bbd25-video-player__play,
.bs-detail--v25 .bbd25-inline-video__play{
  position:absolute;left:50%;top:50%;z-index:4;transform:translate(-50%,-50%);
  width:72px;height:72px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.94);color:var(--bbd25-deep);box-shadow:0 16px 40px rgba(0,0,0,.20),0 0 0 9px rgba(255,255,255,.15);
}
.bs-detail--v25 .bbd25-video-player__play i,
.bs-detail--v25 .bbd25-inline-video__play i{font-size:18px;margin-left:3px}
.bs-detail--v25 .bbd25-video-player__caption{
  position:absolute;left:22px;bottom:20px;z-index:4;max-width:68%;color:#fff;
}
.bs-detail--v25 .bbd25-video-player__caption small{display:block;margin-bottom:5px;color:#efc97c;font:800 9px/1 Inter,sans-serif;letter-spacing:.13em}
.bs-detail--v25 .bbd25-video-player__caption strong{display:block;color:#fff;font:500 25px/1.1 "Playfair Display",serif;text-shadow:0 3px 15px rgba(0,0,0,.18)}
.bs-detail--v25 .bbd25-video-player iframe,
.bs-detail--v25 .bbd25-inline-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.bs-detail--v25 .bbd25-inline-video{margin:28px 0;border-radius:18px;box-shadow:0 16px 36px rgba(6,43,55,.08)}
.bs-detail--v25 .bbd25-inline-video__poster{border-radius:18px}
.bs-detail--v25 .bbd25-inline-video__label{
  position:absolute;left:17px;bottom:16px;z-index:4;display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;
  background:rgba(3,25,32,.68);border:1px solid rgba(255,255,255,.18);color:#fff;font:800 9px/1 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;
}
@media(hover:hover) and (pointer:fine){
  .bs-detail--v25 .bbd25-video-player__poster:hover img,
  .bs-detail--v25 .bbd25-inline-video__poster:hover img{transform:scale(1.025);filter:saturate(1.08) contrast(1.03)}
}

/* Keep long article typography airy. */
.bs-detail--v25 .bbd24-rich p{max-width:100%;letter-spacing:.002em}
.bs-detail--v25 .bbd24-rich h2,.bs-detail--v25 .bbd24-rich h3{scroll-margin-top:120px}

@media(max-width:991px){
  .bs-detail--v25 .bbd25-visual__grid{grid-template-columns:1.1fr .9fr;grid-template-rows:230px 230px 210px}
  .bs-detail--v25 .bbd25-visual__item.is-featured{grid-row:1/3}
  .bs-detail--v25 .bbd25-visual__item:nth-child(4),
  .bs-detail--v25 .bbd25-visual__item:nth-child(5){grid-row:3}
  .bs-detail--v25 .bbd25-video{grid-template-columns:1fr!important}
}

@media(max-width:767px){
  .bs-detail--v25 .bbd25-visual{padding:32px 0 38px!important}
  .bs-detail--v25 .bbd25-visual__head{margin-bottom:14px!important}
  .bs-detail--v25 .bbd25-visual__grid{grid-template-columns:1fr 1fr;grid-template-rows:260px 160px 160px;gap:8px}
  .bs-detail--v25 .bbd25-visual__item{border-radius:14px}
  .bs-detail--v25 .bbd25-visual__item.is-featured{grid-column:1/-1;grid-row:auto}
  .bs-detail--v25 .bbd25-visual__item:nth-child(4),
  .bs-detail--v25 .bbd25-visual__item:nth-child(5){grid-row:auto}
  .bs-detail--v25 .bbd25-visual__label{left:10px;top:10px;min-height:25px;padding:0 8px;font-size:8px}
  .bs-detail--v25 .bbd25-visual__item>strong{left:12px;right:12px;bottom:31px;font-size:15px}
  .bs-detail--v25 .bbd25-visual__item.is-featured>strong{font-size:23px;bottom:38px}
  .bs-detail--v25 .bbd25-visual__item>em{left:12px;bottom:11px;font-size:7.7px}
  .bs-detail--v25 .bbd25-visual__foot{justify-content:center;margin-top:14px}

  .bs-detail--v25 .bbd24-project{min-height:310px!important}
  .bs-detail--v25 .bbd24-project__media{height:188px!important}
  .bs-detail--v25 .bbd24-rich .bs-seo-figure{margin:24px 0 26px!important}
  .bs-detail--v25 .bbd24-rich .bs-seo-figure img{min-height:210px!important;max-height:520px!important}
  .bs-detail--v25 .bbd24-gallery__grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .bs-detail--v25 .bbd24-gallery__grid .bs-detail-gallery__item{height:185px!important;min-height:185px!important}
  .bs-detail--v25 .bbd24-gallery__grid figcaption{display:none!important}

  .bs-detail--v25 .bbd25-video-player__play,
  .bs-detail--v25 .bbd25-inline-video__play{width:58px;height:58px;box-shadow:0 12px 30px rgba(0,0,0,.20),0 0 0 7px rgba(255,255,255,.14)}
  .bs-detail--v25 .bbd25-video-player__caption{left:15px;bottom:14px;max-width:66%}
  .bs-detail--v25 .bbd25-video-player__caption strong{font-size:19px}
  .bs-detail--v25 .bbd25-inline-video{margin:22px 0;border-radius:14px}
  .bs-detail--v25 .bbd25-inline-video__poster{border-radius:14px}
}

@media(max-width:480px){
  .bs-detail--v25 .bbd25-visual__grid{grid-template-columns:1fr 1fr;grid-template-rows:230px 145px 145px}
  .bs-detail--v25 .bbd24-gallery__grid .bs-detail-gallery__item{height:160px!important;min-height:160px!important}
}

@media(prefers-reduced-motion:reduce){
  .bs-detail--v25 .bbd25-visual__item img,
  .bs-detail--v25 .bbd25-video-player__poster img,
  .bs-detail--v25 .bbd25-inline-video__poster img{transition:none!important}
}


/* --------------------------------------------------------------------------
   V26 project detail refinement: corporate related-projects block + icon-safe
   gallery navigation controls.
   -------------------------------------------------------------------------- */
body.vip-inner-page .portfolio-details-content .owl-theme .owl-nav [class*='owl-']{
  width:48px!important;height:48px!important;border-radius:15px!important;
  border:1px solid rgba(6,43,55,.10)!important;background:rgba(255,255,255,.94)!important;
  color:#0b2d3a!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:0 16px 34px rgba(6,43,55,.10)!important;font-size:0!important;transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease
}
body.vip-inner-page .portfolio-details-content .owl-theme .owl-nav [class*='owl-']:hover{
  transform:translateY(-2px);background:#0b3140!important;color:#fff!important;border-color:#0b3140!important;
  box-shadow:0 18px 34px rgba(6,43,55,.18)!important
}
body.vip-inner-page .portfolio-details-content .owl-theme .owl-nav .bb-owl-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:100%;height:100%;font:700 28px/1 Inter,Arial,sans-serif;transform:translateY(-1px)
}
#scrollUp,.scroll-top,.prgoress_indicator,.progress-wrap{
  font-size:0!important;
}
#scrollUp .bb-scrolltop-arrow,.scroll-top .bb-scrolltop-arrow,.progress-wrap .bb-scrolltop-arrow,.prgoress_indicator .bb-scrolltop-arrow{
  font:700 18px/1 Inter,Arial,sans-serif;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%
}

.bb-project-related--v26{
  position:relative;
  padding:28px 0 92px!important;
  background:linear-gradient(180deg,#fbfaf7 0%,#f5efe4 100%)!important;
  overflow:hidden;
}
.bb-project-related--v26:before{
  content:"BY BARIŞ";
  position:absolute;right:-14px;top:18px;
  font:800 clamp(70px,10vw,170px)/1 Inter,sans-serif;
  letter-spacing:-.08em;color:rgba(6,43,55,.03);pointer-events:none
}
.bb-project-related__head{
  position:relative;z-index:1;
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid rgba(6,43,55,.08)
}
.bb-project-related__eyebrow{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:10px;
  color:#b47b28;font:800 11px/1 Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase
}
.bb-project-related__eyebrow:before{
  content:"";width:32px;height:2px;border-radius:999px;background:#d6a04f;display:inline-block
}
.bb-project-related__head h2{
  margin:0 0 9px!important;color:#092c39!important;font:500 clamp(32px,3.6vw,44px)/1.04 "Playfair Display",serif!important
}
.bb-project-related__head p{
  max-width:720px;margin:0!important;color:#5a6a71!important;font:400 15px/1.8 Inter,sans-serif!important
}
.bb-project-related__all{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;
  border-radius:999px;border:1px solid rgba(6,43,55,.10);background:#fff;color:#0b3140!important;
  font:800 11px/1 Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase;text-decoration:none!important;
  box-shadow:0 12px 28px rgba(6,43,55,.06);transition:transform .22s ease,box-shadow .22s ease,background .22s ease,color .22s ease
}
.bb-project-related__all:hover{transform:translateY(-2px);background:#0b3140;color:#fff!important;box-shadow:0 18px 34px rgba(6,43,55,.16)}
.bb-project-related__grid{position:relative;z-index:1;row-gap:28px}
.bb-project-card{
  height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(6,43,55,.08);border-radius:24px;overflow:hidden;
  box-shadow:0 18px 44px rgba(6,43,55,.08);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease
}
.bb-project-card:hover{transform:translateY(-6px);box-shadow:0 28px 52px rgba(6,43,55,.14);border-color:rgba(184,138,77,.34)}
.bb-project-card__media{position:relative;display:block;aspect-ratio:14/11;background:#e8edec;overflow:hidden}
.bb-project-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.75,.2,1),filter .3s ease}
.bb-project-card:hover .bb-project-card__media img{transform:scale(1.045);filter:saturate(1.04) contrast(1.02)}
.bb-project-card__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,27,35,.02) 35%,rgba(4,27,35,.16) 58%,rgba(4,27,35,.75) 100%)}
.bb-project-card__badge{
  position:absolute;left:16px;top:16px;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:34px;padding:0 10px;
  border-radius:999px;background:rgba(255,255,255,.92);color:#9a6724;font:800 10px/1 Inter,sans-serif;letter-spacing:.10em;text-transform:uppercase;
  box-shadow:0 12px 24px rgba(5,28,35,.08)
}
.bb-project-card__body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px}
.bb-project-card__meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:12px}
.bb-project-card__meta span{display:inline-flex;align-items:center;gap:8px;color:#9a6d2c;font:800 10px/1 Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.bb-project-card__meta span+span:before{content:"";width:4px;height:4px;border-radius:50%;background:#d7aa68;display:inline-block;margin-right:6px}
.bb-project-card__body h3{margin:0 0 10px!important;font:500 25px/1.15 "Playfair Display",serif!important}
.bb-project-card__body h3 a{color:#082a37!important;text-decoration:none!important}
.bb-project-card__body p{margin:0 0 18px!important;color:#5d6c73!important;font:400 15px/1.8 Inter,sans-serif!important}
.bb-project-card__cta{margin-top:auto;display:inline-flex;align-items:center;gap:10px;color:#0b3140!important;text-decoration:none!important;font:800 11px/1 Inter,sans-serif;letter-spacing:.10em;text-transform:uppercase}
.bb-project-card__cta span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:rgba(200,146,56,.12);color:#9b6a24;font-size:15px;transition:transform .22s ease,background .22s ease,color .22s ease}
.bb-project-card:hover .bb-project-card__cta span{transform:translateX(3px);background:#0b3140;color:#fff}

@media(max-width:991px){
  .bb-project-related--v26{padding:20px 0 74px!important}
  .bb-project-related__head{align-items:flex-start;flex-direction:column}
  .bb-project-related__all{min-height:42px}
}
@media(max-width:767px){
  body.vip-inner-page .portfolio-details-content .owl-theme .owl-nav [class*='owl-']{width:42px!important;height:42px!important;border-radius:13px!important}
  body.vip-inner-page .portfolio-details-content .owl-theme .owl-nav .bb-owl-arrow{font-size:24px}
  .bb-project-related--v26{padding:14px 0 60px!important}
  .bb-project-related__head{margin-bottom:20px;padding-bottom:14px}
  .bb-project-related__head h2{font-size:29px!important}
  .bb-project-related__head p{font-size:14px!important;line-height:1.72!important}
  .bb-project-card{border-radius:18px}
  .bb-project-card__body{padding:18px 16px 19px}
  .bb-project-card__body h3{font-size:21px!important}
  .bb-project-card__body p{font-size:14px!important;line-height:1.72!important}
}
