/* ALYA Güvenlik ana sayfa görsel iyileştirme katmanı.
   Yalnızca mevcut tema sınıflarını rötuşlar; HTML akışını ve grid yapısını değiştirmez. */

:root {
  --alya-primary: #584ed1;
  --alya-primary-dark: #4038ad;
  --alya-primary-deep: #2f286f;
  --alya-primary-rgb: 88, 78, 209;
  --alya-primary-soft: rgba(88, 78, 209, .1);
  --alya-ink: #1f2733;
  --alya-muted: #667085;
  --alya-line: rgba(31, 39, 51, .1);
  --alya-soft-bg: #f6f6fb;
  --alya-shadow: 0 10px 28px rgba(20, 30, 45, .1);
  --alya-shadow-strong: 0 18px 44px rgba(20, 30, 45, .16);
  --alya-ease: cubic-bezier(.22, .61, .36, 1);
}

html {
  scroll-behavior: smooth;
}

#menu-wrap.menu-shadow {
  box-shadow: 0 8px 28px rgba(10, 16, 26, .26);
  backdrop-filter: saturate(1.1) blur(2px);
}

.navbar-nav .nav-link {
  position: relative;
  letter-spacing: .03em;
}

.navbar-nav .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--alya-primary);
  transform: translateX(-50%);
  transition: width .25s var(--alya-ease);
}

.navbar-nav .nav-item > .nav-link:hover::after {
  width: 58%;
}

.navbar-brand img,
.btn-primary,
.btn-round,
.btn-long,
.services-box-3,
.call-box-5,
.portfolio-box-1,
.img-120 {
  transition: transform .25s var(--alya-ease),
              box-shadow .25s var(--alya-ease),
              filter .25s var(--alya-ease),
              border-color .25s var(--alya-ease);
}

.navbar-brand:hover img {
  transform: scale(1.035);
}

#top .grey-fade-over,
#testimonials .grey-fade-over {
  background:
    linear-gradient(180deg,
                rgba(12, 18, 26, .28) 0%,
                rgba(12, 18, 26, .52) 56%,
                rgba(12, 18, 26, .72) 100%),
    radial-gradient(circle at 18% 44%, rgba(var(--alya-primary-rgb), .22), rgba(var(--alya-primary-rgb), 0) 34%);
}

#top .big-75-height::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  z-index: 3;
  background: linear-gradient(90deg, var(--alya-primary), rgba(255, 255, 255, .8), var(--alya-primary-dark));
  opacity: .95;
}

#top .hero-bottom-wrap h2 {
  letter-spacing: 0;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .5);
}

.call-box-4 h3,
.main-title h3,
.call-box-2 h2 {
  letter-spacing: 0;
}

#top .call-box-4 h3 {
  color: var(--alya-ink);
  font-weight: 700;
}

.main-subtitle-top,
.main-subtitle-bottom {
  color: var(--alya-primary);
  font-weight: 700;
}

.big-fade-title.on-light {
  color: rgba(22, 22, 22, .032);
  pointer-events: none;
}

#welcome > .section,
#work > .section,
#ref + .section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--alya-soft-bg) 100%) !important;
}

.btn-primary:hover,
.btn-round:hover,
.btn-long:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(var(--alya-primary-rgb), .28);
  filter: brightness(1.04);
}

#welcome .services-box-3 {
  box-sizing: border-box;
  overflow: hidden;
  padding: 28px 26px 26px;
  border: 1px solid var(--alya-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--alya-shadow);
}

#welcome .services-box-3::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--alya-primary), var(--alya-primary-dark));
  opacity: 0;
  transition: opacity .25s var(--alya-ease);
}

#welcome .services-box-3:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--alya-primary-rgb), .28);
  box-shadow: var(--alya-shadow-strong);
}

#welcome .services-box-3:hover::before {
  opacity: 1;
}

#welcome .services-box-3.bigger-icon i {
  position: static;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-right: 0;
  border: 1px solid rgba(var(--alya-primary-rgb), .18);
  border-radius: 8px;
  background: var(--alya-primary-soft);
  color: var(--alya-primary);
  font-size: 25px;
  line-height: 1;
}

#welcome .services-box-3.bigger-icon h5 {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding-left: 0;
  color: var(--alya-ink);
  letter-spacing: 0;
  line-height: 1.25;
}

#welcome .services-box-3.bigger-icon p {
  margin-left: 60px;
  color: #2d3744;
  line-height: 1.72;
}

#welcome .call-box-5 {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--alya-primary-rgb), .38);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(var(--alya-primary-rgb), .98) 0%, rgba(31, 39, 51, .98) 100%);
  box-shadow: 0 18px 38px rgba(var(--alya-primary-rgb), .24);
}

#welcome .call-box-5::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: rgba(255, 255, 255, .7);
}

#welcome .call-box-5::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

#welcome .call-box-5 h4 {
  color: #ffffff;
  letter-spacing: 0;
}

#welcome .call-box-5 p {
  color: rgba(255, 255, 255, .92);
  line-height: 1.72;
}

#testimonials .testimonials-box-2 h5 {
  line-height: 1.7;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .38);
}

#testimonials .counter-wrap.dark {
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

#testimonials .counter-wrap.dark {
  transition: transform .25s var(--alya-ease);
}

#testimonials .counter-wrap.dark:hover {
  transform: translateY(-4px);
}

#work .portfolio-box-1 {
  border-radius: 8px;
  border: 1px solid rgba(31, 39, 51, .08);
  box-shadow: var(--alya-shadow);
}

#work .portfolio-box-1:hover {
  transform: translateY(-5px);
  box-shadow: var(--alya-shadow-strong);
}

#work .portfolio-box-1:hover img {
  transform: scale(1.04);
}

#work .portfolio-box-1 .portfolio-mask-3 {
  background: linear-gradient(180deg,
              rgba(15, 22, 33, 0) 35%,
              rgba(15, 22, 33, .58) 100%);
}

#work .portfolio-box-1 h5.on-center {
  width: calc(100% - 24px);
  left: 12px;
  right: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(20, 30, 45, .72);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .58);
}

#ref + .section .container > p {
  color: var(--alya-ink) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

#ref + .section .col-md-2 {
  transition: transform .25s var(--alya-ease), filter .25s var(--alya-ease);
}

#ref + .section .col-md-2:hover {
  transform: translateY(-3px);
}

#ref + .section .img-120:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(20, 30, 45, .12));
}

#contact .background-dark {
  background:
    linear-gradient(135deg, #141b22 0%, #201d43 100%) !important;
}

#contact .btn-link.btn-primary {
  letter-spacing: 0;
}

.footer-1 .scd-foot p a {
  color: var(--alya-primary);
}

/* ── Hero ── */
.alya-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 5px 18px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.alya-hero-title {
  font-size: 62px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .44);
}

.alya-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.alya-hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.alya-btn-ghost {
  display: inline-block;
  padding: 11px 32px;
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: all .22s var(--alya-ease);
}

.alya-btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
  text-decoration: none;
}

/* ── Feature strip (CTA bölümü altı) ── */
.alya-feature-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 4px;
}

.alya-feature-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--alya-muted);
}

.alya-feature-strip span i {
  color: var(--alya-primary);
  font-size: 14px;
}

@media (max-width: 767px) {
  .alya-hero-title { font-size: 36px; letter-spacing: -1px; }
  .alya-hero-sub { font-size: 14px; }
  .alya-feature-strip { gap: 8px 16px; }

  #welcome .services-box-3 {
    padding: 24px 20px;
  }

  #welcome .services-box-3.bigger-icon i {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  #welcome .services-box-3.bigger-icon h5 {
    gap: 12px;
  }

  #welcome .services-box-3.bigger-icon p {
    margin-left: 0;
  }
}

/* ── Referans kartları ── */
.ref-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow .22s ease, transform .22s ease;
}

.ref-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, .10);
  transform: translateY(-5px);
}

.ref-card img {
  width: 100%;
  height: 195px;
  object-fit: contain;
  display: block;
}

.ref-card-body {
  padding: 13px 16px 15px;
  border-top: 1px solid #f2f2f2;
}

.ref-card-body p {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

/* ── Referans hero ── */
.ref-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.ref-hero-h {
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.ref-hero-p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .ref-hero-h { font-size: 34px; }
}

/* ── İletişim form intro ── */
.contact-form-h {
  letter-spacing: 0;
  color: #1f2733;
  font-weight: 700;
}

.contact-form-p {
  color: var(--alya-muted);
  margin-top: 12px;
  line-height: 1.72;
}

/* ── İletişim bilgi kartları (dark bölüm) ── */
.contact-info-icon {
  color: rgba(255, 255, 255, .75);
  font-size: 36px;
}

.contact-info-title {
  color: #ffffff;
  letter-spacing: 0;
}

.contact-info-desc {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

/* ──────────────────────────────────────────────────────────
   Header / üst menü — kompakt & kurumsal düzen
   Yapı (HTML & sınıflar) korunur; yalnızca ölçü ve boşluk
   rötuşlanır. Specificity bilinçli olarak düşük tutulmuştur ki
   sayfayı aşağı kaydırınca devreye giren "incelme (shrink)"
   davranışı bozulmasın; yalnızca sayfa en üstündeyken oluşan
   gereğinden uzun başlık toparlanır.
   ────────────────────────────────────────────────────────── */

/* Sayfa en üstündeyken (henüz kaydırılmamış) header yüksekliği:
   40px + 40px boşluk fazla geliyordu → daha derli toplu. */
.menu-fixed-padding {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* İç navbar'ın dikey boşluğunu hafifçe sıkılaştır. */
.cbp-af-header .navbar {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

/* Logo: daha ölçülü, kurumsal bir boyut (70px → 50px). */
#menu-wrap .navbar-brand img {
  max-height: 50px;
}
/* Kaydırınca küçülen hâli de orantılı kalsın. */
#menu-wrap.cbp-af-header.cbp-af-header-shrink .navbar-brand img {
  max-height: 40px;
}

/* Menü linklerinin dikey yüksekliğini biraz topla. */
.navbar-inverse .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
  padding-top: 0.6em;
  padding-bottom: 0.6em;
}

/* Mobilde de dengeli, dar bir başlık. */
@media (max-width: 991px) {
  .menu-fixed-padding {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* ══════════════════════════════════════════════════════════
   KURUMSAL RÖTUŞ KATMANI
   Renk paleti (indigo #584ed1 + nötr griler) korunur.
   Amaç: fazla "gösterişli" duran detayları ölçülü, ciddi ve
   tutarlı bir kurumsal görünüme çekmek. Yapı değişmez.
   ══════════════════════════════════════════════════════════ */

/* 1) Genel tipografi netliği — metinler daha keskin/profesyonel. */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2) Hero başlığı: 62px/800/-2px aşırı "iddialı" duruyordu.
      Daha ölçülü, yönetici/kurumsal bir ağırlığa çekildi. */
.alya-hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.ref-hero-h {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* 3) Bölüm başlıkları: indigo vurgusu korunur, biraz daha
      güçlü ve dengeli bir hiyerarşi. */
.main-subtitle-bottom {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.main-subtitle-top {
  letter-spacing: 2.5px;
}

/* 4) Hero "ghost" butonu hap şeklindeydi; tema butonları köşeli
      (0.15rem) olduğundan tutarsızdı. Köşeli, ciddi bir forma alındı. */
.alya-btn-ghost {
  border-radius: 3px;
  border-width: 1px;
  letter-spacing: 1.2px;
}

/* 5) Hero alt şeridi: indigo→beyaz→indigo "gökkuşağı" efekti
      kurumsal durmuyordu. İnce, kenarları sönen tek renk vurgu. */
#top .big-75-height::after {
  height: 3px;
  background: linear-gradient(90deg,
              rgba(var(--alya-primary-rgb), 0) 0%,
              var(--alya-primary) 50%,
              rgba(var(--alya-primary-rgb), 0) 100%);
  opacity: 1;
}

/* 6) Daha sakin, ciddi hover hareketleri (oynak değil, ölçülü). */
#welcome .services-box-3:hover,
#work .portfolio-box-1:hover,
.ref-card:hover {
  transform: translateY(-3px);
}
#work .portfolio-box-1:hover img {
  transform: scale(1.02);
}
.btn-primary:hover,
.btn-round:hover,
.btn-long:hover {
  transform: translateY(-2px);
}

/* 7) Tutarlı, ölçülü köşe yarıçapı ve daha nötr/profesyonel gölge.
      Aşırı mor parıltı yerine derinlik veren sakin gölge. */
#welcome .services-box-3,
#work .portfolio-box-1 {
  border-radius: 6px;
}
#welcome .call-box-5 {
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(20, 30, 45, .18);
}
