/* Header logo image - template .logo is for text, this sizes the img */
.header .logo.logo-img-wrap {
  display: flex;
  align-items: center;
}
.header .logo-img {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Mobil: logo en solda */
.header .container {
  padding-left: 10px;
}
.header .logo.logo-img-wrap {
  margin-right: auto;
  margin-left: 0;
}

/* Web (992px+): logo biraz sağa */
@media (min-width: 992px) {
  .header .container {
    padding-left: 30px;
  }
  .header .logo.logo-img-wrap {
    margin-left: 24px;
    margin-right: 0;
  }
}

/* Products dropdown in header */
.navbar-products {
  position: relative;
}

.navbar-products-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.navbar-products-trigger ion-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.navbar-products-panel {
  position: fixed;
  top: 88px;
  left: 50%;
  width: min(1260px, 92vw);
  min-width: 1040px;
  background: var(--white, #ffffff);
  border-radius: var(--radius-12, 12px);
  box-shadow: var(--shadow-2, 0 18px 45px rgba(0, 0, 0, 0.18));
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px;
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.navbar-products-panel.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.navbar-products-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.navbar-product-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-product-link--button {
  width: 100%;
  border: 1px solid transparent;
  text-align: left;
  font: inherit;
  color: inherit;
}

/* Her satırın kendi ikonu: marka mavisi kutucuk içinde. */
.navbar-product-link > ion-icon:first-child {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 8px;
  background: var(--ks-sky-100);
  color: var(--ks-sky-600);
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-product-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.navbar-product-arrow {
  font-size: 18px !important;
  margin-left: auto;
  color: var(--ks-slate-700) !important;
  opacity: 1;
}

.navbar-product-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ks-ink);
  text-transform: none;
}

.navbar-product-desc {
  font-size: 1.25rem;
  color: var(--ks-muted);
  line-height: 1.5;
}

.navbar-product-link:is(:hover, :focus-visible) {
  background: var(--ks-slate-50);
  border-color: var(--ks-line);
  transform: translateX(2px);
}

.navbar-product-link:is(:hover, :focus-visible) > ion-icon:first-child {
  background: var(--ks-sky);
  color: var(--ks-slate-950);
}

.navbar-product-link:is(:hover, :focus-visible) .navbar-product-title {
  color: var(--ks-sky-600);
}

/* Mobil / tablet yan menü (şablon: hamburger 991px altı) */
@media (max-width: 991px) {
  .navbar {
    background-color: #ffffff !important;
    color: #0f172a !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    z-index: 6;
  }

  .navbar .wrapper {
    margin-block-end: 28px;
  }

  .navbar .wrapper .logo {
    color: #0f172a !important;
  }

  .nav-close-btn {
    color: #0f172a !important;
  }

  .nav-close-btn:is(:hover, :focus) {
    color: var(--ks-sky-600) !important;
  }

  .navbar-link {
    color: #0f172a !important;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--ks-sky-600) !important;
  }

  .navbar-item:not(:last-child) {
    border-block-end-color: rgba(15, 23, 42, 0.1);
  }

  .navbar-products-trigger {
    color: #0f172a !important;
  }

  .navbar-products-trigger[aria-expanded="true"] ion-icon {
    transform: rotate(180deg);
  }

  /* Drawer içinde mega menü yerine akış; kapalıyken yer kaplamasın (alt linkler görünsün) */
  .navbar-products-panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent !important;
    transform: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
  }

  .navbar-products-panel:not(.active) {
    display: none;
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    margin: 0;
    pointer-events: none;
  }

  .navbar-products-panel.active {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: 0 !important;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .navbar-products-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .navbar-products-grid > li {
    display: block;
    width: 100%;
  }

  /* Alt menü: ikon + büyük başlık + kısa açıklama */
  .navbar-product-link {
    display: flex !important;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    margin: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 8px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  .navbar-product-link--button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: none !important;
    width: 100%;
  }

  .navbar-product-link:last-child {
    border-bottom: none !important;
  }

  .navbar-product-arrow {
    display: none !important;
  }

  .navbar-product-link > ion-icon:first-child {
    width: 24px;
    height: 24px;
    padding: 5px;
    font-size: 14px;
  }

  .navbar-product-copy { gap: 2px; }

  .navbar-product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ks-ink) !important;
    text-transform: none;
  }

  .navbar-product-desc {
    font-size: 1.2rem;
  }

  .navbar-product-link:is(:hover, :focus-visible) {
    background: var(--ks-slate-50) !important;
    border-color: transparent !important;
  }

  .navbar-product-link:is(:hover, :focus-visible) .navbar-product-title {
    color: var(--ks-sky-600) !important;
  }
}

/* HERO rotating word - slide down (sadece görünen kelime; sıradaki tamamen gizli) */
.hero-rotating-words-wrap {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.2em;
  min-width: 11em;
  position: relative;
  top: 0.05em;
}

.hero-rotating-word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  visibility: hidden;
}

/* Sadece görünür olan kelime */
.hero-rotating-word.is-visible {
  transform: translateY(0);
  visibility: visible;
}

/* Yukarıda bekleyen – tamamen dışarıda, görünmez */
.hero-rotating-word.is-above {
  transform: translateY(-100%);
  visibility: hidden;
}

/* Aşağı kayıp çıkan – animasyon boyunca görünür, sonra gizlenir */
.hero-rotating-word.is-exit {
  transform: translateY(100%);
  visibility: visible;
}

/* Anasayfa hero: küçük ekranlarda yatay taşmayı engelle */
@media (max-width: 480px) {
  .hero,
  .hero .container {
    overflow-x: hidden;
  }

  .hero .container {
    min-width: 0;
  }

  .hero-content {
    min-width: 0;
  }

  /* Rotating alan sabit min-width yüzünden taşmasın */
  .hero-rotating-words-wrap {
    min-width: 8.5em;
    width: min(11em, 90vw);
    max-width: 11em;
  }

  .hero-title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* HERO image sizing + framed background */
.hero {
  position: relative;
}

.hero-banner--framed {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-banner--framed::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0; /* kare altı, görsel altıyla hizalı */
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 75%;
  background: var(--brand-orange);
  /* sadece sağ-alt köşe yuvarlak */
  border-radius: 0 0 125px 0;
}

.hero-banner--framed.hero-banner--palnex::before {
  background: var(--product-palnex);
  width: 62%;
  height: 62%;
}

.hero-banner--framed.hero-banner--kargon::before {
  background: var(--product-kargon);
  width: 62%;
  height: 62%;
}

.hero-banner--framed.hero-banner--edonusum::before {
  background: var(--product-edonusum);
}

.hero-banner--framed.hero-banner--ik::before {
  background: var(--product-ik);
}

.hero-banner--framed.hero-banner--muhasebe::before {
  background: var(--product-muhasebe);
}

.hero-banner--framed.hero-banner--medcore::before {
  background: var(--product-medcore);
}

.hero-banner--framed.hero-banner--kapi-erp::before {
  background: var(--product-kapi-erp);
}

/* DOYS™ hero'su telefon mockup'ı; renkli blok görselin altında kalmalı. */
.hero-banner--framed.hero-banner--doys::before {
  background: var(--product-doys);
  width: 62%;
  height: 55%;
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(var(--ks-sky-rgb), 0.25);
  background-image: radial-gradient(rgba(var(--ks-sky-rgb), 0.18) 2px, transparent 2px);
  background-size: 10px 10px;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  left: 52%;
  width: 46px;
  height: 46px;
  border-radius: 18px 0 18px 0;
  border: 2px solid rgba(255, 138, 31, 0.5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

.hero-img {
  width: min(520px, 88vw);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .hero .container {
    align-items: center;
  }

  .hero-img {
    width: min(760px, 36vw);
    margin-inline: 0;
  }
}

/* Hizmetlerimiz: başlık ile kartlar arası boşluk */
.service-cards-wrap {
  margin-top: 2.5rem;
}

.service-card-readmore {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.service-card-readmore-link {
  font-weight: 600;
  font-size: 1.25rem;
  color: hsl(var(--color));
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.service-card-readmore-link:hover,
.service-card-readmore-link:focus-visible {
  text-decoration: underline;
  opacity: 0.92;
}

@media (min-width: 992px) {
  /* 6 kart: şablon 1200px'te 4 sütun yapıyor; yükleme sırasıyla bu kural geçerli kalır */
  .service .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Scroll-based screenshot: ~1 sayfa scroll ile tüm slaytlar geçilir */
.screenshot-scroll {
  height: 200vh;
  position: relative;
}

.screenshot-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.screenshot-scroll-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  min-height: 0;
  align-items: center;
}

/* Scroll hint (yanıp sönen ok) */
.screenshot-scroll-hint {
  position: absolute;
  right: 22px;
  bottom: 88px;
  z-index: 30;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.screenshot-scroll-hint-text {
  display: none;
  font-weight: 800;
  color: var(--ks-sky-600);
  font-size: 1.05rem;
  white-space: nowrap;
}

.screenshot-scroll-hint-bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(var(--ks-sky-rgb), 0.14);
  box-shadow: 0 10px 28px rgba(var(--ks-sky-rgb), 0.18);
  opacity: 0;
  animation: screenshot-hint-fade 1.4s ease-in-out infinite;
  animation-delay: 1.2s;
}

.screenshot-scroll-hint ion-icon {
  position: relative;
  font-size: 30px;
  color: var(--ks-sky-600);
  animation: screenshot-hint-bounce 1.4s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes screenshot-hint-fade {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 0.15;
    transform: scale(1.06);
  }
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes screenshot-hint-bounce {
  0% {
    transform: translateY(6px);
    opacity: 0.75;
  }
  30% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(3px);
    opacity: 0.9;
  }
  100% {
    transform: translateY(6px);
    opacity: 0.75;
  }
}

.screenshot-scroll-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.screenshot-scroll-header {
  max-width: 32rem;
}

.screenshot-scroll-header .section-subtitle.has-before::before {
  animation: screenshot-subtitle-dot 4s linear infinite;
}

.screenshot-scroll-header [data-scroll-screenshot-subtitle] {
  transition: opacity 0.25s ease;
}

.screenshot-scroll-header [data-scroll-screenshot-subtitle].is-changing {
  opacity: 0;
}

@keyframes screenshot-subtitle-dot {
  0% {
    background-color: var(--mustard);
  }
  33% {
    background-color: var(--majorelle-blue);
  }
  66% {
    background-color: var(--brand-orange-dark);
  }
  100% {
    background-color: var(--mustard);
  }
}

.screenshot-scroll-texts {
  position: relative;
}

.screenshot-scroll-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.screenshot-scroll-text.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.screenshot-scroll-card-wrap {
  position: relative;
  perspective: 1000px;
  height: 380px;
  flex: 1 1 0%;
  min-width: 320px;
}

.screenshot-scroll-card {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  height: 360px;
  background: #222222;
  border-radius: 30px;
  border: 4px solid #6c6c6c;
  padding: 12px;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: transform;
}

/* Giren kart: aşağıdan yukarı (slide up) - başlangıç konumu */
.screenshot-scroll-card.slide-from-bottom {
  transform: translateY(50px);
}

/* Giren kart: yukarıdan aşağı (slide down) */
.screenshot-scroll-card.slide-from-top {
  transform: translateY(-50px);
}

.screenshot-scroll-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Çıkan kart: yukarı kayarak gitsin */
.screenshot-scroll-card.is-leaving-up {
  transform: translateY(-50px);
  opacity: 0;
}

/* Çıkan kart: aşağı kayarak gitsin */
.screenshot-scroll-card.is-leaving-down {
  transform: translateY(50px);
  opacity: 0;
}

.screenshot-scroll-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  /*object-fit: contain;*/
  background: #111111;
}

/* Oklar ve noktalar (picket) */
.screenshot-scroll-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.screenshot-scroll-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--majorelle-blue, #6366f1);
  background: var(--white, #fff);
  color: var(--majorelle-blue, #6366f1);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.screenshot-scroll-arrow:hover {
  background: var(--majorelle-blue, #6366f1);
  color: var(--white, #fff);
}

.screenshot-scroll-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.screenshot-scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screenshot-scroll-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: opacity 0.2s ease;
}

.screenshot-scroll-dot:hover {
  opacity: 0.85;
}

.screenshot-scroll-dot-box {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 2px solid var(--cool-gray, #9ca3af);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.screenshot-scroll-dot:hover .screenshot-scroll-dot-box {
  border-color: var(--majorelle-blue, #6366f1);
}

.screenshot-scroll-dot.is-active .screenshot-scroll-dot-box {
  background: var(--majorelle-blue, #6366f1);
  border-color: var(--majorelle-blue, #6366f1);
}

.screenshot-scroll-dot-label {
  font-size: 1.2rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.screenshot-scroll-dot.is-active .screenshot-scroll-dot-label {
  color: #6b7280;
}

/* Mobil: sağdaki seçim (ok + noktalar) gizle, container kare (1:1) */
@media (max-width: 991px) {
  .screenshot-scroll-nav {
    display: none !important;
  }

  .screenshot-scroll-hint {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 26px;
    width: auto;
    height: 62px;
    padding: 0 16px;
    gap: 10px;
  }

  .screenshot-scroll-hint-text {
    display: inline-block;
  }

  .screenshot-scroll-hint ion-icon {
    font-size: 28px;
  }

  .screenshot-scroll-right {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .screenshot-scroll-card-wrap {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .screenshot-scroll-card {
    height: 100%;
  }

  .screenshot-scroll-sticky {
    padding: 24px 0;
  }

  .screenshot-scroll-inner {
    gap: 28px;
  }

  .screenshot-scroll-header {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .screenshot-scroll {
    height: 180vh;
  }

  .screenshot-scroll-hint {
    bottom: 18px;
    width: auto;
    height: 56px;
  }

  .screenshot-scroll-hint-text {
    font-size: 2rem;
  }

  .screenshot-scroll-hint ion-icon {
    font-size: 26px;
  }
}

@media (min-width: 992px) {
  .screenshot-scroll-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 80px;
  }

  .screenshot-scroll-card {
    height: 440px;
  }
}

/* Container altı kayan ticker - sağdan sola */
.ticker-wrap {
  position: relative;
  width: 100%;
  padding: 0.6rem 0;
  background: var(--ghost-white, #f6f6ff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Hero içindeki ticker sadece hero-content genişliğinde olsun, taşanı gizle */
.hero-ticker-row {
  max-width: 100%;
  overflow: hidden;
  margin-top: 0.6rem;
}

.hero-content .ticker-wrap {
  margin-top: 0;
  background: transparent;
  border-bottom: none;
  padding: 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 45s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--majorelle-blue, #6366f1);
  padding: 0 1.2rem;
}

.ticker-dot {
  color: var(--majorelle-blue, #6366f1);
  font-size: 0.6rem;
  padding: 0 0.4rem;
  user-select: none;
  opacity: 0.7;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}


/* Service CTA + Contact modal */
.service-cta-card {
  margin-top: 2rem;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.service-cta-actions {
  flex-shrink: 0;
}

/* Hizmetler hero: görsel solda, metin sağda */
.hero--services-swap .hero-content {
  /*text-align: right;*/
  justify-self: end;
}

.hero--services-swap .hero-banner {
  justify-self: start;
  margin-inline-end: 0 !important; /* template negatif margin çakışmasını düzeltir */
  margin-inline-start: 0 !important;
}

.hero--services-swap .hero-banner--framed {
  justify-content: flex-start;
}

/* Projects brief page */
.projects-brief {
  padding-block: 120px 90px;
}

.projects-brief-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 34px 30px;
}

.projects-brief-actions {
  margin-top: 18px;
}

/* References page */
.references-page {
  padding-block: 96px 90px;
}

.references-page-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.references-page-head .hero-text {
  margin-inline: auto;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}

.references-grid-item {
  margin: 0;
}

.references-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 22px 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.references-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
}

/* Şeffaf PNG + beyaz yazı: hafif koyu zemin ve gölge */
.references-card-media--dark {
  background: linear-gradient(165deg, #2d3748 0%, #1a202c 100%);
}

.references-card-logo {
  display: block;
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.references-card-logo--lifted {
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

/* Contact page refresh */
.contact-modern {
  padding-block: 120px 90px;
}

.contact-modern-head {
  max-width: 860px;
  margin-bottom: 26px;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.contact-modern-form-card,
.contact-modern-info-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.contact-modern-form-card {
  padding: 22px;
}

.contact-modern-info {
  display: grid;
  gap: 12px;
}

.contact-modern-info-card {
  padding: 18px 16px;
}

.contact-modern-info-card h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #0f172a;
}

.contact-modern-info-card p {
  margin: 0;
  color: #334155;
  line-height: 1.45;
}

.contact-modern-info-card small {
  display: inline-block;
  margin-top: 6px;
  color: #64748b;
}

.contact-modern-info-card a {
  color: #1d4ed8;
  text-decoration: none;
}

.contact-modern-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-modern-full {
  grid-column: 1 / -1;
}

.contact-modern-form-card label {
  display: inline-block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-modern-form-card .form-control {
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #0f172a;
}

.contact-modern-form-card .form-control::placeholder {
  font-size: 1.02rem;
  color: #64748b;
}

.contact-modern-form-card .button-contactForm.boxed-btn {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 22px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-modern-form-card .button-contactForm.boxed-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
  filter: brightness(1.04);
}

.contact-modern-form-card .button-contactForm.boxed-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* İletişim / modal: gönder butonu + yükleme göstergesi */
#contactFormSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 9.5rem;
  position: relative;
}

#contactFormSubmit .btn-loader {
  display: none;
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-left: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  vertical-align: middle;
  animation: contact-form-submit-spin 0.65s linear infinite;
}

#contactFormSubmit.is-loading {
  cursor: wait;
}

#contactFormSubmit.is-loading .btn-loader {
  display: block;
}

#contactFormSubmit.is-loading .btn-text {
  opacity: 0.95;
}

@keyframes contact-form-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-modern-map {
  margin-top: 24px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991px) {
  .contact-modern-grid {
    grid-template-columns: 1fr;
  }

  .contact-modern-form-grid {
    grid-template-columns: 1fr;
  }

  .projects-brief-card,
  .contact-modern-form-card {
    padding: 20px 16px;
  }
}

/* Footer bülten: şablondaki absolute buton dar sütunda input ile çakışıyordu */
.footer .footer-newsletter-form.newsletter-form,
.footer .footer-newsletter-form {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 100%;
}

.footer .footer-newsletter-form .email-field {
  margin-block-end: 0;
  min-height: 52px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-inline: 18px;
  padding-inline-end: 18px;
}

.footer .footer-newsletter-form .footer-newsletter-submit.btn-secondary {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 52px;
  margin: 0;
  padding-block: 14px;
  padding-inline: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#footerNewsletterSubmit .btn-loader {
  display: none;
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-top-color: rgba(15, 23, 42, 0.85);
  animation: contact-form-submit-spin 0.65s linear infinite;
}

#footerNewsletterSubmit.is-loading {
  cursor: wait;
}

#footerNewsletterSubmit.is-loading .btn-loader {
  display: block;
}

#footerNewsletterSubmit.is-loading .footer-newsletter-submit-icon {
  display: none;
}

#footerNewsletterSubmit:disabled {
  opacity: 0.85;
  cursor: wait;
}

.footer-newsletter-msg {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 10px;
}

.footer-newsletter-msg--ok {
  color: #16a34a;
}

.footer-newsletter-msg--err {
  color: #dc2626;
}

/* Service detail screenshots: alternating 9/3 layout */
.service-detail-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* ~col6 / col6 */
  gap: 1rem;
  align-items: center;
}

.service-detail-col {
  min-width: 0;
}

.service-detail-col--copy { grid-column: 1; }
.service-detail-col--media { grid-column: 2; }

.service-detail-modules-intro {
  margin: 0 0 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.service-detail-modules-copy h3 {
  margin-bottom: 10px;
}

.service-detail-modules-image-wrap {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  max-width: 280px;
  justify-self: center;
}

.service-detail-modules-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  cursor: zoom-in;
}

.service-detail-shot-wrap {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.service-detail-shot-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: transparent;
  cursor: zoom-in;
  display: block;
  image-rendering: auto;
}

.service-detail-copy {
  padding: 4px 0;
}

.service-detail-copy h3 {
  margin-bottom: 10px;
}

.service-detail-copy.is-right {
  text-align: right;
}

.service-detail-copy.is-left {
  text-align: left;
}

.service-detail-about {
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}

.service-detail-feature > .container {
  display: block !important;
}

.service-detail-feature .section-subtitle,
.service-detail-feature .section-title {
  text-align: center;
}

.service-detail-about .card-text {
  margin-bottom: 1.25rem;
}

.service-detail-about .btn {
  margin-top: 1rem;
  display: inline-flex;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .service-detail-row {
    grid-template-columns: 1fr;
  }

  .service-detail-modules-intro {
    grid-template-columns: 1fr;
  }

  .service-detail-col--media,
  .service-detail-col--copy {
    grid-column: auto;
  }

  .service-detail-copy.is-right,
  .service-detail-copy.is-left {
    text-align: left;
  }

  .service-detail-shot-img { max-height: 260px; }
}

.service-detail-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.86);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: grid;
  place-items: center;
  padding: 20px;
}

.service-detail-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-detail-lightbox-stage {
  width: min(92vw, 1200px);
  height: min(82vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-detail-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.15s ease;
  transform-origin: center center;
  user-select: none;
}

.service-detail-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-detail-lightbox-close ion-icon {
  font-size: 24px;
}

.service-detail-lightbox-controls {
  position: absolute;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.service-detail-lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-detail-lightbox-btn ion-icon {
  font-size: 24px;
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-header {
  padding: 18px 18px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.contact-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-modal-close ion-icon {
  font-size: 22px;
}

/* Project inquiry global modal */
.project-inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.project-inquiry-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.project-inquiry-modal {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.25s ease;
  overflow: auto;
  max-height: 92vh;
  padding: 18px;
}

.project-inquiry-overlay.active .project-inquiry-modal {
  transform: translateY(0) scale(1);
}

.project-inquiry-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.project-inquiry-title {
  margin: 0.2rem 0 0;
}

.project-inquiry-subtitle {
  margin: 0.7rem 0 1rem;
}

.project-inquiry-form {
  display: grid;
  gap: 12px;
}

.project-inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-inquiry-form label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.project-inquiry-input,
.project-inquiry-textarea {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}

.project-inquiry-textarea {
  resize: vertical;
  min-height: 120px;
}

.project-inquiry-modules-wrap {
  margin-top: 4px;
}

.project-inquiry-modules-title {
  margin: 0 0 8px;
  color: #334155;
  font-weight: 700;
}

.project-inquiry-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-module-item {
  position: relative;
}

.project-module-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-module-label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  color: #334155;
}

.project-module-input:checked + .project-module-label {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}

.project-module-label ion-icon {
  font-size: 18px;
  color: #64748b;
}

.project-inquiry-result {
  display: none;
  margin-top: 4px;
}

.project-inquiry-submit {
  margin-top: 6px;
}

#projectInquirySubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 11rem;
}

#projectInquirySubmit .btn-loader {
  display: none;
  box-sizing: border-box;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: contact-form-submit-spin 0.65s linear infinite;
}

#projectInquirySubmit.is-loading .btn-loader {
  display: inline-block;
}

/* Service detail auto popup form */
.service-lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.service-lead-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.service-lead-modal {
  width: min(620px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28);
  padding: 24px 26px 26px;
  position: relative;
}

.service-lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.25);
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-lead-close ion-icon {
  font-size: 21px;
}

.service-lead-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0;
}

.service-lead-title {
  margin: 16px 0 8px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.service-lead-subtitle {
  margin: 0 0 16px;
  color: #475569;
  font-size: 1.5rem;
  line-height: 1.5;
}

.service-lead-form {
  display: grid;
  gap: 12px;
}

.service-lead-label {
  margin-top: 6px;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-lead-input,
.service-lead-textarea {
  width: 100%;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 22px;
  padding: 12px 16px;
  font-size: 1.16rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-lead-textarea {
  border-radius: 18px;
  min-height: 140px;
  resize: vertical;
}

.service-lead-input:focus,
.service-lead-textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.service-lead-recaptcha {
  margin-top: 4px;
}

.service-lead-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-lead-result {
  display: none;
  margin: 2px 0 2px;
}

.service-lead-result.text-success {
  color: #16a34a;
  font-weight: 600;
}

.service-lead-field-error {
  display: none;
  margin: -2px 0 2px;
  color: #dc2626;
  font-size: 0.96rem;
  font-weight: 600;
}

.service-lead-input.is-invalid,
.service-lead-textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.13);
}

.service-lead-submit {
  margin-top: 4px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #5457ff 0%, #4f46e5 100%);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 600;
  min-height: 56px;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.service-lead-submit .btn-loader {
  display: none;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: contact-form-submit-spin 0.65s linear infinite;
}

.service-lead-input::placeholder,
.service-lead-textarea::placeholder {
  font-size: 1.08rem;
}

.service-lead-submit.is-loading {
  cursor: wait;
}

.service-lead-submit.is-loading .btn-loader {
  display: inline-block;
}

@media (max-width: 640px) {
  .service-lead-modal {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .service-lead-submit {
    width: 100%;
    font-size: 1.4rem;
    min-height: 58px;
  }

  .project-inquiry-grid,
  .project-inquiry-modules {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .service-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Blog liste: şablondaki .project + .grid-list ilk kartı 2 sütun yapıyordu — blog-listing ile düzgün ızgara */
.blog-listing {
  background-color: var(--ghost-white, #f8f9fc);
}

.blog-listing .section-title.text-center {
  margin-block: 20px 50px;
}

.blog-listing-grid {
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
  margin-inline: 0;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog-listing .link-card.blog-listing-card {
  background-color: var(--white, #fff);
  border-radius: var(--radius-20, 20px);
  box-shadow: var(--shadow-3);
  border-block-end: 3px solid transparent;
  transition: var(--transition-1, 0.25s ease);
  text-align: left;
}

.blog-listing .link-card.blog-listing-card:is(:hover, :focus-within) {
  border-color: hsl(var(--color));
}

.blog-listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
  box-sizing: border-box;
}

.blog-listing-card .span {
  color: var(--raisin-black-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  line-height: 1.35;
}

.blog-listing-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-listing-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.blog-listing-readmore {
  width: fit-content;
}

/* Blog yazı detay */
.blog-post-hero {
  padding-block-end: 0;
}

.blog-post-container {
  max-width: min(72ch, 100%);
}

.blog-post-breadcrumb {
  font-size: max(15px, 1rem);
  color: var(--cool-gray, #667085);
  margin-bottom: 1rem;
}

.blog-post-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.blog-post-breadcrumb a:hover,
.blog-post-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.blog-post-breadcrumb-sep {
  margin-inline: 0.35rem;
  opacity: 0.7;
}

.blog-post-title {
  margin-block-start: 0.5rem;
}

.blog-post-hero .section-subtitle {
  font-size: max(15px, 1rem);
}

.blog-post-lead,
.blog-post-hero .hero-text.blog-post-lead {
  font-size: max(15px, 1.0625rem);
  line-height: 1.65;
  margin-block-end: 0;
}

.blog-post-body-section {
  padding-block-start: 2rem;
}

.blog-post-prose {
  font-size: max(15px, 1.0625rem);
  line-height: 1.75;
  color: var(--raisin-black-2, #334155);
}

.blog-post-prose p {
  font-size: inherit;
}

.blog-post-prose p + p {
  margin-top: 1.25rem;
}

.blog-post-back-wrap {
  margin-top: 2.5rem;
}

/* ---- Dil değiştirici: TR/EN yazısı yerine bayrak ---- */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  min-width: auto;
  line-height: 0;
}

.lang-switch-btn .lang-flag {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-switch-btn::before,
.lang-switch-btn::after {
  display: none;
}

/* ============================================================
   MARKA PALETİ — lacivert + turuncu
   Logo iki renk taşıyor: lacivert ve turuncu. Şablondan gelen
   sarı (--mustard) ve indigo (--majorelle-blue) bu ikisiyle
   akraba değildi; ikisi de marka renklerine yeniden bağlandı.
   Tek kaynak burası: hex değiştirmek istersen sadece bu blok.
   ============================================================ */
:root {
  --brand-navy: hsl(226, 45%, 16%);
  --brand-navy-soft: hsl(226, 38%, 26%);
  --brand-navy-tint: hsl(226, 40%, 96%);
  --brand-orange: hsl(28, 100%, 56%);
  --brand-orange-dark: hsl(22, 92%, 48%);

  /* Şablon değişkenlerini marka renklerine bağla:
     tek satır değişiklikle 20+ kural birden döner. */
  --mustard: var(--brand-orange);
  --majorelle-blue: var(--brand-navy);
  --blue-ryb_80: hsla(226, 45%, 16%, 0.85);
  --sky-blue-crayola: var(--brand-orange-dark);

  /* Ürün hero tonları: tek açıklık/doygunluk rampası.
     Eskiden her biri farklı açıklıktaydı, pastel post-it gibi duruyordu. */
  --product-palnex: hsl(6, 58%, 68%);
  --product-kargon: hsl(28, 72%, 62%);
  --product-edonusum: hsl(150, 40%, 58%);
  --product-ik: hsl(210, 52%, 64%);
  --product-muhasebe: hsl(268, 38%, 66%);
  --product-medcore: hsl(192, 45%, 58%);
  --product-doys: hsl(45, 62%, 58%);
  --product-kapi-erp: hsl(232, 38%, 64%);
}

/* Hero'nun sağdaki dev bloğu: sarı yerine koyu lacivert.
   Turuncu görsel çerçevesi ancak koyu zeminde patlıyor. */
@media (min-width: 992px) {
  .hero {
    background-image: linear-gradient(to right, var(--white) 79%, var(--brand-navy) 79%);
  }
}

/* Birincil CTA lacivert; hover'da turuncuya döner. */
.btn-primary {
  background-color: var(--brand-navy);
  color: var(--white);
}

.btn-primary::before,
.btn-primary::after { background-color: var(--brand-orange); }

.btn-primary:is(:hover, :focus) { color: var(--brand-navy); }

/* İkincil buton (dil değiştirici) nötr yüzey — aksan rengini tüketmesin. */
.btn-secondary {
  background-color: var(--brand-navy-tint);
  color: var(--brand-navy);
  box-shadow: inset 0 0 0 1px hsla(226, 45%, 16%, 0.12);
}

.btn-secondary::before,
.btn-secondary::after { background-color: var(--brand-navy); }

.btn-secondary:is(:hover, :focus) { color: var(--white); }

/* Açık zeminde turuncu metin kontrastı düşük kalıyor; koyu tonunu kullan. */
.navbar-link:is(:hover, :focus) { color: var(--brand-orange-dark); }

/* Koyu footer'da lacivert hover, dinlenme renginden daha koyu kalıp kayboluyordu. */
.footer .social-link:is(:hover, :focus) {
  background-color: var(--brand-orange);
  color: var(--brand-navy);
}

/* Header CTA'sı hero'nun lacivert bloğunun üzerine denk geliyor; lacivert buton
   arka planda kayboluyordu. Sitenin en öncelikli aksiyonu olduğu için aksan
   rengini burada kullanıyoruz: hem beyaz hem lacivert zeminde okunuyor. */
.header .btn-primary {
  background-color: var(--brand-orange);
  color: var(--brand-navy);
}

/* Şablonun hover süpürmesi palet dışı bir griydi (--raisin-black-1); laciverte alındı. */
.header .btn-primary::before,
.header .btn-primary::after { background-color: var(--brand-navy); }

.header .btn-primary:is(:hover, :focus) { color: var(--white); }

/* ---- Mobilde yatay kayma ----
   Sayfa dokunmatik cihazlarda sağa sola oynayabiliyordu. İki kaynağı var:
   (1) ekran dışına konumlanmış fixed off-canvas menü — Chrome bunu viewport'un
       kaydırılabilir alanına dahil ediyor,
   (2) yatay overscroll (rubber-band) sürüklenmesi.
   `clip` kullanıyoruz, `hidden` DEĞİL: hidden kaydırma konteyneri oluşturup
   anasayfadaki .screenshot-scroll-sticky ve .svc-sidebar sticky'lerini bozardı. */
html,
body {
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  max-width: 100%;
}

/* ============================================================
   DOYS™ servis detay sayfası: özellik kartları, mobil uygulama
   bölümü ve panel bloğu. MedCore™ şablonuyla aynı yüzey dili.
   ============================================================ */
.doys-feature-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.doys-feature-card {
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doys-feature-card .doys-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.14);
  color: var(--product-doys);
  font-size: 22px;
}

.doys-feature-card h3 {
  margin: 0;
}

.doys-feature-card .card-text {
  margin: 0;
}

.doys-mobile-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.doys-mobile-card {
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.doys-mobile-card--role {
  border-left: 4px solid var(--product-doys);
}

.doys-mobile-card h3 {
  margin-bottom: 10px;
}

.doys-mobile-card .card-text {
  margin: 0;
}

.doys-mobile-intro {
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}

.doys-mobile-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.65);
}

.doys-panel-block {
  margin-top: 1.5rem;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.doys-panel-block h3 {
  margin-bottom: 10px;
}

/* Panel ekran görüntüleri demo veriyle yeniden çekilene kadar duran yer tutucu. */
.doys-panel-placeholder {
  margin-top: 14px;
  padding: 22px;
  border: 1px dashed rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.95rem;
}

.doys-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 0.95rem;
}

.doys-links a {
  color: var(--brand-navy, #0f172a);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .doys-feature-grid,
  .doys-mobile-grid {
    grid-template-columns: 1fr;
  }
}

/* DOYS™ mobil ekran görüntüleri dikey; panel görsellerinden daha uzun görünmeli. */
.service-detail-shot-wrap--phone {
  background: #f8fafc;
  padding: 16px;
}

.service-detail-shot-img--phone {
  max-height: 560px;
  width: auto;
  max-width: 100%;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

@media (max-width: 767px) {
  .service-detail-shot-img--phone { max-height: 420px; }
}

/* ==========================================================================
   Kargon™ ürün sekmeleri (/servis-detay/lojistik)
   Tek sayfada iki hedef kitle: lojistik firmaları ve ambar nakliyecileri.
   ========================================================================== */

.kargon-tabs {
  margin-top: 1.75rem;
}

.kargon-tabs-help {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--cool-gray);
  font-size: 1.4rem;
  line-height: 1.5;
}

.kargon-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.kargon-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.kargon-tab:hover {
  border-color: var(--majorelle-blue);
}

.kargon-tab:focus-visible {
  outline: 2px solid var(--majorelle-blue);
  outline-offset: 2px;
}

.kargon-tab.is-active {
  border-color: var(--majorelle-blue);
  box-shadow: 0 0 0 1px var(--majorelle-blue) inset, 0 6px 18px hsla(226, 45%, 16%, 0.12);
  background: var(--brand-navy-tint);
}

.kargon-tab-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gainsboro);
  color: var(--slate-gray);
  font-size: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kargon-tab.is-active .kargon-tab-icon {
  background: var(--majorelle-blue);
  color: var(--white);
}

.kargon-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.kargon-tab-label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--raisin-black-1);
}

.kargon-tab-hint {
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--cool-gray);
}

.kargon-panel[hidden] {
  display: none;
}

.kargon-panel-intro {
  margin-bottom: 1.4rem;
  padding: 2px 0 2px 16px;
  border: 0;
  /* Kart yerine düz tek çizgi: köşe yuvarlaması vurgu çubuğunu kavisli gösteriyordu. */
  border-left: 3px solid var(--majorelle-blue);
  border-radius: 0;
  background: transparent;
}

.kargon-panel-intro h3 {
  margin-bottom: 8px;
}

.kargon-panel-intro .card-text {
  margin-bottom: 0;
}

/* Sekme değişiminde içeriğin yerine oturduğunu belli eden kısa geçiş. */
.kargon-panel.is-active {
  animation: kargon-panel-in 0.25s ease both;
}

@keyframes kargon-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kargon-panel.is-active { animation: none; }
}

/* Üç sekme dar ekranda sığmıyor; tablet altında alt alta dizilir. */
@media (max-width: 991px) {
  .kargon-tablist {
    grid-template-columns: minmax(0, 1fr);
  }

  .kargon-tab-label { font-size: 1.5rem; }
}

/* Sekme ve panel üzerindeki ürün adı rozeti (Kargon™ / KargonLite™). */
.kargon-tab-product {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cool-gray);
  transition: color 0.2s ease;
}

.kargon-tab.is-active .kargon-tab-product {
  color: var(--majorelle-blue);
}

.kargon-panel-product {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--majorelle-blue);
}

/* ==========================================================================
   Mobil yan menüde dil değiştirme
   Masaüstündeki .lang-switch-btn dar ekranda display:none olduğu için dil
   değiştirilemiyordu; bu öğe onun yerini yan menüde alır. Geniş ekranda
   masaüstü butonu zaten görünür olduğundan gizlenir.
   ========================================================================== */

.navbar-item-lang {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.navbar-lang-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-lang-flag {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.navbar-lang-flag .lang-flag {
  display: block;
  width: 28px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.navbar-lang-name {
  flex: 1 1 auto;
}

.navbar-lang-arrow {
  flex: 0 0 auto;
  font-size: 16px;
  opacity: 0.7;
}

/* Masaüstünde bayraklı buton görünür olduğu için menüdeki öğe gereksiz. */
@media (min-width: 992px) {
  .navbar-item-lang {
    display: none;
  }
}


/* İletişim sayfası — telefon kartındaki WhatsApp butonu.
   Metin koyu yeşil: beyaz yazı #25d366 üzerinde okunmuyor (kontrast ~2:1). */
.contact-modern-info-card .contact-whatsapp-btn {
  /* Çalışma saatlerinin yanına sıkışmasın: kendi satırında, içeriği kadar geniş. */
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: #25d366;
  color: #083d22;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-whatsapp-btn svg { flex: 0 0 auto; display: block; }

.contact-modern-info-card .contact-whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.contact-modern-info-card .contact-whatsapp-btn:focus-visible {
  outline: 3px solid var(--brand-navy);
  outline-offset: 3px;
}
