/* 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: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 520px;
  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: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.navbar-products-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar-products-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.navbar-product-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  text-decoration: none;
  border-radius: var(--radius-12, 12px);
  background: rgba(99, 102, 241, 0.08);
  border: 3px solid rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.navbar-product-link.product-kargon { border-color: rgba(249, 115, 22, 0.55); }   /* soft orange */
.navbar-product-link.product-palnex { border-color: rgba(239, 68, 68, 0.75); }   /* stronger red */
.navbar-product-link.product-uretim { border-color: rgba(99, 102, 241, 0.5); }    /* indigo */
.navbar-product-link.product-edonusum { border-color: rgba(16, 185, 129, 0.5); }  /* emerald */
.navbar-product-link.product-ik { border-color: rgba(59, 130, 246, 0.55); }        /* blue */
.navbar-product-link.product-muhasebe { border-color: rgba(168, 85, 247, 0.5); }   /* purple */

.navbar-product-link.product-kargon ion-icon { color: rgba(249, 115, 22, 0.95); }
.navbar-product-link.product-palnex ion-icon { color: rgba(239, 68, 68, 0.95); }
.navbar-product-link.product-uretim ion-icon { color: rgba(99, 102, 241, 0.95); }
.navbar-product-link.product-edonusum ion-icon { color: rgba(16, 185, 129, 0.95); }
.navbar-product-link.product-ik ion-icon { color: rgba(59, 130, 246, 0.95); }
.navbar-product-link.product-muhasebe ion-icon { color: rgba(168, 85, 247, 0.95); }

.navbar-product-link ion-icon {
  font-size: 28px;
  color: var(--majorelle-blue, #6366f1);
}

.navbar-product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--raisin-black-1, #101828);
  text-transform: none;
}

.navbar-product-desc {
  font-size: 1.05rem;
  color: var(--cool-gray, #667085);
  line-height: 1.4;
}

.navbar-product-link:is(:hover, :focus) {
  background: var(--majorelle-blue, #6366f1);
  border-color: transparent;
}

.navbar-product-link:is(:hover, :focus) ion-icon {
  color: #fff;
}

.navbar-product-link:is(:hover, :focus) .navbar-product-title,
.navbar-product-link:is(:hover, :focus) .navbar-product-desc {
  color: #fff;
}

/* 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: #2563eb !important;
  }

  .navbar-link {
    color: #0f172a !important;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .navbar-link:is(:hover, :focus) {
    color: #2563eb !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;
    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) {
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    margin: 0;
    pointer-events: none;
  }

  .navbar-products-panel.active {
    max-height: min(70vh, 420px);
    overflow-y: auto;
    opacity: 1;
    padding: 4px 0 8px 4px !important;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-products-grid {
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
  }

  /* Ürünler: sadece sayfa adları */
  .navbar-product-link {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 12px 10px;
    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:last-child {
    border-bottom: none !important;
  }

  .navbar-product-link ion-icon,
  .navbar-product-desc {
    display: none !important;
  }

  .navbar-product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a !important;
    text-transform: none;
  }

  .navbar-product-link:is(:hover, :focus) {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: transparent !important;
  }

  .navbar-product-link:is(:hover, :focus) .navbar-product-title {
    color: #1d4ed8 !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: #ff8a1f;
  /* sadece sağ-alt köşe yuvarlak */
  border-radius: 0 0 125px 0;
}

.hero-banner--framed.hero-banner--palnex::before {
  background: #fca5a5;
  width: 62%;
  height: 62%;
}

.hero-banner--framed.hero-banner--kargon::before {
  background: #fdba74; /* soft orange */
  width: 62%;
  height: 62%;
}

.hero-banner--framed.hero-banner--edonusum::before {
  background: #86efac; /* soft green */
}

.hero-banner--framed.hero-banner--ik::before {
  background: #bfdbfe; /* softer blue */
}

.hero-banner--framed.hero-banner--muhasebe::before {
  background: #e9d5ff; /* soft purple */
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(43, 111, 255, 0.25);
  background-image: radial-gradient(rgba(43, 111, 255, 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: rgba(43, 111, 255, 0.95);
  font-size: 1.05rem;
  white-space: nowrap;
}

.screenshot-scroll-hint-bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(43, 111, 255, 0.14);
  box-shadow: 0 10px 28px rgba(43, 111, 255, 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: rgba(43, 111, 255, 0.92);
  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: #f97316;
  }
  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;
}

/* 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;
}

@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;
}
