/* AC Bilişim – service-detail.css
   Extracted from inline <style> blocks of: services/branding, ecommerce, web-development, website-design */

.is-proj-hidden{display:none !important;}

.projects-tab-menu .projects-category-link{
  border:1px solid #ffffff !important;
  background:transparent !important;
  color:#ffffff !important;
}

.projects-tab-menu .projects-category-link .tab-link-title{
  color:#ffffff !important;
}

.projects-tab-menu .projects-category-link .category-dot{
  width:6px !important;
  height:6px !important;
  border-radius:999px !important;
  background:#ffffff !important;
  opacity:0 !important;
  transform:scale(0) !important;
  transition:opacity .2s ease,transform .2s ease !important;
}

.projects-tab-menu .projects-category-link.proj-tab-active{
  background:#ffffff !important;
  border-color:#ffffff !important;
  color:#000000 !important;
}

.projects-tab-menu .projects-category-link.proj-tab-active .tab-link-title{
  color:#000000 !important;
}

.projects-tab-menu .projects-category-link.proj-tab-active .category-dot{
  opacity:1 !important;
  transform:scale(1) !important;
}

/* ============================
   CURSOR FOLLOW TOOLTIP (TIGHT)
============================ */
.cursor-follow{
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-9999px, -9999px, 0);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms linear;
  will-change: transform;
}

.cursor-follow.is-active{
  opacity: 1;
}

.cursor-follow-inner{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: #c8ff3d;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ✅ IMPORTANT FIX:
   If the cursor passes over an <iframe>, the parent page stops receiving pointermove.
   These videos are decorative (controls=false), so disable pointer events on them. */
.hero-slide-item iframe,
.hero-slide-item .cf-stream{
  pointer-events: none !important;
}

/* Optional: smaller on mobile */
@media (max-width: 767px){
  .cursor-follow-inner{
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 9px;
  }
}

  .cf-autoplay {
    position: relative;
    width: 100%;
    padding-top: 132.22222222222223%;
    overflow: hidden;
    background: #000;
  }

  .cf-autoplay__poster,
  .cf-autoplay__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .cf-autoplay__poster {
    display: block;
    object-fit: cover;
    border: 0;
    transform: scale(1.001);
    transition: opacity 120ms linear;
  }

  .cf-autoplay{
  background: transparent !important; /* or match your card color */
}

  html, body { overflow-x: hidden; }

  .projects-hero-video-container{
    position: relative;
    width: 100%;
  }

.projects-hero-video-shell{
  position: relative;
  width: 98vw;
  max-width: 98vw;
  margin: 2rem auto;   /* desktop + tablet */
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* Mobile override */
@media (max-width: 479px){
  .projects-hero-video-shell{
    margin: 1rem auto; /* mobile only */
    width: 95%;
    max-width:  95%;
  }
}

  .projects-hero-video-slot{
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .projects-hero-video-slot iframe{
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    background: #000 !important;
  }

  /* ✅ MOBILE POSTER (hidden on desktop/tablet) */
  .projects-hero-video-poster-mobile{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;              /* ✅ ABOVE the iframe */
    display: none;
    opacity: 1;
  }

  /* ✅ On mobile: show poster + hide iframe entirely (removes Cloudflare UI overlay) */
  @media (max-width: 991px){
    .projects-hero-video-poster-mobile{ display: block; }
    .projects-hero-video-slot iframe{ display: none !important; }
  }

  /* PLAY BUTTON (your styling + forced horizontal) */
  .play-button-mobile-projects-wrapper{
    position: absolute !important;
    bottom: 22px !important;
    right: 26px !important;
    z-index: 10 !important;
    padding: 1rem !important;
    background-color: #000 !important;

    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    color: #fff !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    font-family: Helvetica Now Display, Arial, sans-serif !important;
    line-height: 1 !important;

    border-radius: 200px !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;

    width: auto !important;
  }

  .play-button-mobile-projects-label{
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .play-button-mobile-projects-icon{
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }

  .play-button-mobile-projects-icon svg{
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    fill: currentColor !important;
  }

  @media (max-width: 479px){
    .play-button-mobile-projects-wrapper{
      width: auto !important;
      right: 16px !important;
      bottom: 16px !important;
      font-size: 1.5rem !important;
      padding: .85rem 1rem !important;
    }

    .play-button-mobile-projects-icon,
    .play-button-mobile-projects-icon svg{
      width: 24px !important;
      height: 24px !important;
    }
  }

/* ✅ FORCE ALL SLIDES in swiper12 to be identical width */
.swiper12 .swiper-slide{
  flex: 0 0 28% !important;
  max-width: 28% !important;
  min-width: 28% !important;
}

/* Tablet */
@media (max-width: 991px){
  .swiper12 .swiper-slide{
    flex-basis: 45% !important;
    max-width: 45% !important;
    min-width: 45% !important;
  }
}

/* Mobile */
@media (max-width: 767px){
  .swiper12 .swiper-slide{
    flex-basis: 85% !important;
    max-width: 85% !important;
    min-width: 85% !important;
  }
}

  /* Swiper visibility */
  .swiper.swiper12.tab-hidden { display: none !important; }
  .swiper.swiper12.tab-active { display: block !important; }

  /* --- TAB STYLES (Active vs Inactive) --- */
  .projects-tab-menu .projects-category-link.is-active {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  /* Ensure the title inherits active text color */
  .projects-tab-menu .projects-category-link.is-active .tab-link-title {
    color: #000000 !important;
  }

  /* Dots: hide by default (inactive) */
  .projects-tab-menu .projects-category-link .category-dot {
    display: none !important;
    opacity: 0.35; /* not really needed since hidden, but kept per your request */
  }

  /* Only show the active dot, make it black */
  .projects-tab-menu .projects-category-link.is-active .category-dot {
    display: block !important;
    opacity: 1 !important;
    background-color: #000000 !important;
  }

  /* If your dot is an outlined circle instead of filled, uncomment this:
  .projects-tab-menu .projects-category-link.is-active .category-dot {
    border: 2px solid #000000 !important;
    background-color: transparent !important;
  }
  */

@media (max-width: 991px){
  .cursor-follow{display:none!important}
}

.pull-out-inner-wrapper{
  overflow-y:auto;
  scrollbar-width:auto;
  scrollbar-color:#8a8a8a transparent;
}

.pull-out-inner-wrapper::-webkit-scrollbar{width:16px}
.pull-out-inner-wrapper::-webkit-scrollbar-track{
  background:transparent;
  margin:10px 0;
}
.pull-out-inner-wrapper::-webkit-scrollbar-thumb{
  background:#8a8a8a;
  border-radius:999px;
  border:5px solid transparent;
  background-clip:content-box;
}
.pull-out-inner-wrapper::-webkit-scrollbar-thumb:hover{background:#6f6f6f}

.service-card-container.marquee-switch{
  display:grid!important;
}
.service-card-container.marquee-switch .content-image._100{
  grid-area:1/1!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:none!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  backface-visibility:hidden;
}
.service-card-container.marquee-switch .content-image._100.is-active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

@media (max-width: 767px){
  .logos-grid[data-logo-collapse="true"]{
    overflow:hidden;
    max-height:var(--logos-collapsed-h,9999px);
    transition:max-height 420ms ease;
  }
  .logos-grid.is-expanded{
    max-height:var(--logos-expanded-h,9999px);
  }
  .logos-grid[data-logo-collapse="true"]:not(.is-expanded){
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 86%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 86%,transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce){
  .logos-grid[data-logo-collapse="true"]{transition:none!important}
}

.section.under-video.services .swiper8,
.section.under-video.services .swiper8 *{
  -webkit-user-select:none;
  user-select:none;
}

.section.under-video.services .swiper8 img,
.section.under-video.services .swiper8 a,
.section.under-video.services .swiper8 iframe{
  -webkit-user-drag:none;
  user-drag:none;
}

.section.under-video.services .swiper8 iframe{
  pointer-events:none!important;
}

.story-progress{
  display:flex;
  gap:8px;
  width:100%;
  align-items:center;
  padding:14px 16px 0;
  box-sizing:border-box;
}
.story-bar{
  position:relative;
  flex:1;
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.28);
}
.story-bar-fill{
  position:absolute;
  inset:0 auto 0 0;
  width:0%;
  height:100%;
  border-radius:999px;
  background:rgba(255,255,255,.95);
}
@media (max-width:767px){
  .story-progress{padding:12px 12px 0;gap:6px}
}

html.wf-design-mode .hero-slide-item .slide-items-container .slide-item-02,
html.wf-design-mode .hero-slide-item .slide-items-container .slide-item-03,
html.wf-design-mode .hero-slide-item .slide-items-container .slide-item-04,
html.wf-design-mode .hero-slide-item .slide-items-container .slide-item-05{
  display:none!important;
}

.hero-slide-item .slide-items-container{
  position:relative;
  overflow:hidden;
}

.hero-slide-item .slide-items-container .slide-item-01,
.hero-slide-item .slide-items-container .slide-item-02,
.hero-slide-item .slide-items-container .slide-item-03,
.hero-slide-item .slide-items-container .slide-item-04,
.hero-slide-item .slide-items-container .slide-item-05{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transition:none!important;
}

.hero-slide-item .slide-items-container .slide-item-01{
  opacity:1;
  z-index:2;
  pointer-events:auto;
}

.hero-slide-item .slide-items-container .slide-item-02,
.hero-slide-item .slide-items-container .slide-item-03,
.hero-slide-item .slide-items-container .slide-item-04,
.hero-slide-item .slide-items-container .slide-item-05{
  opacity:0;
  z-index:1;
  pointer-events:none;
}

.hero-slide-item .slide-items-container .slide-progress-meters{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:10;
  opacity:0;
  pointer-events:none;
  transition:opacity 120ms linear;
}
.hero-slide-item.is-story-hover .slide-items-container .slide-progress-meters{
  opacity:1;
  pointer-events:auto;
}

.hero-slide-item .slide-items-container .story-progress{pointer-events:auto}
.hero-slide-item .slide-items-container .story-bar{cursor:pointer}

.hero-slide-item .slide-items-container .story-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
}

.hero-slide-item .slide-items-container img.story-image,
.hero-slide-item .slide-items-container img.content-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-slide-item .slide-items-container .cf-stream-slot{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
  outline:none;
  border:0;
}

.hero-slide-item .slide-items-container .cf-stream-slot iframe.cf-stream{
  position:absolute;
  top:50%;
  left:50%;
  width:100%;
  height:100%;
  border:0!important;
  outline:0!important;
  background:transparent;
  transform:translate(-50%,-50%) scale(var(--cover-scale,1.13));
  transform-origin:center;
  visibility:hidden;
  pointer-events:none;
}

.hero-slide-item .slide-items-container .cf-stream-slot.is-ready.is-show iframe.cf-stream{
  visibility:visible;
}

@media (max-width:767px){
  .hero-slide-item .slide-items-container .cf-stream-slot iframe.cf-stream{
    transform:translate(-50%,-50%) scale(var(--cover-scale-mobile,1.13));
  }
}

.hero-slide-item .slide-items-container .story-tap-layer{
  position:absolute;
  inset:0;
  z-index:9;
  opacity:0;
  pointer-events:none;
  background:transparent;
}

@media (max-width: 991px){
  .hero-slide-item .slide-items-container .slide-progress-meters{display:none!important}
  .hero-slide-item .slide-items-container .slide-item-02,
  .hero-slide-item .slide-items-container .slide-item-03,
  .hero-slide-item .slide-items-container .slide-item-04,
  .hero-slide-item .slide-items-container .slide-item-05{display:none!important}
  .hero-slide-item.is-story-hover{pointer-events:auto}
}
