/* =========================================
   BYALL AUTOMATION — ABOUT PAGE
   about.css
   ========================================= */

/* ABOUT VIDEO HERO */

.about-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    url('/assets/images/about/byallautomation.png') center/cover no-repeat !important;
}

.about-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(2,11,26,.96)   0%,
    rgba(10,22,40,.92) 40%,
    rgba(13,27,62,.88) 70%,
    rgba(13,27,62,.85) 100%
  );
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 190px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero h1,
.about-hero .hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  text-shadow: none;
  display: block !important;   /* home.css override'ı engelle */
  width: 100%;
  text-align: center;
}

/* Span'lar inline — aralarında boşluk korunur */
.about-hero .hero-title .white,
.about-hero .hero-title .gradient,
.about-hero .hero-title .gold {
  display: inline !important;
}

/* Gradient/white/gold span sistemi — home ile aynı */
.about-hero .hero-title .gradient {
  display: inline;
  background: linear-gradient(105deg, #ffffff 0%, #7dd4f8 40%, #1a9fe0 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero .hero-title .white {
  display: inline;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.55);
}

.about-hero .hero-title .gold {
  display: inline;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold);
  text-shadow: 0 4px 28px rgba(0,0,0,.55);
}

.about-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255,255,255,.88);
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}

/* EYEBROW */

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,159,224,.12);
  border: 1px solid rgba(26,159,224,.28);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

/* VALUES */

.about-values {
  background: #f8fafc;
  color: var(--text-dark);
  padding: 96px 24px;
}

.about-values-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-value-card {
  background: #ffffff;
  border: 1px solid rgba(26,159,224,.14);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.about-value-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(15,23,42,.12);
}

.about-value-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,159,224,.10);
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 22px;
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.about-value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

/* STATS */

.about-stats {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(26,159,224,.20), transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(245,197,24,.12), transparent 40%),
    linear-gradient(145deg, #020b1a, #0d1b3e 55%, #0a2a50);
  color: #ffffff;
  padding: 88px 24px;
}

.about-stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.about-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 30px 20px;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,.70);
}

/* PARTNERS SLIDER */

.partners-slider {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.partners-track {
  display: flex;
  gap: 24px;
  animation: scrollPartners 30s linear infinite;
  width: max-content;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(26,159,224,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: box-shadow .3s ease, transform .3s ease;
}

.partner-card:hover {
  box-shadow: 0 8px 28px rgba(15,23,42,.12);
  transform: translateY(-3px);
}

.partner-card img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter .3s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
}

/* LOCATION GRID */

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.location-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: background .3s ease, transform .3s ease;
}

.location-card:hover {
  background: rgba(26,159,224,.12);
  transform: translateY(-5px);
}

.location-card i {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* MOBILE */

@media (max-width: 900px) {
  .about-values-grid,
  .about-stats-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 85vh;
  }

  .about-hero .hero-content {
    padding: 150px 18px 80px;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .about-hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 7px 13px;
    margin-bottom: 20px;
  }

  .about-values,
  .about-stats {
    padding: 64px 18px;
  }

  .about-value-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .about-stat strong {
    font-size: 32px;
  }

  .partner-card {
    width: 130px;
    height: 66px;
  }
}