/* ==========================================================================
   Kent360 — Kurumsal Web Sitesi Stilleri
   Sarı & Siyah / Koyu Kurumsal Kimlik & Saf CSS Mimari İnşa Animasyonu
   ========================================================================== */

:root {
  /* Renk Paleti - Sarı & Siyah / Koyu Mimari Arduvaz */
  --bg-body: #0a0e17;
  --bg-surface: #111724;
  --bg-surface-elevated: #162032;
  --bg-subtle: #1a2538;
  --bg-blueprint: #0e1420;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #8493a8;
  --text-inverse: #0a0e17;

  --border-light: #1e293b;
  --border-medium: #2a384f;
  --border-strong: #3d506e;

  /* Marka Sarı / Altın Vurguları (Logo ile birebir uyumlu) */
  --brand-yellow: #f5a623;
  --brand-yellow-hover: #ffb838;
  --brand-yellow-light: rgba(245, 166, 35, 0.12);
  --brand-yellow-border: rgba(245, 166, 35, 0.35);

  --focus-ring: #f5a623;

  /* Tipografi */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Konteyner & Ölçek */
  --container-max: 1160px;
  --container-narrow: 800px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Sıfırlama & Temel
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand-yellow);
  color: var(--text-inverse);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   Header / Üst Menü
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--brand-yellow);
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-yellow);
}

/* --------------------------------------------------------------------------
   Hero Bölümü — Asimetrik & Siyah/Sarı Koyu Tema
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 76px 0 88px 0;
  border-bottom: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 100% 10%, rgba(245, 166, 35, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(30, 41, 59, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #0a0e17 0%, #0d131f 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-slogan-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-yellow);
  background-color: var(--brand-yellow-light);
  border: 1px solid var(--brand-yellow-border);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.3rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--brand-yellow);
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-yellow);
  color: #0a0e17;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-yellow);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--brand-yellow-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--brand-yellow);
  background-color: var(--bg-subtle);
  color: var(--brand-yellow);
}

/* --------------------------------------------------------------------------
   Mimari Çizim Çerçevesi & Saf CSS Kat İnşa Animasyonu
   -------------------------------------------------------------------------- */
.blueprint-frame {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.blueprint-header-title {
  color: var(--brand-yellow);
  font-weight: 700;
}

.blueprint-canvas {
  padding: 24px 20px;
  background-color: var(--bg-blueprint);
  background-image:
    linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.blueprint-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 
   SAF CSS İNŞA ANİMASYONU TANIMLARI
   Toplam Döngü: 6 saniye
   - Zemin Kat: 0s - 0.6s beliriş
   - 1. Kat: 0.6s - 1.2s beliriş
   - 2. Kat: 1.2s - 1.8s beliriş
   - 3. Kat / Çatı Terası: 1.8s - 2.4s beliriş
   - Kot Ölçüsü: 2.4s - 2.8s beliriş
   - Sakin Duraklama (Hold): 2.8s - 5.2s (~2.4 saniye tam bina olarak bekleme)
   - Yumuşak Sıfırlanma (Fade Out): 5.2s - 6.0s
*/

@keyframes animGroundFloor {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  8%, 88% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes animFirstFloor {
  0%, 10% {
    opacity: 0;
    transform: translateY(-12px);
  }
  18%, 88% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes animSecondFloor {
  0%, 20% {
    opacity: 0;
    transform: translateY(-12px);
  }
  28%, 88% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes animTopFloor {
  0%, 30% {
    opacity: 0;
    transform: translateY(-12px);
  }
  38%, 88% {
    opacity: 1;
    transform: translateY(0);
  }
  94%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes animDimensions {
  0%, 38% {
    opacity: 0;
  }
  46%, 88% {
    opacity: 1;
  }
  94%, 100% {
    opacity: 0;
  }
}

.floor-ground {
  animation: animGroundFloor 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center bottom;
}

.floor-1 {
  animation: animFirstFloor 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center bottom;
}

.floor-2 {
  animation: animSecondFloor 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center bottom;
}

.floor-top {
  animation: animTopFloor 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center bottom;
}

.building-dimension-layer {
  animation: animDimensions 6s ease infinite;
}

/* Erişilebilirlik: Hareketi azaltılmış ortamda animasyonu tamamen durdur */
@media (prefers-reduced-motion: reduce) {
  .floor-ground,
  .floor-1,
  .floor-2,
  .floor-top,
  .building-dimension-layer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Bölüm 2: Ne Yapıyor — Tek Birleşik Karşılaştırma Yapısı
   -------------------------------------------------------------------------- */
.section-overview {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-body);
}

.overview-header {
  max-width: 780px;
  margin-bottom: 48px;
  text-align: left;
}

.overview-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 18px;
}

.overview-statement {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Tek Birleşik Çift Sütunlu Karşılaştırma Yapısı */
.unified-stakeholder-ledger {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ledger-top-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ledger-top-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-yellow);
  letter-spacing: -0.01em;
}

.ledger-top-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.ledger-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ledger-col {
  padding: 36px 32px;
}

.ledger-col-malik {
  border-right: 1px solid var(--border-light);
}

.ledger-col-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.ledger-col-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ledger-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ledger-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ledger-check-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Bölüm 3: Uygulamayı İndir — Sayfa Dilinde Bütünleşik Koyu Blok
   -------------------------------------------------------------------------- */
.section-app {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-body);
}

.app-banner {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.app-banner-info {
  text-align: left;
}

.app-banner-title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

.app-banner-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.app-availability-note {
  font-size: 0.84rem;
  color: var(--text-subtle);
  margin-top: 14px;
}

.app-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Sarı & Siyah Temaya Uyumlu Butonlar */
.app-store-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--bg-subtle);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  user-select: none;
  cursor: default;
}

.app-store-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}

.app-store-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-store-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.app-store-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.status-badge-soon {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background-color: var(--brand-yellow-light);
  color: var(--brand-yellow);
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-yellow-border);
}

/* --------------------------------------------------------------------------
   Bölüm 4: İletişim — Net ve Doğrudan Eylem
   -------------------------------------------------------------------------- */
.section-contact {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-body);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.contact-info {
  text-align: left;
}

.contact-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-group-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.contact-group-brand svg {
  color: var(--brand-yellow);
}

.contact-action-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Yetkin Tıklanabilir İletişim Butonu */
.contact-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--brand-yellow);
  color: #0a0e17;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.15s ease;
  width: 100%;
  max-width: 380px;
}

.contact-cta-link:hover {
  background-color: var(--brand-yellow-hover);
}

.contact-cta-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #0a0e17;
}

.contact-note {
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   Footer / Alt Bilgi
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: #070a10;
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Gizlilik Sayfası (Koyu Tema)
   -------------------------------------------------------------------------- */
.page-container {
  padding: 64px 0 96px 0;
  flex: 1;
}

.policy-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.policy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-yellow);
  margin-bottom: 24px;
}

.policy-back-link:hover {
  text-decoration: underline;
}

.policy-card h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.policy-card h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-yellow);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.policy-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.policy-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-card strong {
  color: #ffffff;
}

.policy-card em {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.policy-card a {
  color: var(--brand-yellow);
  text-decoration: underline;
}

.policy-card a:hover {
  color: var(--brand-yellow-hover);
}


/* --------------------------------------------------------------------------
   Mobil & Tablet Duyarlılığı (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ledger-columns {
    grid-template-columns: 1fr;
  }

  .ledger-col-malik {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .app-banner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .hero-section {
    padding: 48px 0 56px 0;
  }

  .section-overview,
  .section-app,
  .section-contact {
    padding: 56px 0;
  }

  .ledger-col {
    padding: 24px 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
