/* =========================================================
   CAM BALKON PLUS — KURUMSAL TASARIM SİSTEMİ
   Tipografi: Fraunces (display) + Manrope (body)
   Palet: Sıcak krem zemin, derin lacivert, cam mavisi, bakır vurgu
   ========================================================= */

:root {
  /* Renkler */
  --bg: #fafaf7;
  --bg-warm: #f5f3ed;
  --bg-card: #ffffff;
  --bg-dark: #0e1b2c;
  
  --ink: #0e1b2c;
  --ink-soft: #34465e;
  --ink-mute: #6b7a8f;
  --ink-light: #97a2b3;
  
  --line: #e8e4dc;
  --line-soft: #f0ede5;
  
  --accent: #c87f3c;        /* bakır - sıcak vurgu */
  --accent-deep: #a86826;
  --glass: #6ba3c5;          /* cam mavisi */
  --glass-deep: #2d6b8f;
  --glass-light: #d6e8f0;
  
  --success: #4a8b6b;
  --danger: #c95a5a;
  
  /* Tipografi */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  
  /* Spacing */
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--ink); color: var(--bg); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: 50px;
}
.section-title h2 em {
  font-style: italic;
  color: var(--accent);
}

/* =========================================================
   BUTONLAR
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 127, 60, 0.28);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.announce {
  background: var(--ink);
  color: var(--bg-warm);
  font-size: 0.82rem;
  padding: 10px 0;
  letter-spacing: 0.04em;
}
.announce-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.announce-left { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.announce-left span { display: flex; align-items: center; gap: 8px; opacity: .85; }
.announce-left svg { width: 14px; height: 14px; }
.announce-right { display: flex; gap: 16px; align-items: center; }
.announce-right a { opacity: .85; transition: opacity .2s; }
.announce-right a:hover { opacity: 1; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 14px;
  margin-right: 4px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.lang-switch a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.55;
  text-transform: uppercase;
}
.lang-switch a:hover { opacity: 0.9; }
.lang-switch a.active {
  opacity: 1;
  color: var(--accent);
}
.lang-switch .sep { opacity: 0.3; font-size: 10px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(14, 27, 44, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2px;
}
.logo-mark svg { width: 22px; height: 22px; color: var(--bg-warm); position: relative; z-index: 1; }
.logo em {
  font-style: italic;
  color: var(--accent);
}

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  position: relative;
  transition: color .25s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 18px; right: 18px;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: all .25s;
}
.header-phone:hover { border-color: var(--accent); color: var(--accent); }
.header-phone svg { width: 16px; height: 16px; color: var(--accent); }

.menu-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107, 163, 197, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200, 127, 60, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 28px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.hero-content h1 em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 2px;
  background: var(--accent);
  opacity: .35;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-trust {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.trust-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.trust-item .num em {
  color: var(--accent);
  font-style: normal;
}
.trust-item .lbl {
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Visual - 3D cam balkon illustrasyonu */
.hero-visual {
  position: relative;
  height: 560px;
}
.hero-visual-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.window-3d {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  perspective: 1200px;
}
.window-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ed 100%);
  border-radius: 8px;
  box-shadow:
    0 40px 80px -20px rgba(14, 27, 44, 0.25),
    0 20px 40px -10px rgba(14, 27, 44, 0.15),
    inset 0 0 0 1px rgba(14, 27, 44, 0.06);
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}
.window-frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 8px solid #ffffff;
  border-radius: 4px;
  background:
    /* Bulut katmanı - sağ üst */
    radial-gradient(ellipse 70px 26px at 78% 30%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 50px 18px at 25% 22%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%),
    /* Dağ silüeti - alttan */
    linear-gradient(180deg, transparent 60%, rgba(45, 78, 100, 0.25) 70%, rgba(45, 78, 100, 0.4) 78%),
    /* Gökyüzü gradyanı */
    linear-gradient(180deg,
      rgba(135, 180, 210, 0.75) 0%,
      rgba(155, 195, 220, 0.7) 30%,
      rgba(195, 220, 230, 0.65) 55%,
      rgba(220, 230, 230, 0.55) 80%);
  box-shadow:
    inset 0 4px 20px rgba(255,255,255,0.5),
    inset 0 -4px 20px rgba(45, 107, 143, 0.2);
  z-index: 0;
}
/* Dağ profili (SVG mask alternatifi olarak köşeli polygon) */
.window-frame .scenery {
  position: absolute;
  bottom: 26px; left: 26px; right: 26px;
  height: 38%;
  z-index: 1;
  pointer-events: none;
}
.window-frame .scenery::before,
.window-frame .scenery::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(70, 100, 125, 0.5), rgba(45, 78, 100, 0.7));
  clip-path: polygon(0 100%, 0 60%, 12% 35%, 22% 50%, 35% 25%, 48% 45%, 60% 30%, 75% 50%, 88% 35%, 100% 55%, 100% 100%);
  height: 70%;
  opacity: 0.85;
}
.window-frame .scenery::after {
  background: linear-gradient(180deg, rgba(35, 65, 90, 0.6), rgba(20, 45, 65, 0.85));
  clip-path: polygon(0 100%, 0 75%, 18% 55%, 32% 70%, 45% 50%, 58% 65%, 70% 55%, 82% 68%, 95% 60%, 100% 78%, 100% 100%);
  height: 55%;
}
.window-frame::after {
  content: '';
  position: absolute;
  top: 50%; left: 18px; right: 18px;
  height: 16px;
  background: #ffffff;
  transform: translateY(-50%);
  z-index: 2;
}
.window-shine {
  position: absolute;
  inset: 26px;
  border-radius: 2px;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 70%);
  pointer-events: none;
  z-index: 3;
  animation: shine 4s ease-in-out infinite;
}
.window-vertical {
  position: absolute;
  top: 26px; bottom: 26px;
  left: 50%;
  width: 16px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 2;
}
/* Uçuşan parçacıklar (kuş/yaprak) */
.window-3d .particle {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}
.window-3d .particle.bird {
  top: 28%;
  left: -5%;
  width: 14px;
  height: 14px;
  color: rgba(35, 60, 80, 0.7);
  animation: birdFly 18s linear infinite;
}
.window-3d .particle.bird-2 {
  top: 40%;
  left: -5%;
  width: 10px;
  height: 10px;
  color: rgba(35, 60, 80, 0.5);
  animation: birdFly 22s linear infinite;
  animation-delay: -7s;
}
@keyframes birdFly {
  0% { transform: translateX(0) translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(500px) translateY(-30px); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(2deg) translateY(-12px); }
}
@keyframes shine {
  0%, 100% { opacity: 0.8; transform: translateX(-10%); }
  50% { opacity: 1; transform: translateX(10%); }
}

/* Floating bilgi kartları */
.float-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -10px rgba(14, 27, 44, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
}
.float-card-1 {
  top: 12%;
  left: -8%;
  animation-delay: -1s;
}
.float-card-2 {
  bottom: 18%;
  right: -10%;
  animation-delay: -2.5s;
}
.float-card-3 {
  top: 48%;
  right: -4%;
  animation-delay: -3.5s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-card-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-card-1 .float-card-icon { background: rgba(107, 163, 197, 0.15); color: var(--glass-deep); }
.float-card-2 .float-card-icon { background: rgba(200, 127, 60, 0.15); color: var(--accent); }
.float-card-3 .float-card-icon { background: rgba(74, 139, 107, 0.15); color: var(--success); }
.float-card-icon svg { width: 20px; height: 20px; }
.float-card-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 700;
}
.float-card-text span {
  font-size: 0.72rem;
  color: var(--ink-mute);
}

/* =========================================================
   SECTION GENEL
   ========================================================= */
section { padding: 100px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 640px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* =========================================================
   ÖZELLİKLER ŞERİDİ
   ========================================================= */
.features-strip {
  background: var(--ink);
  color: var(--bg-warm);
  padding: 70px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  margin-bottom: 6px;
}
.feat-card-icon svg { width: 26px; height: 26px; color: var(--accent); }
.feat-card h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
}
.feat-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* =========================================================
   HİZMETLER (SERVİSLER)
   ========================================================= */
.services-bg {
  background: var(--bg);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
/* Köşe dekorasyonu - sağ üst */
.service-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 127, 60, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -15px rgba(14, 27, 44, 0.18);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--bg-warm);
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: all .35s;
  position: relative;
}
.service-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--accent);
  border-radius: calc(var(--radius) + 6px);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity .4s;
}
.service-card:hover .service-icon {
  background: var(--ink);
  transform: scale(1.05) rotate(-3deg);
}
.service-card:hover .service-icon::before {
  opacity: 0.5;
  animation: iconHaloRotate 8s linear infinite;
}
@keyframes iconHaloRotate {
  to { transform: rotate(360deg); }
}
.service-card:hover .service-icon svg { color: var(--accent); }
.service-icon svg {
  width: 30px; height: 30px;
  color: var(--ink);
  transition: color .35s;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.service-card .desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
}
.service-features {
  list-style: none;
  margin-bottom: 26px;
}
.service-features li {
  font-size: 0.86rem;
  color: var(--ink-mute);
  padding: 6px 0 6px 22px;
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 1px;
  background: var(--accent);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.service-link svg { transition: transform .3s; }
.service-card:hover .service-link { color: var(--accent); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* =========================================================
   PROCESS / SÜREÇ (Çizgi animasyonu)
   ========================================================= */
.process-section {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-light) 0, var(--ink-light) 8px, transparent 8px, transparent 16px);
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.process-num {
  width: 64px; height: 64px;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: all .4s var(--ease);
}
.process-step:hover .process-num {
  background: var(--ink);
  color: var(--accent);
  transform: scale(1.08);
}
.process-step h4 { margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================
   PROJELER (GALERİ)
   ========================================================= */
.projects-section { background: var(--bg); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-warm);
  aspect-ratio: 4/3;
  isolation: isolate;
  box-shadow: 0 4px 12px -4px rgba(14,27,44,0.08);
  transition: box-shadow .4s var(--ease);
}
.project-card:hover {
  box-shadow: 0 24px 50px -16px rgba(14,27,44,0.25);
}
.project-card.large { grid-column: span 6; aspect-ratio: 3/2; }
.project-card.small { grid-column: span 3; }
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .8s;
}
.project-card:hover .project-img {
  transform: scale(1.08);
  filter: saturate(1.1);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 27, 44, 0.9) 0%, rgba(14, 27, 44, 0.3) 50%, transparent 70%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  transition: padding .4s var(--ease);
}
.project-card:hover .project-overlay {
  padding-bottom: 32px;
}
.project-overlay .cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.project-overlay h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-display);
  transition: transform .4s var(--ease);
}
.project-card:hover .project-overlay h4 {
  transform: translateY(-2px);
}
.project-overlay .loc {
  font-size: 0.88rem;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* "Detay" göstergesi - hover'da slide-up */
.project-overlay::after {
  content: 'Detayları Gör →';
  position: absolute;
  bottom: 14px;
  right: 28px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
  letter-spacing: 0.04em;
}
.project-card:hover .project-overlay::after {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   STATS / SAYAÇ (Animasyonlu)
   ========================================================= */
.stats-section {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200, 127, 60, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: left; padding-right: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.stat-num sup {
  font-size: 0.5em;
  margin-left: 4px;
  vertical-align: super;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* =========================================================
   REFERANSLAR (TESTIMONIAL)
   ========================================================= */
.testimonials-section { background: var(--bg-warm); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(14, 27, 44, 0.12);
}
.testimonial-card .quote-icon {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: .3;
  position: absolute;
  top: 30px; right: 28px;
}
.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.testimonial-rating svg {
  width: 16px; height: 16px;
  color: var(--accent);
  fill: currentColor;
}
.testimonial-content {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.author-info span {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* =========================================================
   CTA / TEKLIF FORMU
   ========================================================= */
.cta-section {
  background: var(--bg);
  padding: 100px 0;
}
.cta-wrap {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2940 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(200, 127, 60, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: 20px; }
.cta-content h2 em { color: var(--accent); font-style: italic; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 30px; }
.cta-points { list-style: none; }
.cta-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
}
.cta-points svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.cta-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}
.cta-form h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.95rem;
  transition: all .25s;
  font-family: inherit;
}
.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}
.form-control option { background: var(--ink); color: #fff; }
textarea.form-control { resize: vertical; min-height: 100px; }
.cta-form .btn { width: 100%; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about .logo { margin-bottom: 20px; color: #fff; }
.footer-about .logo-mark { background: var(--bg-warm); }
.footer-about .logo-mark svg { color: var(--ink); }
.footer-about p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 380px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  transition: all .25s;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.social-links svg { width: 16px; height: 16px; }
.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}
.footer-credit a:hover {
  border-color: var(--accent, #c87f3c);
  background: rgba(200, 127, 60, 0.08);
  transform: translateY(-1px);
}
.footer-credit .credit-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
  text-transform: uppercase;
}
.footer-credit .credit-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  color: var(--accent, #c87f3c);
  letter-spacing: -0.01em;
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .6;
  animation: pulse 2s infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================
   PAGE HEADER (alt sayfalar için)
   ========================================================= */
.page-header {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(107, 163, 197, 0.15) 0%, transparent 65%);
  border-radius: 50%;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 20px;
  position: relative;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--ink-light); }
.page-header h1 { position: relative; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FLASH MESSAGES
   ========================================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(74, 139, 107, 0.1); color: var(--success); border: 1px solid rgba(74, 139, 107, 0.2); }
.alert-error { background: rgba(201, 90, 90, 0.1); color: var(--danger); border: 1px solid rgba(201, 90, 90, 0.2); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { height: 480px; }
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .stats-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { grid-template-columns: 1fr; padding: 50px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-grid::before { display: none; }
  .nav { display: none; }
  .menu-toggle { 
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px;
    gap: 0;
  }
  .nav.open a { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open a.active::after { display: none; }
  .header-phone { display: none; }
}

@media (max-width: 720px) {
  section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-trust { flex-wrap: wrap; gap: 24px; }
  .trust-item { flex: 1 1 calc(50% - 12px); }
  .services-grid, .testimonials-grid, .features-grid, .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large, .project-card.small { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-wrap { padding: 40px 24px; }
  .float-card { display: none; }
  .stat-item { border-right: none; padding-right: 0; }
  .announce-left span:not(:first-child) { display: none; }
  .header-cta .btn { display: none; }
  .header-cta .header-phone { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   PAGE HERO (about/services/projects/contact)
   ========================================================= */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
    text-align: center;
}
.page-hero .crumbs { justify-content: center; margin-bottom: 20px; }
.page-hero .display { margin-top: 16px; }
.page-hero .lead { max-width: 640px; margin: 20px auto 0; }

.crumbs {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: 13px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.crumbs a { color: var(--ink); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--copper); }
.crumbs span { color: var(--muted); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    display: flex; gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: all .3s ease;
}
.info-card:hover {
    border-color: var(--copper);
    box-shadow: 0 12px 30px rgba(14,27,44,.06);
    transform: translateY(-2px);
}
.info-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--copper);
}
.info-icon svg { width: 22px; height: 22px; }
.info-body h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 500;
    margin: 0 0 4px;
    color: var(--ink);
}
.info-body p, .info-body a {
    color: var(--muted);
    font-size: 15px; line-height: 1.6;
    text-decoration: none;
}
.info-body a:hover { color: var(--copper); }

.form-card {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(14,27,44,.06);
}
.form-card h2 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 400;
    margin: 0 0 8px;
    color: var(--ink);
}
.form-card .muted { color: var(--muted); margin-bottom: 24px; }

.map-section { line-height: 0; }
.map-section iframe { display: block; width: 100%; }

/* =========================================================
   QUOTE PAGE
   ========================================================= */
.quote-hero {
    background: linear-gradient(135deg, #0e1b2c 0%, #1a2e47 60%, #0e1b2c 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.quote-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(200,127,60,.18) 0%, transparent 60%);
    pointer-events: none;
}
.quote-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(107,163,197,.12) 0%, transparent 60%);
    pointer-events: none;
}
.quote-hero-inner { position: relative; z-index: 1; }
.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.quote-intro .display em {
    font-style: italic;
    font-weight: 300;
}
.quote-benefits {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}
.quote-benefits li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,.92);
    font-size: 15px;
}
.quote-benefits svg {
    width: 18px; height: 18px;
    color: var(--copper);
    flex-shrink: 0;
}

.form-note {
    text-align: center;
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--muted);
}
.form-note a { color: var(--copper); font-weight: 500; text-decoration: none; }

/* =========================================================
   BLOG POST PAGE
   ========================================================= */
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.post-hero {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
    text-align: center;
}
.post-hero .crumbs { justify-content: center; margin-bottom: 24px; }
.post-hero .display { margin: 0 auto 24px; max-width: 760px; line-height: 1.15; }
.post-meta {
    display: flex; align-items: center; gap: 12px; justify-content: center;
    color: var(--muted); font-size: 14px;
}
.post-meta .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--muted); opacity: .5;
}
.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(200,127,60,.1);
    color: var(--copper);
    border-radius: 100px;
    font-size: 12px; font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-cover {
    margin: 0 0 60px;
}
.post-cover img {
    width: 100%; max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.post-content {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.85;
    color: #2a3947;
}
.post-content h2, .post-content h3 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 48px 0 16px;
    font-weight: 500;
}
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 22px; }
.post-content p { margin: 0 0 20px; }
.post-content a { color: var(--copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 3px solid var(--copper);
    background: var(--cream);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-display);
    font-size: 19px;
    font-style: italic;
    color: var(--ink);
}
.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content img { max-width: 100%; border-radius: 12px; margin: 24px 0; }

.post-share {
    display: flex; align-items: center; gap: 14px;
    padding: 32px 0;
    margin-top: 48px;
    border-top: 1px solid var(--line);
}
.post-share span { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.post-share a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--cream);
    color: var(--ink);
    border-radius: 50%;
    transition: all .25s ease;
}
.post-share a:hover {
    background: var(--copper);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   BLOG GRID (used by yazi.php related & blog.php)
   ========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.blog-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all .3s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--copper);
    box-shadow: 0 20px 40px rgba(14,27,44,.08);
}
.blog-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.cover-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, #e8e8e0 100%);
}
.blog-body { padding: 24px; }
.blog-body .post-category { margin-bottom: 12px; }
.blog-body h3 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 500;
    margin: 12px 0;
    line-height: 1.3;
}
.blog-body h3 a { color: var(--ink); text-decoration: none; transition: color .2s; }
.blog-body h3 a:hover { color: var(--copper); }
.post-date { font-size: 13px; color: var(--muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .quote-grid { grid-template-columns: 1fr; gap: 40px; }
    .quote-hero { padding: 80px 0 60px; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .form-card { padding: 28px; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .quote-benefits { grid-template-columns: 1fr; }
    .post-hero { padding: 80px 0 30px; }
    .post-content { font-size: 16px; }
    .post-cover { margin-bottom: 36px; }
    .post-cover img { border-radius: 12px; }
    .form-card { padding: 24px 20px; }
    .form-card h2 { font-size: 22px; }
}
