/* AC Bilişim – home.css
   Extracted from inline <style> blocks of: index.html */

.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.proj-tab-active,
.projects-tab-menu .projects-category-link.is-active{
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

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

.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;
}

.hero-slide-item iframe,
.hero-slide-item .cf-stream{
  pointer-events: none !important;
}

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

@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: transparent !important;
}

.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;
}

/* SERVICES VIDEO / MOBILE IMAGE SWITCH */
.service-image{
  position: relative;
  width: 100%;
}

.service-image .cf-autoplay{
  display: block !important;
}

.service-image .service-card-container-02.marquee-switch{
  display: none !important;
  width: 100% !important;
  height: 100% !important;
}

.service-image .service-card-container-02.marquee-switch .content-image._100{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media screen and (max-width: 767px){
  .service-image .cf-autoplay{
    display: none !important;
  }

  .service-image .service-card-container-02.marquee-switch{
    display: block !important;
  }
}

.swiper12 .swiper-slide{
  flex: 0 0 28% !important;
  max-width: 28% !important;
  min-width: 28% !important;
}

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

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

.swiper.swiper12.tab-active{
  display: block !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;
  }
}

.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));
  }
}

@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;
  }
}

/* Default: show video, hide fallback image */
.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] {
  display: block !important;
}

.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch {
  display: none !important;
}

/* Ensure fallback image displays properly */
.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Mobile: hide video, show image */
@media screen and (max-width: 767px) {
  .cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] {
    display: none !important;
  }

  .cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch {
    display: block !important;
  }
}

/* Default: show Cloudflare, hide the fallback image */
.cf-autoplay[data-cf-id="9cbd6156d0c3f5a5ba7897182150c421"] {
  display: block !important;
}

.cf-autoplay[data-cf-id="9cbd6156d0c3f5a5ba7897182150c421"] + .marquee-switch {
  display: none !important;
}

/* Make sure the fallback image actually renders */
.cf-autoplay[data-cf-id="9cbd6156d0c3f5a5ba7897182150c421"] + .marquee-switch img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Mobile: hide Cloudflare, show fallback image */
@media screen and (max-width: 767px) {
  .cf-autoplay[data-cf-id="9cbd6156d0c3f5a5ba7897182150c421"] {
    display: none !important;
  }

  .cf-autoplay[data-cf-id="9cbd6156d0c3f5a5ba7897182150c421"] + .marquee-switch {
    display: block !important;
  }
}

/* Default: show video, hide fallback image */
.cf-autoplay[data-cf-id="9987ef9fc30d8c6a1a7ac9b4ff61c230"] {
  display: block !important;
}

.cf-autoplay[data-cf-id="9987ef9fc30d8c6a1a7ac9b4ff61c230"] + .marquee-switch {
  display: none !important;
}

/* Ensure fallback image displays correctly */
.cf-autoplay[data-cf-id="9987ef9fc30d8c6a1a7ac9b4ff61c230"] + .marquee-switch img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Mobile: hide video, show fallback image */
@media screen and (max-width: 767px) {
  .cf-autoplay[data-cf-id="9987ef9fc30d8c6a1a7ac9b4ff61c230"] {
    display: none !important;
  }

  .cf-autoplay[data-cf-id="9987ef9fc30d8c6a1a7ac9b4ff61c230"] + .marquee-switch {
    display: block !important;
  }
}

/* Default: show video, hide fallback image */
.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] {
  display: block !important;
}

.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch {
  display: none !important;
}

/* Ensure fallback image displays properly */
.cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Mobile: hide video, show image */
@media screen and (max-width: 767px) {
  .cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] {
    display: none !important;
  }

  .cf-autoplay[data-cf-id="e3489c5bf0b08ad15c78682448f302f9"] + .marquee-switch {
    display: block !important;
  }
}

/* Local service videos (self-hosted <video>, no Cloudflare embed): show on all screen sizes */
.service-image .cf-autoplay.cf-local {
  display: block !important;
}
.cf-autoplay.cf-local video {
  object-fit: cover;
  display: block;
}

/* Hero background video (dark hexagon wall) */
.section.hero .hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.section.hero .hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}
/* soft fade into the page colour at the bottom */
.section.hero .hero-bg-video::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(47, 50, 54, 0) 0%, #2f3236 100%);
}
.section.hero > .w-layout-blockcontainer {
  position: relative;
  z-index: 1;
}

/* "Bize güvenen markalar": reference logos, 4 per row on desktop, 2 on mobile */
.logos-grid.refs {
  /* flex instead of grid so an incomplete last row stays centred */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
}
.logos-grid.refs > .grid-block {
  flex: 0 0 calc((100% - 9px) / 4);
}
.logos-grid.refs .image-wrapper.award-site-logo {
  height: 9rem;
  padding: 0 2.5rem;
}
.logos-grid.refs .content-image.brand-partner-logo.ref-logo {
  filter: none; /* logos are already black; the template inverts white logos */
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 3.4rem;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .logos-grid.refs { gap: 15px; }
  .logos-grid.refs > .grid-block { flex: 0 0 calc((100% - 15px) / 2); }
  .logos-grid.refs .image-wrapper.award-site-logo { height: 6.5rem; padding: 0 1rem; }
  .logos-grid.refs .ref-logo { max-height: 2.4rem; max-width: 85%; }
}

/* =========================================================
   "Müşterilerimiz ne diyor?" – two-row review marquee
   ========================================================= */
.rv-section { padding: 7rem 0 7.5rem; overflow: hidden; }
.rv-head-wrap {
  max-width: 77.5rem; /* matches template .container widths */
  margin: 0 auto 3.25rem;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.rv-title { margin: 0; }
.rv-marquee {
  display: grid;
  gap: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.rv-row { overflow: hidden; }
.rv-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  animation: rv-scroll 70s linear infinite;
}
.rv-row-2 .rv-track { animation-direction: reverse; animation-duration: 80s; }
.rv-marquee:hover .rv-track { animation-play-state: paused; }
@keyframes rv-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.5rem)); }
}
.rv-card {
  /* same look as the review cards on the About page */
  flex: none;
  display: flex;
  flex-direction: column;
  width: 21rem;
  margin: 0;
  padding: 20px 22px;
  border-radius: 10px;
  background: #212121;
  color: #fff;
  text-align: left;
}
.rv-qicon { display: block; width: 20px; height: 20px; }
.rv-quote {
  margin: 12px 0 16px;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-head { display: flex; flex-direction: column; align-items: flex-start; }
.rv-name { display: block; margin-bottom: 5px; font-size: 1.2rem; line-height: 21px; color: #fff; }
.rv-role {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.125px;
  text-transform: uppercase;
  color: #6b6b6b;
}
@media (prefers-reduced-motion: reduce) {
  .rv-track { animation: none; }
  .rv-row { overflow-x: auto; }
}
@media screen and (max-width: 767px) {
  .rv-section { padding: 5rem 0; }
  .rv-head-wrap { flex-direction: column; align-items: flex-start; padding: 0 1rem; }
  .rv-card { width: 17.5rem; padding: 20px; }
  .rv-quote { font-size: 15px; }
  .rv-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
}

/* Slider arrows on the coloured fields (hero projects + projects by category):
   outline circles, white icon; fill white on hover. */
.section.hero .hero-slider-swiper-arrow.left,
.section.hero .hero-slider-swiper-arrow.right,
.more-work-homepage .hero-slider-swiper-arrow.left,
.more-work-homepage .hero-slider-swiper-arrow.right {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.section.hero .hero-slider-swiper-arrow.left:hover,
.section.hero .hero-slider-swiper-arrow.right:hover,
.more-work-homepage .hero-slider-swiper-arrow.left:hover,
.more-work-homepage .hero-slider-swiper-arrow.right:hover {
  border-color: #fff;
  background-color: #fff;
  color: var(--th-base);
}
.section.hero .hero-slider-swiper-arrow .swipe-arrow,
.more-work-homepage .hero-slider-swiper-arrow .swipe-arrow {
  min-width: 1.4rem; max-width: 1.4rem; min-height: 1.4rem; max-height: 1.4rem;
}
.section.hero .hero-slider-swiper-arrow .swipe-arrow svg,
.more-work-homepage .hero-slider-swiper-arrow .swipe-arrow svg { width: 100%; height: 100%; }
.section.hero .hero-slider-swiper-arrow.swiper-button-disabled,
.more-work-homepage .hero-slider-swiper-arrow.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
@media screen and (min-width: 1440px) { .rv-head-wrap { max-width: 87.5rem; } }
@media screen and (min-width: 1920px) { .rv-head-wrap { max-width: 122rem; } }
@media screen and (max-width: 991px) { .rv-head-wrap { max-width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; } }

/* hero divider: soft white hairline instead of the template's dark grey,
   and stop it (and the arrows) at the same right gutter as the content */
.section.hero .hero-divider-line {
  background-color: rgba(255, 255, 255, 0.22);
  margin-right: 2rem;
}
.section.hero .container.home-hero-new > .top-heading { padding-right: 2rem; }
@media screen and (max-width: 991px) {
  .section.hero .hero-divider-line { margin-right: 1.5rem; }
  .section.hero .container.home-hero-new > .top-heading { padding-right: 1.5rem; }
}

/* Hero video tinted with the brand red: a red layer blended over the
   (dark) video inside its own stacking context. */
.section.hero .hero-bg-video { isolation: isolate; }
.section.hero .hero-bg-video video { filter: grayscale(1); }
.section.hero .hero-bg-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--th-base);
  mix-blend-mode: screen;
  pointer-events: none;
}
.section.hero .hero-bg-video::after { z-index: 2; }
