/* ═══════════════════════════════════════════════════════════════
   Atalay Finansal Hizmetler A.Ş. – Ana Stil Dosyası
   Premium Kurumsal Tanıtım Sitesi
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ───────────────── */
:root {
  /* Marka Renkleri */
  --clr-navy:        #06102A;
  --clr-navy-mid:    #0B1F3B;
  --clr-navy-light:  #132d54;
  --clr-gold:        #C8A24D;
  --clr-gold-light:  #d4b56a;
  --clr-gold-dark:   #a88636;
  --clr-bg:          #F6F8FB;
  --clr-white:       #FFFFFF;
  --clr-text:        #1A1A2E;
  --clr-text-muted:  #5A6175;
  --clr-border:      #E2E6ED;

  /* Tipografi */
  --ff-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.75rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  /* Border Radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.875rem;
  --radius-lg:  1.25rem;
  --radius-xl:  1.75rem;
  --radius-pill: 50rem;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(6,16,42,0.06);
  --shadow-md:   0 4px 16px rgba(6,16,42,0.08);
  --shadow-lg:   0 8px 32px rgba(6,16,42,0.10);
  --shadow-xl:   0 16px 48px rgba(6,16,42,0.12);
  --shadow-gold: 0 4px 20px rgba(200,162,77,0.15);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:    150ms;
  --dur-normal:  250ms;
  --dur-slow:    400ms;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6; /* İdeal mobil ve masaüstü okunabilirliği için güncellendi */
  /* overflow-x: hidden iptal edildi; taşmalar kökten container mimarisiyle çözülüyor */
}

::selection {
  background: var(--clr-gold);
  color: var(--clr-navy);
}

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

/* ── Tipografi (Responsive Clamping) ─────────────────────── */
h1, .h1, .af-hero__title, .af-page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2, .h2, .af-section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3, .h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
}

h4, .h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  line-height: 1.6;
}

a {
  color: var(--clr-gold-dark);
  text-decoration: none;
  transition: color var(--dur-normal) var(--ease-smooth);
}

a:hover {
  color: var(--clr-gold);
}

/* ── Focus Ring (Erişilebilirlik) ────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.gold-accent {
  color: var(--clr-gold);
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  border: none;
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.gold-line-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Section Spacing ─────────────────────────────────────── */
.af-section {
  padding: var(--space-3xl) 0;
}

.af-section--navy {
  background: var(--clr-navy);
  color: var(--clr-white);
}

.af-section--navy .section-title,
.af-section--navy h1, .af-section--navy h2,
.af-section--navy h3, .af-section--navy h4 {
  color: var(--clr-white);
}

.af-section--navy .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.af-section--light {
  background: var(--clr-white);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.af-navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0;
  height: 80px;
  transition: background var(--dur-normal) var(--ease-smooth),
              backdrop-filter var(--dur-normal) var(--ease-smooth),
              border-color var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
  z-index: 1050;
}

.af-navbar > .container-xl {
  height: 80px;
}

.af-navbar.scrolled {
  background: rgba(6,16,42,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,162,77,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.af-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.af-navbar .navbar-brand img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 10;
}

.af-navbar .brand-text {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.af-navbar .brand-text small {
  font-size: 0.65rem;
  color: var(--clr-gold);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.af-navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.88rem;
  font-weight: var(--fw-medium);
  padding: 0.5rem 0.9rem !important;
  line-height: 1;
  position: relative;
  transition: color var(--dur-normal) var(--ease-smooth);
}

.af-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--dur-normal) var(--ease-smooth),
              left var(--dur-normal) var(--ease-smooth);
}

.af-navbar .nav-link:hover,
.af-navbar .nav-link.active {
  color: var(--clr-white) !important;
}

.af-navbar .nav-link:hover::after,
.af-navbar .nav-link.active::after {
  width: 60%;
  left: 20%;
}

.af-navbar .navbar-toggler {
  border: 1px solid rgba(200,162,77,0.3);
  padding: 0.35rem 0.6rem;
}

.af-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(200,162,77,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offcanvas Menü */
.offcanvas:not(.show) {
  display: none !important;
}
.af-offcanvas {
  background: var(--clr-navy) !important;
  max-width: 300px;
}

.af-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(200,162,77,0.12);
}

.af-offcanvas .btn-close {
  filter: brightness(0) invert(1);
}

.af-offcanvas .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1rem;
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.af-offcanvas .nav-link:hover,
.af-offcanvas .nav-link.active {
  color: var(--clr-gold) !important;
  background: rgba(200,162,77,0.05);
}

/* ── CTA Button ──────────────────────────────────────────── */
.btn-af-gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-navy);
  font-weight: var(--fw-semibold);
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.btn-af-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.btn-af-gold:hover {
  color: var(--clr-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-af-gold:hover::before {
  left: 100%;
}

.btn-af-navy {
  background: transparent;
  color: var(--clr-navy);
  font-weight: var(--fw-semibold);
  font-size: 0.88rem;
  padding: 0.58rem 1.4rem;
  border: 2px solid var(--clr-navy);
  border-radius: var(--radius-pill);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.btn-af-navy:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-1px);
}

.btn-af-navy-light {
  background: transparent;
  color: var(--clr-white);
  font-weight: var(--fw-semibold);
  font-size: 0.88rem;
  padding: 0.58rem 1.4rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.btn-af-navy-light:hover {
  background: rgba(255,255,255,0.1);
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.5);
}

/* ── Link Underline Animation ────────────────────────────── */
.af-link {
  position: relative;
  display: inline-block;
  color: var(--clr-gold-dark);
  font-weight: var(--fw-medium);
}

.af-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--dur-normal) var(--ease-smooth);
}

.af-link:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.af-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-navy);
}

.af-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1; /* Arka plan sağ panele taşındığı için tam opak */
  z-index: 1;
}

.af-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    170deg,
    rgba(6,16,42,0.6) 0%,
    rgba(11,31,59,0.2) 50%,
    rgba(6,16,42,0.6) 100%
  );
  z-index: 2;
}

.af-hero__content {
  position: relative;
  z-index: 3;
  padding: 12.5rem 0 4.5rem; /* ~200px 0 72px */
}

/* İçerik metni özgürce genişleyecek */

.af-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,162,77,0.1);
  border: 1px solid rgba(200,162,77,0.2);
  color: var(--clr-gold);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.125rem; /* 18px */
}

.af-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  line-height: 1.12; /* 1.05 - 1.15 arasi */
  margin-bottom: 1.25rem; /* 20px */
}

.af-hero__title .gold-word {
  color: var(--clr-gold);
}

.af-hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem); /* 16px - 18px */
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: none;
  margin-bottom: 1.5rem; /* 24px */
}

.af-hero__actions {
  display: flex;
  gap: 0.875rem; /* 14px */
  flex-wrap: wrap;
}

/* Hero Stats */
.af-hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem; /* 56px */
  padding-top: 2rem; /* 32px */
  border-top: 1px solid rgba(255,255,255,0.15); /* Daha net divider */
}

.af-hero__stat {
  text-align: center;
}

.af-hero__stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.af-hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (İç Sayfalar)
   ═══════════════════════════════════════════════════════════════ */
.af-page-hero {
  background: var(--clr-navy);
  padding: 14rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.af-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200,162,77,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.af-page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-white);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.af-page-hero__breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}

.af-page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.af-page-hero__breadcrumb a:hover {
  color: var(--clr-gold);
}

.af-page-hero__breadcrumb span {
  color: var(--clr-gold);
}

.af-page-hero__breadcrumb .sep {
  color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID (SERVICES)
   ═══════════════════════════════════════════════════════════════ */
.af-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .af-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .af-bento-item--wide {
    grid-column: 1 / -1; /* Tüm satırı kaplar */
  }
  .af-bento-item--large {
    grid-column: 1 / -1; /* Büyük kart da tüm satırı kaplar */
  }
}

/* ── Bento Items (Cards) ── */
.af-bento-item {
  background: var(--clr-white);
  border: 1px solid rgba(200, 162, 77, 0.15);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-normal), box-shadow var(--dur-normal), border-color var(--dur-normal);
  box-shadow: 0 10px 30px rgba(6, 16, 42, 0.04);
}

.af-bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(6, 16, 42, 0.08);
  border-color: rgba(200, 162, 77, 0.5);
}

.af-bento-item--dark {
  background: var(--clr-navy) !important;
  color: var(--clr-white) !important;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ── Bento Inner Anatomy ── */
.af-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(200, 162, 77, 0.1);
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.af-bento-item--dark .af-bento-icon {
  background: rgba(255,255,255,0.05) !important;
}

.af-bento-title {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: 0.5rem;
}

.af-bento-item--dark .af-bento-title {
  color: var(--clr-white) !important;
}

.af-bento-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--clr-text-muted);
  flex: 1; /* Kalan alanı text'e ver, link'i alta it */
}

.af-bento-item--dark .af-bento-text {
  color: rgba(255, 255, 255, 0.7) !important;
}

.af-bento-link {
  margin-top: 1rem;
  font-weight: var(--fw-semibold);
  font-size: 0.9rem;
  width: max-content;
  color: var(--clr-gold-dark);
  display: flex;
  align-items: center;
  transition: opacity var(--dur-normal);
}

.af-bento-link:hover {
  opacity: 0.8;
  color: var(--clr-gold-dark);
}

.af-bento-item--dark .af-bento-link {
  color: var(--clr-gold-light) !important;
}

/* ═══════════════════════════════════════════════════════════════
   HIZMETLER – TAB NAVIGATOR
   ═══════════════════════════════════════════════════════════════ */
.af-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.af-tabs__item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-smooth);
  position: relative;
}

.af-tabs__item:hover {
  color: var(--clr-navy);
  background: rgba(200,162,77,0.04);
}

.af-tabs__item.active {
  color: var(--clr-navy);
  font-weight: var(--fw-semibold);
  border-left-color: var(--clr-gold);
  background: rgba(200,162,77,0.06);
}

.af-tabs__item i {
  margin-right: 0.6rem;
  font-size: 1.1rem;
  color: var(--clr-gold);
  opacity: 0.5;
  transition: opacity var(--dur-normal);
}

.af-tabs__item.active i,
.af-tabs__item:hover i {
  opacity: 1;
}

.af-tab-panel {
  display: none;
  animation: tabFadeIn 0.35s var(--ease-smooth);
}

.af-tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.af-tab-panel__header {
  margin-bottom: var(--space-xl);
}

.af-tab-panel__title {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--space-sm);
}

.af-deliverable {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--clr-border);
}

.af-deliverable:last-child {
  border-bottom: none;
}

.af-deliverable__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,162,77,0.08);
  border-radius: var(--radius-sm);
  color: var(--clr-gold);
  font-size: 1rem;
}

.af-deliverable__text {
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.6;
}

.af-deliverable__text strong {
  color: var(--clr-navy);
}

/* ═══════════════════════════════════════════════════════════════
   PROJELER – TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.af-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.af-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--clr-gold), rgba(200,162,77,0.15));
  border-radius: 1px;
}

.af-timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
  transition: opacity var(--dur-normal) var(--ease-smooth);
}

.af-timeline__item:last-child {
  padding-bottom: 0;
}

.af-timeline__dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--clr-gold);
  border: 3px solid var(--clr-bg);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(200,162,77,0.15);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.af-timeline__item:hover .af-timeline__dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(200,162,77,0.2);
}

.af-timeline__card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              border-color var(--dur-normal) var(--ease-smooth);
}

.af-timeline__item:hover .af-timeline__card {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,162,77,0.2);
}

.af-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}

.af-timeline__badge {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.af-timeline__badge--type {
  background: rgba(200,162,77,0.1);
  color: var(--clr-gold-dark);
}

.af-timeline__badge--status {
  background: rgba(6,16,42,0.06);
  color: var(--clr-navy);
}

.af-timeline__badge--active {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
}

.af-timeline__title {
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  margin-bottom: 0.3rem;
}

.af-timeline__amount {
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  color: var(--clr-gold);
}

.af-timeline__sector {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

/* Timeline Filter Pills */
.af-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.af-filter-pill {
  background: transparent;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.af-filter-pill:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold-dark);
}

.af-filter-pill.active {
  background: var(--clr-navy);
  border-color: var(--clr-navy);
  color: var(--clr-white);
}

/* Hidden state for filtered items */
.af-timeline__item.hidden {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   YÖNETİM – TEAM
   ═══════════════════════════════════════════════════════════════ */
.af-team-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.af-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.af-team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--clr-gold);
  font-size: 2rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
}

.af-team-card__name {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: 0.2rem;
}

.af-team-card__role {
  font-size: 0.85rem;
  color: var(--clr-gold);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.af-team-card__bio {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.af-team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.af-team-card__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.af-team-card__contact i {
  color: var(--clr-gold);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.af-team-card__contact a {
  color: var(--clr-text-muted);
}

.af-team-card__contact a:hover {
  color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   İLETİŞİM FORMU
   ═══════════════════════════════════════════════════════════════ */
.af-form .form-label {
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  margin-bottom: 0.35rem;
}

.af-form .form-control,
.af-form .form-select {
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--clr-text);
  transition: border-color var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.af-form .form-control:focus,
.af-form .form-select:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(200,162,77,0.1);
}

.af-form .form-check-input:checked {
  background-color: var(--clr-gold);
  border-color: var(--clr-gold);
}

.af-form .form-check-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* İletişim Bilgileri Kartı */
.af-contact-info {
  background: var(--clr-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--clr-white);
  height: 100%;
}

.af-contact-info__title {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  margin-bottom: var(--space-xl);
}

.af-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.af-contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,162,77,0.1);
  border-radius: var(--radius-sm);
  color: var(--clr-gold);
  font-size: 1rem;
}

.af-contact-info__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.af-contact-info__text a {
  color: rgba(255,255,255,0.9);
}

.af-contact-info__text a:hover {
  color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.af-footer {
  background: var(--clr-white);
  color: var(--clr-text);
  padding: var(--space-3xl) 0 0;
  border-top: 1px solid var(--clr-border);
}

.af-footer__logo {
  width: 200px;
  height: auto;
  max-width: 100%;
  margin-top: -8px; /* Optik başlık hizalaması (aşağı kaymayı engeller) */
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.af-footer__desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.af-footer__title {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: 0.65rem;
}

.af-footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 1px;
  background: var(--clr-gold);
}

.af-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.af-footer__links li {
  margin-bottom: 0.6rem;
}

.af-footer__links a {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: color var(--dur-normal);
  position: relative;
  display: inline-block;
}

.af-footer__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--dur-normal) var(--ease-smooth);
}

.af-footer__links a:hover {
  color: var(--clr-gold);
}

.af-footer__links a:hover::after {
  width: 100%;
}

.af-footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding: var(--space-lg) 0;
  margin-top: var(--space-2xl);
}

.af-footer__disclaimer {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.af-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.af-footer__legal-links a {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.af-footer__legal-links a:hover {
  color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   METRIC COUNTERS (Anasayfa + Hakkımızda)
   ═══════════════════════════════════════════════════════════════ */
.af-metric {
  text-align: center;
  padding: var(--space-xl);
}

.af-metric__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--clr-gold);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.af-metric__label {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.af-section--navy .af-metric__label {
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (KVKK, Gizlilik, Kullanım Koşulları)
   ═══════════════════════════════════════════════════════════════ */
.af-legal {
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.8;
}

.af-legal h2 {
  font-size: 1.3rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.af-legal h3 {
  font-size: 1.1rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.af-legal p {
  margin-bottom: var(--space-md);
}

.af-legal ul {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
}

.af-legal ul li {
  margin-bottom: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (IntersectionObserver)
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease-smooth),
              transform 0.45s var(--ease-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* prefers-reduced-motion: animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .af-hero__canvas {
    display: none;
  }

  .btn-af-gold::before {
    display: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ALERT (Form Feedback)
   ═══════════════════════════════════════════════════════════════ */
.af-alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.af-alert--success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #16a34a;
}

.af-alert--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: #dc2626;
}

/* ═══════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════ */
.af-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.af-404__code {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  line-height: 1;
  opacity: 0.08;
  margin-bottom: -1.5rem;
}

.af-404__title {
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--space-md);
}

.af-404__desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .af-hero__content {
    padding: 7rem 0 3.5rem;
  }

  .af-hero__title {
    font-size: 2.2rem;
  }

  .af-hero__stats {
    gap: var(--space-lg);
  }

  .af-section {
    padding: var(--space-2xl) 0;
  }

  .af-team-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 767.98px) {
  /* ── Genel Spacing ── */
  .af-section {
    padding: 3rem 0;
  }

  /* ── Hero ── */
  .af-hero {
    min-height: auto;
  }

  .af-hero__content {
    padding: 10.5rem 0 3.5rem; /* ~168px 0 56px */
  }

  .af-navbar .navbar-brand img {
    width: 170px;
  }

  .af-hero__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem; /* 16px */
  }

  .af-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem); /* fs-2 seviyesi */
    line-height: 1.15;
    margin-bottom: 1rem; /* 16px */
  }

  .af-hero__desc {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    margin-bottom: 1.5rem; /* 24px */
  }

  .af-hero__actions {
    flex-direction: column;
    gap: 0.875rem !important; /* 14px */
  }

  .af-hero__actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  .af-hero__stats {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem; /* 48px */
    padding-top: 2rem; /* 32px */
    align-items: flex-start;
  }

  .af-hero__stat {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }

  .af-hero__stat-num {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .af-hero__stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* ── Section Titles ── */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* ── Cards ── */
  .af-card {
    padding: 1.5rem;
  }

  .af-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .af-card__title {
    font-size: 1.05rem;
  }

  /* ── Metrikler ── */
  .af-metric {
    padding: 1.25rem 0.75rem;
  }

  .af-metric__number {
    font-size: 1.75rem;
  }

  .af-metric__label {
    font-size: 0.72rem;
  }

  /* ── Page Hero ── */
  .af-page-hero {
    padding: 7rem 0 2rem;
  }

  .af-page-hero__title {
    font-size: 1.75rem;
  }

  /* ── Timeline ── */
  .af-timeline {
    padding-left: 2rem;
  }

  .af-timeline__dot {
    left: -2rem;
  }

  .af-timeline__card {
    padding: 1.25rem;
  }

  .af-timeline__amount {
    font-size: 1.1rem;
  }

  /* ── Tab Navigator ── */
  .af-tabs__item {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .af-tab-panel__title {
    font-size: 1.2rem;
  }

  /* ── Team Cards ── */
  .af-team-card {
    padding: 1.75rem;
  }

  .af-team-card__avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .af-team-card__name {
    font-size: 1.1rem;
  }

  .af-team-card__bio {
    font-size: 0.85rem;
  }

  /* ── İletişim ── */
  .af-contact-info {
    padding: 1.75rem;
    margin-bottom: 1.5rem;
  }

  /* ── Footer ── */
  .af-footer {
    padding-top: 3rem;
  }

  .af-footer__legal-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .af-hero__title {
    font-size: 1.6rem;
  }

  .af-hero__stats {
    gap: 0;
  }

  .af-hero__stat-num {
    font-size: 1.35rem;
  }

  .af-hero__stat-label {
    font-size: 0.6rem;
  }

  .af-filter-pills {
    gap: 0.35rem;
  }

  .af-filter-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .af-metric__number {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   YENİ DİNAMİK & SİMETRİK LAYOUT BİLEŞENLERİ (MULTIPLE-LAYOUT)
   ═══════════════════════════════════════════════════════════════ */

/* ── 50/50 Split Hero (Anasayfa) ── */
.af-hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-navy);
  overflow: hidden;
}

.af-hero-split__bg-right {
  display: none;
}

@media (min-width: 992px) {
  .af-hero-split__bg-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,31,59,1) 0%, rgba(6,16,42,1) 100%);
    z-index: 1;
  }
}


/* ── Bento Grid (Anasayfa / İstatistikler) ── */
.af-bento-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .af-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .af-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .af-bento-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .af-bento-item--wide {
    grid-column: span 2;
  }
  .af-bento-item--tall {
    grid-row: span 2;
  }
}

.af-bento-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal);
}

.af-bento-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,162,77,0.3);
}

/* ── Editorial Sticky Scroll (Hakkımızda sayfası) ── */

@media (min-width: 992px) {
  .af-editorial-sticky__side {
    /* position: sticky iptal edildi. Kullanıcı sabit/statik durmasını istedi */
    align-self: flex-start;
  }
}

/* ── Hover-Reveal List (Accordion tarzı - Hizmetler) ── */
.af-reveal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.af-reveal-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.af-reveal-item__header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--clr-white);
}

.af-reveal-item__header-title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color var(--dur-normal);
}

.af-reveal-item:hover .af-reveal-item__header-title {
  color: var(--clr-gold);
}

.af-reveal-item__toggle {
  font-size: 1.5rem;
  color: var(--clr-gold);
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.af-reveal-item.active .af-reveal-item__toggle {
  transform: rotate(45deg);
}

.af-reveal-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-smooth), padding var(--dur-slow);
  background: rgba(200,162,77,0.02);
}

.af-reveal-item.active .af-reveal-item__body {
  max-height: 1000px; /* Yaklaşık bir maksimum değer */
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(200,162,77,0.1);
}

/* Diagonal Separator */
.af-diagonal-cut {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
  margin-top: -4vw;
  padding-top: calc(4vw + var(--space-3xl));
}

@media (max-width: 768px) {
  .af-diagonal-cut {
    clip-path: polygon(0 0, 100% 6vw, 100% 100%, 0 100%);
    margin-top: -6vw;
    padding-top: calc(6vw + var(--space-3xl));
  }
}

/* ═══════════════════════════════════════════════════════════════
   İLETİŞİM SAYFASI - BENTO (LIGHT) & FORM
   ═══════════════════════════════════════════════════════════════ */
.af-contact-bento {
  background: var(--clr-white);
  border: 1px solid rgba(200, 162, 77, 0.2);
  border-radius: 1.25rem;
  padding: 3rem 1.5rem;
  text-align: center;
  transition: all var(--dur-normal) var(--ease-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(6, 16, 42, 0.05);
}

.af-contact-bento:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(6, 16, 42, 0.1);
}

.af-contact-bento i {
  font-size: 2.2rem;
  color: var(--clr-gold);
  margin-bottom: 1.2rem;
  transition: transform var(--dur-normal);
}

.af-contact-bento:hover i {
  transform: scale(1.1);
}

.af-contact-bento .bento-title {
  font-size: 0.85rem;
  color: var(--clr-navy);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.af-contact-bento p, 
.af-contact-bento a {
  font-size: 0.95rem;
  color: var(--clr-text);
  text-decoration: none;
  line-height: 1.6;
  transition: color var(--dur-normal);
}

.af-contact-bento a:hover {
  color: var(--clr-gold);
}

/* Dark Mode Form */
.af-form--dark .form-label {
  color: var(--clr-white);
  font-weight: var(--fw-semibold);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.af-form--dark .form-control {
  background: rgba(255, 255, 255, 0.05); /* Form inputları içi transparan beyaz */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--clr-white);
  box-shadow: none;
  transition: all var(--dur-normal);
}

.af-form--dark .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.af-form--dark .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 77, 0.2);
}

.af-form--dark .form-check-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .w-md-auto { width: auto !important; }
}

@media (min-width: 992px) {
  .w-lg-auto { width: auto !important; }
}

/* ── Navbar Logo Responsive ──────────────────────────────── */
@media (max-width: 991.98px) {
  .af-navbar .navbar-brand img {
    height: 52px;
  }
}

@media (max-width: 575.98px) {
  .af-navbar .navbar-brand img {
    height: 44px;
  }
}
