/* AC Bilişim – about-us.css
   Extracted from inline <style> blocks of: about-us.html */

/* Mobile only */
@media screen and (max-width: 767px) {
  .slider-image-wrapper {
    border-radius: 6px!important;
  }
}

@keyframes marqMove{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-50%,0,0)}
}

.marquee-about-hero-container{
  position:relative;
  width:100%;
  overflow:hidden;
  perspective:1400px;
  perspective-origin:50% 50%;
  padding:5vw 8vw;
  box-sizing:border-box
}

.marquee-about-hero-wrapper{width:100%}

.marquee-about-hero-content{
  position:relative;
  transform-style:preserve-3d;
  transform-origin:10% 50%;
  transform:translate3d(0,0,0) translateZ(120px) rotateY(18deg) rotateX(0deg) rotateZ(0deg) scale3d(1,1,1);
  will-change:transform
}

.marquee__track{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  width:max-content;
  will-change:transform;
  backface-visibility:hidden;
  animation:marqMove 22s linear infinite
}

.marquee-about-hero-list{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  width:max-content;
  gap:1.4rem;
  padding-right:2rem
}

.marquee-about-hero-item{
  flex:0 0 auto;
  width:clamp(320px,52vw,940px)
}

.slider-image-wrapper{
  width:100%;
  border-radius: 6px;
  overflow:hidden
}

.content-image._100{
  width:100%;
  height:auto;
  display:block
}

/* MOBILE: reduce spacing */
@media (max-width: 768px){
  .marquee-about-hero-list{
    gap:.75rem;
    padding-right:.75rem
  }
}

@media (max-width: 480px){
  .marquee-about-hero-list{
    gap:.5rem;
    padding-right:.5rem
  }
}

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

.projects-video-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .2s ease, visibility .2s ease !important;
}

.projects-video-modal.is-open{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.projects-video-modal__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,.75) !important;
}

/* ✅ FIX POPUP SIZING (no giant empty black area) */
.projects-video-modal__panel{
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: min(92vw, 1100px) !important;
  aspect-ratio: 16/9 !important;
  height: auto !important;

  background: #000 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.projects-video-modal__media{
  position: absolute !important;
  inset: 0 !important;
  background: #000 !important;
}

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

/* Close button */
.projects-video-modal__close{
  position: fixed !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 100000 !important;

  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #fff !important;
  color: #000 !important;
  border: none !important;

  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 767px){
  .projects-video-modal__panel{
    width: calc(100vw - 24px) !important;
    border-radius: 12px !important;
  }
  .projects-video-modal__close{
    top: 12px !important;
    right: 12px !important;
  }
}

/* Hero SVG icon (was inline style attribute) */
svg#Capa_1 { enable-background: new 0 0 268.832 268.832; }

/* About hero (heading + website marquee) on the brand red */
.section.overflow-hidden.ac-red {
  background-color: #cc0933;
  color: #fff;
}
.section.ac-red .gray { color: rgba(255, 255, 255, 0.68); }

/* Middle sections (intro, services, testimonials) on white; footer stays anthracite */
.section.ac-light {
  background-color: #f4f4f3;
  color: #1d1f22;
}
.section.ac-light .gray,
.section.ac-light .mid-gray-text { color: #6b6e73; }
.section.ac-light .h2-heading,
.section.ac-light .h3-heading.service-about-title { color: #1d1f22; }
.section.ac-light .listicle-service:hover .h3-heading.service-about-title { color: #cc0933; }
/* light-area pill (Tüm yorumları gör): anthracite instead of white */
.section.ac-light .heading-grid-main .general-button.white.w-button {
  background-color: #2f3236;
  border-color: #2f3236;
  color: #fff;
}
.section.ac-light .heading-grid-main .general-button.white.w-button:hover {
  background-color: #cc0933;
  border-color: #cc0933;
}
body .section.ac-light .h2-heading .gray,
body .section.ac-light .gray { color: #8a8d91; }

/* ===== About middle, redesign (intro + services index) ===== */
.ab-mid { --ab-ink:#1d1f22; --ab-mute:#5d6166; --ab-line:rgba(29,31,34,.14); --ab-red:#cc0933;
  background:#f4f4f3; color:var(--ab-ink); padding:8rem 0 4rem; font-family:"Helvetica Now Display", Arial, sans-serif; }
.ab-mid *, .ab-mid *::before, .ab-mid *::after { box-sizing:border-box; }
.ab-wrap { max-width:87.5rem; margin:0 auto; padding:0 2rem; }

/* intro */
.ab-statement { margin:0 0 5rem; max-width:62rem; font-size:clamp(2rem,3.4vw,3.4rem); line-height:1.08; letter-spacing:-.035em; font-weight:500; color:var(--ab-ink); }
.ab-pillars { display:grid; grid-template-columns:1fr 1fr; gap:4rem; margin-left:auto; max-width:62rem; padding-top:2rem; border-top:1px solid var(--ab-line); }
.ab-pillars h3 { margin:0 0 .75rem; font-size:1.25rem; font-weight:500; letter-spacing:-.01em; color:var(--ab-ink); }
.ab-pillars p { margin:0; font-size:1.05rem; line-height:1.6; color:var(--ab-mute); }
.ab-facts { display:grid; grid-template-columns:repeat(3,1fr); margin:5rem 0 0 auto; max-width:62rem; border-top:1px solid var(--ab-line); }
.ab-facts > div { display:flex; flex-direction:column-reverse; padding:1.75rem 1.5rem 0 0; }
.ab-facts > div + div { padding-left:1.5rem; border-left:1px solid var(--ab-line); }
.ab-facts dd { margin:0; font-size:clamp(2.75rem,4.5vw,4.25rem); line-height:1; letter-spacing:-.045em; font-weight:500; color:var(--ab-red); }
.ab-facts dt { margin-top:.6rem; font-size:1rem; color:var(--ab-mute); }

/* services index: the one bold element */
.ab-svc { margin-top:9rem; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.2fr); gap:4rem; align-items:start; }
.ab-svc-head { position:sticky; top:7rem; }
.ab-svc-head h2 { margin:0 0 1rem; font-size:clamp(2rem,3vw,3rem); line-height:1; letter-spacing:-.035em; font-weight:500; color:var(--ab-ink); }
.ab-svc-head p { margin:0; max-width:20rem; font-size:1.05rem; line-height:1.55; color:var(--ab-mute); }
.ab-svc-list { list-style:none; margin:0; padding:0; border-top:1px solid var(--ab-line); }
.ab-svc-list li { border-bottom:1px solid var(--ab-line); }
.ab-mid a.ab-svc-row { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto; flex-direction:row; align-items:center; gap:2rem;
  padding:1.6rem 1.25rem; margin:0 -1.25rem; border-radius:18px; color:var(--ab-ink); text-decoration:none;
  transition:background-color .25s ease, color .25s ease; }
.ab-svc-name { font-size:clamp(1.4rem,2.2vw,2.15rem); line-height:1.1; letter-spacing:-.03em; font-weight:500; }
.ab-svc-desc { font-size:1rem; line-height:1.45; color:var(--ab-mute); transition:color .25s ease; }
.ab-svc-ico { width:3rem; height:3rem; border-radius:50%; border:1px solid var(--ab-line); display:flex; align-items:center; justify-content:center;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), background-color .25s ease, border-color .25s ease, color .25s ease; }
.ab-svc-ico svg { width:1.15rem; height:1.15rem; }
.ab-mid a.ab-svc-row:hover, .ab-mid a.ab-svc-row:focus-visible { background:var(--ab-red); color:#fff; outline:none; }
.ab-svc-row:hover .ab-svc-desc, .ab-svc-row:focus-visible .ab-svc-desc { color:rgba(255,255,255,.82); }
.ab-svc-row:hover .ab-svc-ico, .ab-svc-row:focus-visible .ab-svc-ico { background:#fff; border-color:#fff; color:var(--ab-red); transform:rotate(45deg); }

/* testimonials on light: white cards, red quote marks */
.section.ac-light .masonry-grid-block { background:#fff; color:var(--ab-ink, #1d1f22); border:1px solid rgba(29,31,34,.1); box-shadow:none; }
.section.ac-light .masonry-grid-quote { color:#1d1f22; }
.section.ac-light .masonry-reviewer-name { color:#1d1f22; }
.section.ac-light .masonry-role-location { color:#6b6e73; }
.section.ac-light .masonry-grid-block .svg.quote { filter: brightness(0) saturate(100%) invert(11%) sepia(93%) saturate(5636%) hue-rotate(338deg) brightness(91%) contrast(105%); }
.section.ac-light .container.masonry.about { max-width: 87.5rem; margin-left: auto; margin-right: auto; }
.section.ac-light .container.masonry.about .h2-heading { font-size: clamp(2rem, 3vw, 3rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; }

@media (max-width: 991px) {
  .ab-mid { padding-top:5.5rem; }
  .ab-wrap { padding:0 1.5rem; }
  .ab-svc { grid-template-columns:1fr; gap:2rem; margin-top:6rem; }
  .ab-svc-head { position:static; }
  .ab-mid a.ab-svc-row { grid-template-columns:minmax(0,1fr) auto; }
  .ab-svc-desc { grid-column:1; grid-row:2; margin-top:-1.25rem; }
  .ab-svc-ico { grid-column:2; grid-row:1 / span 2; }
}
@media (max-width: 767px) {
  .ab-wrap { padding:0 1rem; }
  .ab-pillars { grid-template-columns:1fr; gap:2rem; }
  .ab-facts > div { padding-right:.75rem; }
  .ab-facts > div + div { padding-left:.75rem; }
  .ab-mid a.ab-svc-row { padding:1.25rem .75rem; margin:0 -.75rem; }
  .ab-svc-ico { width:2.5rem; height:2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .ab-mid * { transition:none !important; } }

/* ===== ab-intro v2: bento with hierarchy ===== */
.ab-statement { margin-bottom: 4rem; }
.ab-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 1.25rem; }
.ab-card { position: relative; overflow: hidden; border-radius: 32px; padding: 2.5rem; display: flex; flex-direction: column; }
.ab-card h3 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.ab-card p { margin: 0; font-size: 1.05rem; line-height: 1.6; }

/* red: proof */
.ab-card--red { grid-column: 1 / span 5; grid-row: 1 / span 2; background: var(--ab-red); color: #fff; }
.ab-card-top { display: flex; flex-direction: column; }
.ab-big { font-size: clamp(5rem, 9vw, 8.5rem); line-height: .85; letter-spacing: -.06em; font-weight: 500; }
.ab-big-label { margin-top: .9rem; font-size: 1.35rem; letter-spacing: -.01em; }
.ab-card-note { margin-top: 1.5rem !important; max-width: 24rem; color: rgba(255,255,255,.8); }
.ab-logos { list-style: none; margin: auto 0 0; padding: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.25); }
.ab-logos li { display: flex; align-items: center; justify-content: center; height: 5rem; padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.18); }
.ab-logos li:nth-child(3n+2) { border-left: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); }
.ab-logos li:nth-last-child(-n+3) { border-bottom: 0; }
.ab-logos img { max-width: 100%; max-height: 2.1rem; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }

/* dark: what we do */
.ab-card--dark { grid-column: 6 / span 7; background: #2f3236; color: #fff; }
.ab-card--dark p { color: rgba(255,255,255,.72); max-width: 40rem; }
.ab-chips { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ab-chips li { padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .92rem; color: #fff; }

/* light: mission + small figures */
.ab-card--light { grid-column: 6 / span 7; background: #fff; color: var(--ab-ink); border: 1px solid rgba(29,31,34,.08); }
.ab-mission { font-size: clamp(1.3rem, 1.8vw, 1.65rem) !important; line-height: 1.35 !important; letter-spacing: -.02em; max-width: 36rem; }
.ab-mini { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--ab-line); }
.ab-mini > div { display: flex; flex-direction: column; }
.ab-mini > div + div { padding-left: 1.25rem; border-left: 1px solid var(--ab-line); }
.ab-mini dd { order: -1; margin: 0; font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; color: var(--ab-red); }
.ab-mini dt { margin-top: .45rem; font-size: .95rem; color: var(--ab-mute); }

@media (max-width: 991px) {
  .ab-card--red, .ab-card--dark, .ab-card--light { grid-column: 1 / -1; grid-row: auto; }
  .ab-card { padding: 2rem; border-radius: 26px; }
}
@media (max-width: 479px) {
  .ab-card { padding: 1.5rem; border-radius: 22px; }
  .ab-logos li { height: 4rem; padding: .6rem; }
  .ab-mini > div + div { padding-left: .75rem; }
  .ab-mini dt { font-size: .85rem; }
}
