/* ============================================
   Sayfa bazlı stiller: Hero, kartlar, CTA, form, vb.
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-on-scroll .work-area-item,
  .animate-on-scroll .gallery-item,
  .animate-on-scroll .card--home,
  .animate-on-scroll .home-step,
  .about-content__body {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .services-strip-grid--infinite,
  .gallery-slider {
    animation: none !important;
  }
}

/* ----- Hero (Ana sayfa) ----- */
.hero:not(.hero--full) {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0 4.5rem;
  margin: 0 -1.5rem 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

/* Hero: tam ekran — tek ekrana sığsın, taşma olmasın */
.hero--full {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding: clamp(1.5rem, 5vh, 5rem) 1.5rem clamp(1.5rem, 4vh, 4rem);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
/* Mobil / adres çubuğu: görünür alana sığsın (100dvh) */
@supports (height: 100dvh) {
  .hero--full {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
}
/* Ana sayfa: hero body altında, yatay + dikey tam ekran */
.page-home > .hero--full {
  width: 100%;
  min-width: 100%;
  max-width: 100vw;
  margin: 0;
  display: block;
  box-sizing: border-box;
}
.page-home {
  overflow-x: hidden;
}

/* Tüm sayfalar: mobilde yatay kayma olmasın */
@media (max-width: 767px) {
  .page-home,
  .page-hakkimizda,
  .page-hizmetler,
  .page-projelerimiz,
  .page-galeri,
  .page-iletisim {
    overflow-x: hidden;
  }
  .hero--full .hero-inner,
  .hero--full .hero-content {
    max-width: 100%;
    min-width: 0;
  }
  .hero-bg {
    overflow: hidden;
    width: 100%;
  }
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
  }
  .contact-wrap,
  .contact-section .section,
  .page-hero,
  .projects-section .section,
  .gallery-section {
    max-width: 100%;
    overflow-x: hidden;
  }
  .gallery-slider-track {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .intro-section .section,
  .home-steps,
  .work-areas-section {
    max-width: 100%;
    overflow-x: hidden;
  }
}
.page-home .main.home {
  padding-top: 0;
}

/* ----- Ana sayfa: Kaydırma animasyonları (geçişli, profesyonel) ----- */
.page-home .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-home .animate-on-scroll.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Intro / steps: sadece içerik animasyonlu, konteyner her zaman görünür */
.page-home .intro-section.animate-on-scroll,
.page-home .home-steps.animate-on-scroll {
  opacity: 1;
  transform: none;
}

/* Intro bölümü: kartlar sırayla giriş */
.page-home .intro-section.animate-on-scroll .section-head,
.page-home .intro-section.animate-on-scroll .section-subtitle,
.page-home .intro-section.animate-on-scroll .card--home {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-home .intro-section.animate-on-scroll .section-subtitle {
  transition-delay: 0.06s;
}
.page-home .intro-section.animate-on-scroll .card--home:nth-child(1) { transition-delay: 0.08s; }
.page-home .intro-section.animate-on-scroll .card--home:nth-child(2) { transition-delay: 0.18s; }
.page-home .intro-section.animate-on-scroll .card--home:nth-child(3) { transition-delay: 0.28s; }
.page-home .intro-section.animate-on-scroll.is-inview .section-head,
.page-home .intro-section.animate-on-scroll.is-inview .section-subtitle,
.page-home .intro-section.animate-on-scroll.is-inview .card--home {
  opacity: 1;
  transform: translateY(0);
}

/* Nasıl ilerliyoruz: adımlar sırayla */
.page-home .home-steps.animate-on-scroll .section-head,
.page-home .home-steps.animate-on-scroll .home-steps-subtitle,
.page-home .home-steps.animate-on-scroll .home-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-home .home-steps.animate-on-scroll .home-steps-subtitle { transition-delay: 0.06s; }
.page-home .home-steps.animate-on-scroll .home-step:nth-of-type(1) { transition-delay: 0.1s; }
.page-home .home-steps.animate-on-scroll .home-step:nth-of-type(2) { transition-delay: 0.22s; }
.page-home .home-steps.animate-on-scroll .home-step:nth-of-type(3) { transition-delay: 0.34s; }
.page-home .home-steps.animate-on-scroll.is-inview .section-head,
.page-home .home-steps.animate-on-scroll.is-inview .home-steps-subtitle,
.page-home .home-steps.animate-on-scroll.is-inview .home-step {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Ana sayfa: Header hero ile tek bütün, logo belirgin ----- */
.page-home .site-header {
  background: linear-gradient(180deg, rgba(22, 58, 60, 0.85) 0%, rgba(22, 58, 60, 0.4) 70%, transparent 100%);
  border-bottom: none;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .site-header .header-inner {
  padding: 1rem 1.5rem 1.25rem;
}

.page-home .site-header .logo {
  color: #fff;
  gap: 1rem;
  align-items: center;
}

.page-home .site-header .logo img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s var(--ease-out-smooth), filter 0.25s ease;
}
.page-home .site-header .logo:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.1)) brightness(1.05);
}

.page-home .site-header .logo-text {
  position: relative;
  z-index: 1;
}

.page-home .site-header .logo-text span:first-child {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 2px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
  transition: text-shadow 0.25s ease;
}
.page-home .site-header .logo:hover .logo-text span:first-child {
  text-shadow: 0 0 2px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 2px rgba(255, 255, 255, 0.5);
}

.page-home .site-header .logo-text .tagline {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.page-home .site-header .nav-list a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.page-home .site-header .nav-list a:hover,
.page-home .site-header .nav-list a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-home .site-header .nav-toggle {
  color: #fff;
}

/* Mobil menü açıkken linkler açık panelde okunabilsin */
.page-home .site-header .nav-list.is-open a {
  color: var(--text);
}
.page-home .site-header .nav-list.is-open a:hover,
.page-home .site-header .nav-list.is-open a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Kaydırınca header klasik görünüme dönsün */
.page-home .site-header.header--scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 28px var(--shadow-strong);
}

.page-home .site-header.header--scrolled .logo {
  color: var(--primary);
}

.page-home .site-header.header--scrolled .logo img {
  height: 120px;
  filter: none;
}
.page-home .site-header.header--scrolled .logo:hover img {
  filter: drop-shadow(0 6px 20px rgba(22, 90, 92, 0.2)) brightness(1.04);
}

.page-home .site-header.header--scrolled .logo-text span:first-child {
  color: var(--text);
  font-size: 1.6rem;
  text-shadow: none;
}
.page-home .site-header.header--scrolled .logo:hover .logo-text span:first-child {
  color: var(--primary);
  text-shadow: 0 2px 12px var(--shadow-strong);
}

.page-home .site-header.header--scrolled .logo-text .tagline {
  color: var(--text-muted);
}

.page-home .site-header.header--scrolled .nav-list a {
  color: var(--text);
}

.page-home .site-header.header--scrolled .nav-list a:hover,
.page-home .site-header.header--scrolled .nav-list a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.page-home .site-header.header--scrolled .nav-toggle {
  color: var(--primary);
}

.hero--full .hero-inner {
  flex: 0 1 auto;
  min-height: 0;
}

/* Hero içeriği header altında başlasın */
.page-home .hero--full .hero-inner {
  padding-top: 5.5rem;
}

.hero--full .hero-bg {
  background-image: url("../assets/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero arka plan videosu: sessiz, döngü, tam alan; görsel poster/fallback */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--full .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 74, 76, 0.94) 0%, rgba(22, 58, 60, 0.6) 40%, rgba(22, 58, 60, 0.2) 70%, transparent 100%);
  z-index: 1;
}

.hero--full .hero-badge {
  background: rgba(255, 255, 255, 0.97);
  color: var(--primary);
  border-left-color: var(--accent);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  padding: var(--space-2) var(--space-4);
}

.hero--full .hero-title {
  color: #fff;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero--full .hero-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.hero--full .hero-note {
  color: rgba(255, 255, 255, 0.8);
}

.hero--full .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.hero--full .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.hero--full .hero-scroll {
  color: rgba(255, 255, 255, 0.9);
}

.hero--full .hero-scroll:hover {
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg-soft) 50%, rgba(201, 162, 39, 0.08) 100%);
  z-index: 0;
}

/* Hero: split layout — sol metin, sağ görsel alan */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 640px;
}


/* Hero: hafif giriş animasyonu (özgün, profesyonel) */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: heroReveal 0.6s ease-out both; }
  .hero-title { animation: heroReveal 0.6s ease-out 0.08s both; }
  .hero-text { animation: heroReveal 0.6s ease-out 0.16s both; }
  .hero-actions { animation: heroReveal 0.6s ease-out 0.24s both; }
  .hero-note { animation: heroReveal 0.5s ease-out 0.32s both; }
}
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero: güven satırı (butonların altında) */
.hero-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero: Egemen Coşkun imza bloğu */
.hero-contact {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.hero--full .hero-contact {
  border-top-color: rgba(255, 255, 255, 0.35);
}
.hero-contact-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
.hero-contact-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}
.hero-contact-phone {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-contact-phone::before {
  content: '☎';
  font-size: 0.85rem;
}
.hero-contact-phone:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  text-decoration: none;
}
@media (max-width: 500px) {
  .hero-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero: sağ taraf — görsel veya kubbe silüeti */
.hero-visual {
  flex: 0 0 380px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Hero görseli: cami/kubbe — tek güçlü görsel, kubbeyi sağda çerçeveleyecek şekilde */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/hero.png");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.hero-dome {
  position: absolute;
  border-radius: 50% 50% 0 0;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  opacity: 0.09;
}

.hero-dome--1 {
  width: 320px;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, var(--primary) 70%);
}

.hero-dome--2 {
  width: 200px;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 60%);
  bottom: 20px;
  right: 50%;
  transform: translateX(30%);
  opacity: 0.07;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--surface);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 3px solid var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero (ana sayfa): birincil buton için daha güçlü kontrastlı hover (okunurluk) */
.hero--full .btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.hero--full .btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Hero: dekoratif şekiller (ana sayfa) */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}
.hero-shape--1 {
  width: 320px;
  height: 320px;
  background: var(--primary);
  top: -120px;
  right: -80px;
}
.hero-shape--2 {
  width: 180px;
  height: 180px;
  background: var(--accent);
  bottom: -40px;
  right: 15%;
}

/* Hero: aşağı kaydır ipucu */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: transform 0.2s ease, color var(--transition);
}
.hero-scroll:hover {
  color: var(--accent);
  transform: translateX(-50%) translateY(4px);
}
.hero-scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}
@keyframes hero-scroll-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 0 10px transparent; opacity: 0.75; }
}

/* Hero: tablet — görsel alanı küçült */
@media (max-width: 900px) {
  .hero-visual {
    flex: 0 0 260px;
    height: 220px;
  }
  .hero-dome--1 {
    width: 220px;
    height: 140px;
  }
  .hero-dome--2 {
    width: 140px;
    height: 85px;
    bottom: 15px;
  }
}

/* Hero: mobil — kubbe alanı gizle, tek sütun */
@media (max-width: 700px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero-visual {
    display: none;
  }
}

/* Hero: küçük ekranlarda nefes alanı */
@media (max-width: 480px) {
  .hero {
    min-height: 360px;
    padding: 2.5rem 0 3.5rem;
  }
  .hero--full {
    padding: clamp(1rem, 4vh, 3rem) 1rem clamp(1rem, 3vh, 3rem);
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
  .hero-title {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-note {
    font-size: 0.8rem;
    margin-top: 1rem;
  }
}

/* Hero: kısa ekran (yükseklik) — tek ekrana sığsın */
@media (max-height: 700px) {
  .hero--full {
    padding: clamp(1rem, 3vh, 3rem) 1.5rem clamp(1rem, 2.5vh, 2.5rem);
  }
  .hero--full .hero-title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  }
  .hero--full .hero-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .hero--full .hero-actions {
    margin-bottom: 0.25rem;
  }
  .hero--full .hero-note {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }
  .hero-scroll {
    bottom: 0.75rem;
  }
}

/* Buton oku (ana sayfa ve CTA) */
.btn-arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform var(--transition);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ----- Ana sayfa: intro bölümü ----- */
.section-head--intro {
  margin-bottom: 0.5rem;
}
.section-head--intro .line {
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.card-grid--home {
  margin-top: 0.25rem;
  gap: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.card-grid--home .card {
  padding: 1.15rem 1.25rem;
}
.card--home {
  position: relative;
  padding-left: 1.15rem;
  border-left: 2px solid var(--border);
  transition: border-left-color var(--transition);
}
.card--home:hover {
  border-left-color: var(--accent);
  transform: none;
  box-shadow: var(--shadow-md);
}
.card--home .card-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.card--home .card-text {
  font-size: 0.9rem;
  line-height: 1.55;
}
.card-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--primary-soft);
  letter-spacing: 0.02em;
}
.card-icon--dome {
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-bottom: 0.75rem;
}
.card-icon--dome svg {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

/* Ana sayfa: Tek cümle + güven bandı — kompakt, profesyonel */
.home-trust-block {
  padding: 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 50%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 2px 16px var(--shadow);
}
.home-trust-block-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.home-trust-lead {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.home-oneliner-text {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.4;
}
.home-trust-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0.85rem auto 1rem;
}
.home-trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 560px;
  margin: 0 auto;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 8px var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.home-trust-item:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 4px 14px var(--shadow-strong);
}
.home-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--bg-soft) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.home-trust-icon svg {
  width: 18px;
  height: 18px;
}
.home-trust-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
@media (max-width: 520px) {
  .home-trust-strip-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .home-trust-item {
    justify-content: center;
    padding: 0.55rem 0.85rem;
    min-width: 0;
  }
  .home-trust-label {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* Ana sayfa: Kimlerle çalışıyoruz? — kompakt şerit */
.home-audience-strip {
  padding: 1rem 1.5rem;
  text-align: center;
  background: var(--bg);
}
.home-audience-strip .home-audience-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.45;
  line-height: 1.5;
}

/* Ana sayfa: bölüm numaraları (editorial) */
.home .section-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.home .intro-section .section-num,
.home .services-strip .section-num,
.home .projects-section--home .section-num {
  margin-bottom: 0.35rem;
}

/* Ana sayfa: intro bölümü — kompakt, verimli alan */
.home .intro-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, var(--bg) 100%);
  margin: 0 -1.5rem;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: var(--radius-lg);
}
.home .intro-section .section-head {
  margin-bottom: 0.35rem;
}
.home .intro-section .section-title {
  font-size: 1.45rem;
}
.home .intro-section .section-subtitle {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

/* ----- Ana sayfa: Neler yapıyoruz? — minimalist, kompakt kartlar ----- */
.services-strip {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 20%, var(--surface) 80%, var(--bg) 100%);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: var(--radius-lg);
}

.services-strip .section-head {
  margin-bottom: 0.25rem;
}
.services-strip .section-title {
  font-size: 1.4rem;
}
.services-strip .section-subtitle {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.services-strip .section-head .line {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.services-strip-carousel {
  margin-top: 1.25rem;
  max-width: 100%;
  padding: 0 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.services-strip-carousel::-webkit-scrollbar {
  display: none;
}
.services-strip-carousel:has(.services-strip-grid--infinite) {
  overflow: hidden;
}

.services-strip-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin: 0 auto;
  padding: 0 0 0.25rem;
  box-sizing: border-box;
}
.services-strip-grid:not(.services-strip-grid--infinite) {
  max-width: 960px;
}
.services-strip-carousel:not(:has(.services-strip-grid--infinite)) .services-strip-item {
  scroll-snap-align: start;
}

/* Sonsuz kaydırma: 8 öğe (4 + 4 clone), 200% genişlik, -50% animasyon */
.services-strip-grid.services-strip-grid--infinite {
  width: 200%;
  max-width: none;
  animation: services-strip-scroll 28s linear infinite;
}
.services-strip-carousel:hover .services-strip-grid.services-strip-grid--infinite {
  animation-play-state: paused;
}
@keyframes services-strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.services-strip-carousel .services-strip-item {
  flex: 0 0 calc(12.5% - 0.425rem);
  min-width: 0;
}

.services-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 2px solid var(--primary);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 8px var(--shadow);
}

.services-strip-item:hover {
  border-top-color: var(--accent);
  border-color: var(--accent-soft);
  box-shadow: 0 6px 20px var(--shadow-strong);
  color: var(--text);
}

.services-strip-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--accent);
  border-radius: var(--radius);
}

.services-strip-icon svg {
  width: 22px;
  height: 22px;
}

/* Yuvarlak görsel — kompakt */
.services-strip-icon--img {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  border: 2px solid var(--surface);
  box-shadow: 0 2px 10px var(--shadow);
}
.services-strip-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-strip-item:hover .services-strip-icon--img {
  border-color: var(--accent-soft);
  box-shadow: 0 4px 14px var(--shadow-strong);
}

.services-strip-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: var(--primary);
}

.services-strip-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  max-width: 120px;
}

.services-strip-arrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  opacity: 0.9;
  transition: opacity var(--transition), gap var(--transition);
}
.services-strip-arrow span {
  transition: transform var(--transition);
}
.services-strip-item:hover .services-strip-arrow {
  opacity: 1;
}
.services-strip-item:hover .services-strip-arrow span {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .services-strip-carousel .services-strip-grid:not(.services-strip-grid--infinite) .services-strip-item {
    flex: 0 0 200px;
    min-width: 200px;
  }
  .services-strip-grid {
    gap: 0.75rem;
  }
  .services-strip-item {
    padding: 1rem 0.85rem;
  }
  .services-strip-desc {
    max-width: none;
  }
}

@media (max-width: 400px) {
  .services-strip-carousel .services-strip-grid:not(.services-strip-grid--infinite) .services-strip-item {
    flex: 0 0 180px;
    min-width: 180px;
  }
}

/* ----- Ana sayfa: Projeler bölümü vurgusu ----- */
.projects-section--home {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  margin: 0 -1.5rem;
  padding: 3.5rem 1.5rem 4rem;
  border-radius: var(--radius-lg);
}

/* ----- Ana sayfa: Nasıl ilerliyoruz? — kompakt, minimalist ----- */
.home-steps {
  padding: 1.75rem 0 2rem;
}
.home-steps .section-head {
  margin-bottom: 0.2rem;
}
.home-steps .section-title {
  font-size: 1.35rem;
}
.home-steps-subtitle {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.home-steps-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.home-step {
  flex: 1 1 140px;
  min-width: 0;
  text-align: center;
  padding: 0.85rem 0.6rem;
  position: relative;
}
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  margin-bottom: 0.45rem;
}
.home-step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.2rem;
}
.home-step-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}
.home-step-connector {
  width: 18px;
  min-width: 18px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent));
  margin: 0 0.15rem;
}
@media (max-width: 600px) {
  .home-steps-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
  .home-step-connector {
    width: 1px;
    height: 18px;
    min-width: 0;
    background: linear-gradient(180deg, var(--border), var(--accent));
  }
}

/* ----- Ana sayfa: CTA öncesi kapanış cümlesi ----- */
.home-quote {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.home-quote-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
}

.home-quote-text::before {
  content: '"';
  position: absolute;
  left: -0.4em;
  top: -0.15em;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.5;
}

/* Ana sayfa: bölüm ayırıcı (ince çizgi) */
.section-divider {
  padding: 1.25rem 0;
}

.section-divider::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 120px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ========== Ana sayfa: profesyonel dokunuşlar (dolu, gösterişli) ========== */
.page-home .main.home {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(22, 90, 92, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.05) 0%, transparent 40%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(22, 90, 92, 0.02) 40px,
      rgba(22, 90, 92, 0.02) 41px
    );
  background-attachment: scroll;
}

.page-home .main.home .section-title {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.page-home .main.home .section-head .line {
  height: 4px;
  width: 56px;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.page-home .main.home .section-subtitle {
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Bölüm ayırıcı — sade, profesyonel */
.page-home .section-divider {
  padding: 1rem 0;
}

.page-home .section-divider::before {
  max-width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.6;
  border-radius: 1px;
}

.page-home .section-divider::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin: 0.4rem auto 0;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent-soft);
  opacity: 0.85;
}

/* Güven bandı — kompakt, sade çerçeve */
.page-home .home-trust-block {
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.7);
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 50%, var(--surface) 100%);
}

.page-home .home-trust-divider {
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0.85rem auto 1rem;
}

.page-home .home-trust-item {
  box-shadow: var(--shadow-xs), 0 0 0 1px rgba(22, 90, 92, 0.06);
  padding: var(--space-2) var(--space-4);
}

.page-home .home-trust-item:hover {
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--accent-soft);
}

.page-home .home-trust-icon {
  background: linear-gradient(145deg, var(--primary-soft) 0%, #fff 100%);
  box-shadow: 0 1px 4px var(--shadow);
  border: 1px solid rgba(22, 90, 92, 0.1);
}

/* Kimlerle çalışıyoruz — kompakt, profesyonel şerit */
.page-home .home-audience-strip {
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--primary);
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--bg) 35%, var(--bg) 65%, var(--primary-soft) 100%);
  padding: 1.15rem 1.5rem;
  margin: 0 -1.5rem;
}

.page-home .home-audience-strip .home-audience-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

/* Intro kartları — kurumsal gölge ve çizgi */
.page-home .card--home {
  border-left-width: 4px;
  border-left-color: var(--primary);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 90, 92, 0.06);
}

.page-home .card--home:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-soft);
}

.page-home .card-icon--dome {
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 2px 10px var(--shadow);
}

/* Intro bölümü — sade, kompakt */
.page-home .intro-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 40%, #fff 100%);
  box-shadow: 0 2px 16px var(--shadow);
  border: 1px solid var(--border);
}

/* Hizmet kartları — sade, profesyonel */
.page-home .services-strip {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--surface) 25%, var(--surface) 75%, var(--bg-soft) 100%);
  box-shadow: 0 2px 16px var(--shadow);
  border: 1px solid var(--border);
}

.page-home .services-strip-item {
  border-top-width: 2px;
  box-shadow: 0 1px 8px var(--shadow), 0 0 0 1px rgba(22, 90, 92, 0.03);
}

.page-home .services-strip-item:hover {
  box-shadow: 0 6px 20px var(--shadow-strong), 0 0 0 1px var(--accent-soft);
}

/* Ana sayfa: CTA + kapanış tek blok — alan verimli, profesyonel */
.cta-section--compact {
  padding: 1.5rem 0 2rem;
}

.cta-box--with-quote {
  padding: 2rem 1.75rem 2.25rem !important;
}

.cta-box--with-quote .cta-quote {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 1rem;
  max-width: 520px;
  line-height: 1.45;
  position: relative;
  padding-left: 1.25rem;
}

.cta-box--with-quote .cta-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.1em;
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.9;
}

.cta-box--with-quote .cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cta-box--with-quote .cta-text {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.cta-box--with-quote .cta-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
}

/* CTA kutusu — dolu ve vurgulu */
.page-home .cta-box {
  box-shadow: 0 16px 48px var(--shadow-strong), 0 0 0 1px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.12);
}

.page-home .cta-box::before {
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm), var(--accent));
}

.page-home .cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.page-home .cta-title {
  font-size: 1.65rem;
  font-weight: 700;
}

/* Projeler bölümü — arka plan vurgusu */
.page-home .projects-section--home {
  margin: 0 -1.5rem;
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 20%, var(--bg-soft) 80%, var(--surface) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 24px var(--shadow);
}

.page-home .project-card .project-card-link {
  box-shadow: 0 4px 20px var(--shadow), 0 0 0 1px rgba(22, 90, 92, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .project-card:hover .project-card-link {
  box-shadow: 0 16px 40px var(--shadow-strong), 0 0 0 1px var(--accent-soft);
}

/* Nasıl ilerliyoruz — sade, kompakt */
.page-home .home-steps {
  margin: 0 -1.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 45%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.page-home .home-step-num {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ----- Kart grid ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 12px 32px var(--shadow-strong);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--accent);
  font-size: 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----- CTA kutusu (kurumsal, tek stil) ----- */
.cta-section {
  padding: var(--space-12) 0;
}

.cta-box {
  background: linear-gradient(155deg, var(--primary) 0%, #114244 35%, var(--primary-dark) 100%);
  color: #fff;
  padding: var(--space-12) var(--space-10);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 680px;
  margin: 0 auto;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.25);
}
.cta-box-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-text {
  opacity: 0.96;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-primary {
  background: var(--accent);
  color: #1a3233;
  box-shadow: var(--shadow-sm);
}
.cta-box .btn-primary:hover {
  background: var(--accent-warm);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-note {
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  opacity: 0.88;
  font-weight: 500;
}

/* ----- Sayfa başlığı (iç sayfalar) ----- */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 0 2px 0 0;
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  max-width: 600px;
}

/* ----- Hakkımızda: tam yatay hero (görsel + başlık) ----- */
.about-hero {
  position: relative;
  height: 28vh;
  min-height: 200px;
  max-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -1.5rem 2.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hakkimizda-hero.png"), url("../assets/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Görseli şeffaflaştır: yazı okunabilsin */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 58, 60, 0.82) 0%, rgba(22, 58, 60, 0.68) 45%, rgba(22, 58, 60, 0.75) 100%);
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.about-hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.about-hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hero breadcrumb (referans: Ana Sayfa > Kurumsal) */
.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-breadcrumb a:hover {
  color: #fff;
}

.hero-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
}

.hero-breadcrumb span:last-child {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 600px) {
  .about-hero {
    height: 24vh;
    min-height: 180px;
    max-height: 220px;
    padding: 0 1rem;
  }
  .about-hero-title {
    font-size: 1.75rem;
  }
}

/* ----- Sayfa hero: Hizmetler, Projelerimiz, İletişim (başlıkta resim) ----- */
.page-hero {
  position: relative;
  height: 28vh;
  min-height: 200px;
  max-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -1.5rem 2.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--hizmetler .page-hero-bg {
  background-image: url("../assets/hizmetler-hero.png"), url("../assets/hero.png");
}

.page-hero--projelerimiz .page-hero-bg {
  background-image: url("../assets/projelerimiz-hero.png"), url("../assets/hero.png");
}

/* Projelerimiz: hero giriş animasyonu */
.page-projelerimiz .page-hero.animate-on-scroll .page-hero-label,
.page-projelerimiz .page-hero.animate-on-scroll .page-hero-title,
.page-projelerimiz .page-hero.animate-on-scroll .hero-breadcrumb {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-projelerimiz .page-hero.animate-on-scroll .page-hero-title { transition-delay: 0.06s; }
.page-projelerimiz .page-hero.animate-on-scroll .hero-breadcrumb { transition-delay: 0.12s; }
.page-projelerimiz .page-hero.animate-on-scroll.is-inview .page-hero-label,
.page-projelerimiz .page-hero.animate-on-scroll.is-inview .page-hero-title,
.page-projelerimiz .page-hero.animate-on-scroll.is-inview .hero-breadcrumb {
  opacity: 1;
  transform: translateY(0);
}

.page-hero--galeri .page-hero-bg {
  background-image: url("../assets/galeri-hero.png"), url("../assets/hero.png");
}

.page-hero--iletisim .page-hero-bg {
  background-image: url("../assets/iletisim-hero.png"), url("../assets/hero.png");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 74, 76, 0.75) 0%, rgba(22, 58, 60, 0.82) 50%, rgba(22, 58, 60, 0.88) 100%);
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35), 0 6px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .page-hero {
    height: 24vh;
    min-height: 180px;
    max-height: 220px;
    padding: 0 1rem;
  }
  .page-hero-title {
    font-size: 1.75rem;
  }
  .hero-breadcrumb {
    font-size: 0.75rem;
  }
}

/* ----- Hakkımızda içerik: sol görsel, sağ yazı + animasyon ----- */
.about-content {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.about-content__image {
  order: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
/* Masaüstü: görsel kaydırırken sabit kalır, uzun metin akar — dengeli görünüm */
@media (min-width: 768px) {
  .about-content__image {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}
.about-content__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 380px;
}
@media (min-width: 768px) {
  .about-content__image img {
    max-height: 420px;
  }
}

.about-content__body {
  order: 2;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease-out 0.12s, transform 0.65s ease-out 0.12s;
}
.about-section.is-inview .about-content__body {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  max-width: 42ch;
}
.about-text p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: left;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.about-values-wrap {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  padding-top: 0.25rem;
}
@media (min-width: 768px) {
  .about-values-wrap {
    padding-left: 2rem;
  }
}

.about-values-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.about-values {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-values > li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.about-values > li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Eski yapı (strong + metin) uyumu */
.about-values li strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.about-values__label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.about-values__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: left;
}

/* ----- Hizmetler listesi ----- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--shadow);
}

.service-item-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-item-icon svg {
  width: 26px;
  height: 26px;
}

.service-item h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== Hizmetler sayfası: profesyonel görünüm ========== */
.page-hizmetler .page-header {
  padding: 3.5rem 0 2.5rem;
  margin: 0 -1.5rem 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg) 40%, var(--accent-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 24px var(--shadow);
}

.page-hizmetler .page-header::after {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-warm));
  left: 1.5rem;
  bottom: -2px;
}

.page-hizmetler .page-title {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  color: var(--primary);
  letter-spacing: 0.02em;
}

.page-hizmetler .page-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 0.75rem;
  max-width: 640px;
  line-height: 1.55;
}

/* Hizmetler bölümü — arka plan ve çerçeve */
.page-hizmetler .services-page-section {
  margin: 0 -1.5rem;
  padding: 2.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 8%, var(--surface) 92%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 24px var(--shadow);
}

.page-hizmetler .service-list {
  gap: 1.5rem;
}

.page-hizmetler .service-item {
  position: relative;
  padding: 1.75rem 2rem 1.75rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px var(--shadow), 0 0 0 1px rgba(22, 90, 92, 0.05);
  transition: border-left-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}

.page-hizmetler .service-item:hover {
  border-left-color: var(--accent);
  box-shadow: 0 12px 36px var(--shadow-strong), 0 0 0 1px var(--accent-soft);
  transform: translateX(4px);
}

.page-hizmetler .service-item-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.9;
}

.page-hizmetler .service-item-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  flex-shrink: 0;
}

.page-hizmetler .service-item-icon svg {
  width: 28px;
  height: 28px;
}

.page-hizmetler .service-item:hover .service-item-icon {
  background: linear-gradient(145deg, var(--accent-soft) 0%, #fff 100%);
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--shadow);
}

.page-hizmetler .service-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.page-hizmetler .service-item p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

/* Hizmetler sayfası CTA kutusu */
.page-hizmetler .cta-section {
  padding: 3rem 0;
}

.page-hizmetler .cta-box {
  box-shadow: 0 12px 40px var(--shadow-strong), 0 0 0 1px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ----- İletişim: profesyonel şablon ve animasyonlar ----- */

/* Hero girişi */
.page-iletisim .page-hero.animate-on-scroll .page-hero-label,
.page-iletisim .page-hero.animate-on-scroll .page-hero-title,
.page-iletisim .page-hero.animate-on-scroll .hero-breadcrumb {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-iletisim .page-hero.animate-on-scroll .page-hero-title { transition-delay: 0.06s; }
.page-iletisim .page-hero.animate-on-scroll .hero-breadcrumb { transition-delay: 0.12s; }
.page-iletisim .page-hero.animate-on-scroll.is-inview .page-hero-label,
.page-iletisim .page-hero.animate-on-scroll.is-inview .page-hero-title,
.page-iletisim .page-hero.animate-on-scroll.is-inview .hero-breadcrumb {
  opacity: 1;
  transform: translateY(0);
}

/* Bölüm başlığı */
.contact-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.contact-section-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 1rem;
}
.contact-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.contact-section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Bölüm başlığı animasyonu */
.page-iletisim .contact-section.animate-on-scroll .contact-section-head {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-section-head {
  opacity: 1;
  transform: translateY(0);
}

.contact-wrap {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

/* Kartlar: profesyonel giriş animasyonu */
.page-iletisim .contact-section.animate-on-scroll .contact-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out-smooth), transform 0.65s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), border-color 0.35s ease;
}
.page-iletisim .contact-section.animate-on-scroll .contact-info { transition-delay: 0.1s; }
.page-iletisim .contact-section.animate-on-scroll .contact-form-box { transition-delay: 0.22s; }
@media (min-width: 768px) {
  .page-iletisim .contact-section.animate-on-scroll .contact-info {
    transform: translateY(32px) translateX(-20px);
  }
  .page-iletisim .contact-section.animate-on-scroll .contact-form-box {
    transform: translateY(32px) translateX(20px);
  }
  .page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info {
    transform: translateY(0) translateX(0);
  }
  .page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box {
    transform: translateY(0) translateX(0);
  }
}
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-card {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* İletişim bilgileri kartı — grid hücresini doldurur, sol şablon */
.contact-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--surface) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(22, 90, 92, 0.1);
  box-shadow: 0 4px 20px rgba(22, 90, 92, 0.06);
  transition: transform 0.35s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), border-color 0.35s ease;
}
@media (min-width: 768px) {
  .contact-info {
    height: 100%;
  }
}
.page-iletisim .contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(22, 90, 92, 0.12), 0 0 0 1px rgba(22, 90, 92, 0.08);
  border-color: rgba(22, 90, 92, 0.15);
}
.contact-info-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(22, 90, 92, 0.15);
}
.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(22, 90, 92, 0.06);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.contact-item:last-of-type {
  border-bottom: none;
}
.contact-item:hover {
  padding-left: 0.25rem;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(22, 90, 92, 0.08);
  transition: transform 0.25s var(--ease-out-smooth), color 0.25s ease, box-shadow 0.25s ease;
}
.contact-item-icon svg {
  width: 22px;
  height: 22px;
}
.contact-item:hover .contact-item-icon {
  transform: scale(1.05);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(22, 90, 92, 0.12);
}
.contact-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.contact-item-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-item-value:hover {
  color: var(--primary);
}
.contact-item-value--text {
  color: var(--text);
  font-weight: 400;
}
.contact-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.contact-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
/* Sol kartta not alanı alta yapışır, kart eşit yükseklikte dolu görünür */
@media (min-width: 768px) {
  .contact-info .contact-info-list {
    flex: 1;
    min-height: 0;
  }
  .contact-info .contact-note {
    margin-top: auto;
    padding-top: 1rem;
  }
}

/* İletişim satırları ve not animasyonu */
.page-iletisim .contact-info .contact-item--anim,
.page-iletisim .contact-info .contact-note--anim {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease-out-smooth), transform 0.5s var(--ease-out-smooth);
}
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-item--anim:nth-child(1) { transition-delay: 0.28s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-item--anim:nth-child(2) { transition-delay: 0.36s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-item--anim:nth-child(3) { transition-delay: 0.44s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-note--anim { transition-delay: 0.52s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-item--anim,
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-info .contact-note--anim {
  opacity: 1;
  transform: translateX(0);
}

/* Form kutusu — grid hücresini doldurur, sağ şablon */
.contact-form-box {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(22, 90, 92, 0.06);
  transition: transform 0.35s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), border-color 0.35s ease;
}
@media (min-width: 768px) {
  .contact-form-box {
    height: 100%;
  }
}
.contact-form-box .contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.contact-form-box .form-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}
.page-iletisim .contact-form-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(22, 90, 92, 0.1), 0 0 0 1px rgba(22, 90, 92, 0.06);
  border-color: var(--primary-soft);
}
.contact-form-header {
  margin-bottom: 1.5rem;
}
.contact-form-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 0.35rem;
}
.contact-form-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Form alanları */
.form-group {
  margin-bottom: 1.35rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.form-required {
  color: var(--accent);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s var(--ease-out-smooth), background 0.25s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}
.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--border-light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  background: var(--surface);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* İletişim: Proje konumu / Adres bilgileri */
.contact-address-block {
  margin-bottom: 0.5rem;
}
.contact-address-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: block;
}
.contact-address-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-row--address {
  margin-bottom: 1rem;
}
.form-row--address .form-group {
  flex: 1;
  min-width: 0;
}
@media (max-width: 480px) {
  .form-row--address {
    flex-direction: column;
    gap: 0;
  }
}

/* Form grupları giriş animasyonu */
.page-iletisim .contact-form-box .form-group--anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out-smooth), transform 0.5s var(--ease-out-smooth);
}
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(1) { transition-delay: 0.28s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(2) { transition-delay: 0.36s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-row--address .form-group--anim:nth-child(1) { transition-delay: 0.36s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-row--address .form-group--anim:nth-child(2) { transition-delay: 0.4s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(3) { transition-delay: 0.44s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(4) { transition-delay: 0.52s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(5) { transition-delay: 0.6s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(6) { transition-delay: 0.68s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim:nth-child(7) { transition-delay: 0.76s; }
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-group--anim {
  opacity: 1;
  transform: translateY(0);
}
.page-iletisim .contact-section.animate-on-scroll.is-inview .contact-form-box .form-row--address .form-group--anim {
  opacity: 1;
  transform: translateY(0);
}

.form-actions {
  margin-top: 1.5rem;
}
.btn--contact-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease-out-smooth), box-shadow 0.3s var(--ease-out-smooth), background 0.25s ease;
}
.contact-form-box .btn--contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 90, 92, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .page-iletisim .page-hero.animate-on-scroll .page-hero-label,
  .page-iletisim .page-hero.animate-on-scroll .page-hero-title,
  .page-iletisim .page-hero.animate-on-scroll .hero-breadcrumb,
  .page-iletisim .contact-section.animate-on-scroll .contact-section-head,
  .page-iletisim .contact-section.animate-on-scroll .contact-card,
  .page-iletisim .contact-info .contact-item--anim,
  .page-iletisim .contact-info .contact-note--anim,
  .page-iletisim .contact-form-box .form-group--anim,
  .page-iletisim .contact-form-box .form-row--address .form-group--anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ----- Projelerimiz: bölüm başlığı (özgün çizgi) ----- */
.projects-section .section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.projects-section .section-head .line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 2px;
}
.projects-section .section-title {
  margin-bottom: 0;
}
.projects-section .section-subtitle {
  margin-bottom: 2rem;
}

/* ----- Proje kartları (küçük kutu, düşük çözünürlük dostu) ----- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition), transform 0.2s ease;
}
.project-card:hover {
  box-shadow: 0 16px 40px var(--shadow-strong);
  border-color: var(--primary-soft);
  transform: translateY(-4px);
}
.project-card:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--bg-soft) 100%);
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.project-card:hover .project-card-img img {
  transform: scale(1.06);
}
/* Düşük kaliteli fotoğraflar için: hover'da hafif renk verimi (opsiyonel grayscale kaldırma) */
.project-card-img img.project-img-grayscale {
  filter: grayscale(0.4);
}
.project-card:hover .project-card-img img.project-img-grayscale {
  filter: grayscale(0);
}

.project-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.8;
}

.project-card-caption {
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
}
.project-card:hover .project-card-caption {
  border-top-color: var(--accent);
}
.project-card-caption h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.project-card-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.projects-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ----- Çalışma alanlarımız (Projelerimiz) — kurumsal şablon ----- */
.work-areas-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 38%, var(--bg) 100%);
  padding: var(--space-16) 0;
}
.work-areas-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.work-areas-head {
  text-align: center;
  margin-bottom: var(--space-10);
}
.work-areas-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: var(--space-2);
}
.work-areas-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.work-areas-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
}

/* Projelerimiz: özgün bölüm başlığı (gradient çizgi) */
.work-areas-head--pro {
  position: relative;
}
.work-areas-head--pro .work-areas-line {
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 1rem;
}
.work-areas-head--pro .work-areas-label {
  margin-bottom: 0.35rem;
}

/* Animasyon: başlık ve alt başlık */
.work-areas-section.animate-on-scroll .work-areas-line,
.work-areas-section.animate-on-scroll .work-areas-label,
.work-areas-section.animate-on-scroll .work-areas-title,
.work-areas-section.animate-on-scroll .work-areas-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.work-areas-section.animate-on-scroll .work-areas-label { transition-delay: 0.04s; }
.work-areas-section.animate-on-scroll .work-areas-title {
  transition-delay: 0.08s;
}
.work-areas-section.animate-on-scroll .work-areas-subtitle {
  transition-delay: 0.14s;
}
.work-areas-section.animate-on-scroll.is-inview .work-areas-line,
.work-areas-section.animate-on-scroll.is-inview .work-areas-label,
.work-areas-section.animate-on-scroll.is-inview .work-areas-title,
.work-areas-section.animate-on-scroll.is-inview .work-areas-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.work-areas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .work-areas-list {
    gap: 1.25rem;
  }
}
@media (min-width: 900px) {
  .work-areas-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* Kart: başlangıçta gizli, sırayla giriş */
.work-area-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs), 0 0 0 1px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.work-areas-section.animate-on-scroll .work-area-item:nth-child(1)  { transition-delay: 0.15s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(2)  { transition-delay: 0.2s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(3)  { transition-delay: 0.25s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(4)  { transition-delay: 0.3s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(5)  { transition-delay: 0.35s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(6)  { transition-delay: 0.4s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(7)  { transition-delay: 0.45s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(8)  { transition-delay: 0.5s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(9)  { transition-delay: 0.55s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(10) { transition-delay: 0.6s; }
.work-areas-section.animate-on-scroll .work-area-item:nth-child(11) { transition-delay: 0.65s; }
.work-areas-section.animate-on-scroll.is-inview .work-area-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.work-area-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
  border-radius: 10px;
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
}
.work-area-icon svg {
  width: 20px;
  height: 20px;
}
.work-area-item:hover .work-area-icon {
  transform: scale(1.08);
  color: var(--accent-warm);
}

.work-area-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.work-area-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface-hover);
}

/* Projelerimiz: çalışma alanı kartları profesyonelleştirilmiş */
.page-projelerimiz .work-area-item {
  border-top: 3px solid transparent;
  transition: opacity 0.55s var(--ease-out-smooth), transform 0.55s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), border-color 0.35s ease, border-top-color 0.35s ease, background 0.3s ease;
}
.page-projelerimiz .work-area-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--shadow-strong), 0 0 0 1px rgba(22, 90, 92, 0.06);
  border-top-color: var(--accent);
  border-color: var(--primary-soft);
  background: var(--surface);
}
.page-projelerimiz .work-area-icon {
  transition: transform 0.35s var(--ease-out-smooth), color 0.35s ease, background 0.35s ease;
}
.page-projelerimiz .work-area-item:hover .work-area-icon {
  transform: scale(1.1);
  color: var(--accent);
}
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(1)  { transition-delay: 0.14s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(2)  { transition-delay: 0.2s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(3)  { transition-delay: 0.26s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(4)  { transition-delay: 0.32s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(5)  { transition-delay: 0.38s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(6)  { transition-delay: 0.44s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(7)  { transition-delay: 0.5s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(8)  { transition-delay: 0.56s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(9)  { transition-delay: 0.62s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(10) { transition-delay: 0.68s; }
.page-projelerimiz .work-areas-section.animate-on-scroll .work-area-item:nth-child(11) { transition-delay: 0.74s; }

/* ----- Galeri: kurumsal grid ----- */
.gallery-section {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 32%, var(--bg) 100%);
}
.gallery-section-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: var(--space-2);
}
.gallery-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.gallery-section-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
}

/* Animasyon: başlık alanı */
.gallery-section.animate-on-scroll .gallery-section-label,
.gallery-section.animate-on-scroll .gallery-section-title,
.gallery-section.animate-on-scroll .gallery-section-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth);
}
.gallery-section.animate-on-scroll .gallery-section-title { transition-delay: 0.06s; }
.gallery-section.animate-on-scroll .gallery-section-subtitle { transition-delay: 0.12s; }
.gallery-section.animate-on-scroll.is-inview .gallery-section-label,
.gallery-section.animate-on-scroll.is-inview .gallery-section-title,
.gallery-section.animate-on-scroll.is-inview .gallery-section-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Galeri: yatay slayt şeridi (sonsuz kaydırma) */
.gallery-slider-track {
  overflow: hidden;
  margin: 0 -1.5rem 2rem;
  padding: 0 0 0.5rem;
}
.gallery-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 200%;
  animation: gallery-slider-scroll 32s linear infinite;
}
.gallery-slider-track:hover .gallery-slider {
  animation-play-state: paused;
}
@keyframes gallery-slider-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-slider .gallery-item {
  flex: 0 0 calc(12.5% - 0.5rem);
  min-width: 180px;
  opacity: 1;
  transform: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-slider .gallery-item .gallery-link::before,
.gallery-slider .gallery-item .gallery-link::after {
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .gallery-grid {
    gap: 1.5rem;
  }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity var(--duration-scroll) var(--ease-out-smooth), transform var(--duration-scroll) var(--ease-out-smooth), box-shadow 0.25s ease, border-color 0.25s ease;
}
/* Stagger: her kart sırayla giriş (24 öğe) */
.gallery-section.animate-on-scroll .gallery-item:nth-child(1)  { transition-delay: 0.12s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(2)  { transition-delay: 0.16s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(3)  { transition-delay: 0.2s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(4)  { transition-delay: 0.24s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(5)  { transition-delay: 0.28s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(6)  { transition-delay: 0.32s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(7)  { transition-delay: 0.36s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(8)  { transition-delay: 0.4s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(9)  { transition-delay: 0.44s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(10) { transition-delay: 0.48s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(11) { transition-delay: 0.52s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(12) { transition-delay: 0.56s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(13) { transition-delay: 0.6s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(14) { transition-delay: 0.64s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(15) { transition-delay: 0.68s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(16) { transition-delay: 0.72s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(17) { transition-delay: 0.76s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(18) { transition-delay: 0.8s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(19) { transition-delay: 0.84s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(20) { transition-delay: 0.88s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(21) { transition-delay: 0.92s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(22) { transition-delay: 0.96s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(23) { transition-delay: 1s; }
.gallery-section.animate-on-scroll .gallery-item:nth-child(24) { transition-delay: 1.04s; }
.gallery-section.animate-on-scroll.is-inview .gallery-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  outline-offset: 2px;
}
.gallery-link:focus-visible {
  outline: 2px solid var(--primary);
}

/* Hover overlay: büyüt ikonu */
.gallery-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 32, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gallery-link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23165a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
}
.gallery-item:hover .gallery-link::after,
.gallery-item:hover .gallery-link::before {
  opacity: 1;
}
.gallery-item:hover .gallery-link::before {
  transform: scale(1);
}

.gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.gallery-item:hover .gallery-link img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-3px);
}
.gallery-section.animate-on-scroll.is-inview .gallery-item:hover {
  transform: translateY(-3px) scale(1);
}

/* Video item (ileride eklenebilir) */
.gallery-item.gallery-item--video .gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.gallery-item.gallery-item--video .gallery-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ----- Galeri lightbox (slayt, büyük görünüm) ----- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 32, 0.94);
  cursor: pointer;
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
}
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__prev:focus-visible,
.gallery-lightbox__next:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}
.gallery-lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lightbox.is-open .gallery-lightbox__prev:hover {
  transform: translateY(-50%) scale(1.05);
}
.gallery-lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lightbox.is-open .gallery-lightbox__next:hover {
  transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox__inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.gallery-lightbox.is-open .gallery-lightbox__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .gallery-lightbox__prev,
  .gallery-lightbox__next {
    width: 40px;
    height: 40px;
    left: 0.5rem;
    right: 0.5rem;
  }
  .gallery-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }
}

/* ----- Neden Egemen? (Projelerimiz sayfası) ----- */
.why-egemen-section .section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.why-egemen-section .section-head .line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.why-egemen-section .section-title {
  margin-bottom: 0;
  max-width: 20ch;
}
@media (min-width: 600px) {
  .why-egemen-section .section-title {
    max-width: none;
  }
}

.why-egemen-content {
  max-width: 680px;
  margin: 0 auto;
}
.why-egemen-lead {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
  border-left: 4px solid var(--accent);
  letter-spacing: 0.01em;
}
.why-egemen-content p:last-child,
.why-egemen-body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* Projelerimiz: Neden bizi tercih edin — animasyonlu giriş */
.page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-head,
.page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-lead--anim,
.page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-body--anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-smooth), transform 0.6s var(--ease-out-smooth);
}
.page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-lead--anim { transition-delay: 0.1s; }
.page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-body--anim { transition-delay: 0.22s; }
.page-projelerimiz .why-egemen-section.animate-on-scroll.is-inview .why-egemen-head,
.page-projelerimiz .why-egemen-section.animate-on-scroll.is-inview .why-egemen-lead--anim,
.page-projelerimiz .why-egemen-section.animate-on-scroll.is-inview .why-egemen-body--anim {
  opacity: 1;
  transform: translateY(0);
}

/* Projelerimiz: CTA kutusu animasyonu */
.page-projelerimiz .cta-section.animate-on-scroll .cta-box--anim {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s var(--ease-out-smooth), transform 0.65s var(--ease-out-smooth), box-shadow 0.35s ease;
}
.page-projelerimiz .cta-section.animate-on-scroll.is-inview .cta-box--anim {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.page-projelerimiz .cta-box--anim:hover {
  box-shadow: 0 20px 56px var(--shadow-strong), 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.page-projelerimiz .cta-box .btn-primary {
  transition: transform 0.25s var(--ease-out-smooth), box-shadow 0.3s ease, background 0.25s ease;
}
.page-projelerimiz .cta-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .page-projelerimiz .page-hero.animate-on-scroll .page-hero-label,
  .page-projelerimiz .page-hero.animate-on-scroll .page-hero-title,
  .page-projelerimiz .page-hero.animate-on-scroll .hero-breadcrumb,
  .page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-head,
  .page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-lead--anim,
  .page-projelerimiz .why-egemen-section.animate-on-scroll .why-egemen-body--anim,
  .page-projelerimiz .cta-section.animate-on-scroll .cta-box--anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ----- Video bloğu (küçük kutu, oynat butonu) ----- */
.video-section {
  padding: 3rem 0;
}
.video-section .section-head {
  margin-bottom: 1.5rem;
}
.video-block {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--text);
  box-shadow: 0 20px 50px var(--shadow-strong);
}
.video-block-inner {
  position: relative;
  aspect-ratio: 16 / 9;
}
.video-block video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  vertical-align: middle;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 90, 92, 0.75);
  transition: opacity var(--transition), visibility var(--transition);
  cursor: pointer;
}
.video-play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background var(--transition), color var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.video-play-overlay:hover .video-play-btn {
  transform: scale(1.08);
  background: var(--accent);
  color: var(--surface);
}
.video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}
.video-block figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
