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

/* ── Font Metric Fallbacks (CLS Prevention) ──────────────── */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Playfair Display Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 112%;
  ascent-override: 84%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ── CSS Custom Properties (Design Tokens) ───────────────── */
:root {
  /* Marka Renkleri */
  --clr-navy:        #001636;
  --clr-navy-mid:    #001230;
  --clr-navy-light:  #002050;
  --clr-gold:        #C8A24D;
  --clr-gold-light:  #d4b56a;
  --clr-gold-dark:   #a88636;
  --clr-bg:          #FAF9F6;
  --clr-white:       #FAF9F6;
  --clr-text:        #001636;
  --clr-text-muted:  #5A6175;
  --clr-border:      #E2E6ED;

  /* Tipografi – includes metric-adjusted fallback families */
  --ff-primary: 'Aptos', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-heading: Georgia, 'Playfair Display Fallback', 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;
  /* Smooth body reveal – synced with body-ready JS */
  transition: opacity 0.25s ease-in;
}

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

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

/* Explicit image dimensions for CLS prevention
   Modern browsers auto-calculate aspect-ratio from HTML width/height attributes.
   No additional CSS needed – the global height:auto rule above is sufficient. */

/* ── 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-family: var(--ff-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-navy);
  line-height: 1.2;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  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 var(--clr-gold, #C8A24D);
  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;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}

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

.af-navbar.scrolled {
  background: rgba(6,16,42,0.97);
  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;
  flex-shrink: 0;
}

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

/* ── McKinsey-Style Nav Layout ──────────────────────────── */
.af-mcknav {
  justify-content: center;
  padding: 0.25rem 0;
}

.af-mcknav__label {
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.af-mcknav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0 !important;
}

.af-navbar--mckinsey .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.85rem;
  font-weight: var(--fw-regular);
  padding: 0.3rem 0.85rem !important;
  line-height: 1;
  position: relative;
  transition: color var(--dur-normal) var(--ease-smooth);
}

/* Active link underline – thick bar like McKinsey */
.af-navbar--mckinsey .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.85rem;
  right: 0.85rem;
  height: 3px;
  background: var(--clr-gold); /* Atalay Gold */
  border-radius: 0;
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-smooth);
}

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

.af-navbar--mckinsey .nav-link.active::after {
  transform: scaleX(1);
}

.af-navbar--mckinsey .nav-link:hover::after {
  transform: scaleX(0.6);
}

.af-navbar--mckinsey .nav-link.active:hover::after {
  transform: scaleX(1);
}

/* Right-side subtle link */
.af-mcknav__right-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: var(--fw-regular);
  text-decoration: none;
  transition: color var(--dur-normal) var(--ease-smooth);
  white-space: nowrap;
}

.af-mcknav__right-link:hover {
  color: var(--clr-white);
}

.af-navbar .navbar-toggler {
  border: none;
  padding: 0.35rem 0.6rem;
  box-shadow: none;
}
.af-navbar .navbar-toggler:focus {
  outline: none;
}
.af-mcknav__burger {
  display: flex !important; /* Force show on desktop */
  align-items: center;
}

.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 Menü – hidden via Bootstrap JS, no display override needed */
.af-offcanvas {
  background: var(--clr-navy) !important;
  max-width: 300px;
  z-index: 1060 !important;
}

.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, .btn-af-navy, .btn-af-navy-light {
  background-color: #FAF9F6 !important;
  color: #0d6efd !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all var(--dur-normal) var(--ease-smooth);
}

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

.btn-af-gold:hover, .btn-af-navy:hover, .btn-af-navy-light:hover {
  background-color: #ffffff !important;
  color: #0b5ed7 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ── 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-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  line-height: 1.1; /* 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-family: var(--ff-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--clr-white);
  font-weight: 600;
  letter-spacing: -0.01em;
  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);
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (Gizlilik, Kullanım Koşulları, KVKK)
   ═══════════════════════════════════════════════════════════════ */
.af-card {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.af-legal h2 {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.af-legal h2:first-child { margin-top: 0; }
.af-legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.af-legal p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text, #333);
}
.af-legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.af-legal ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text, #333);
}
.af-legal a {
  color: var(--clr-gold);
  text-decoration: underline;
}
.af-legal a:hover {
  color: var(--clr-navy);
}
.gold-line {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), transparent);
  margin: 2rem 0 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   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(2, 1fr);
  }
}

@media (min-width: 992px) {
  .af-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
  }
  
  .af-bento-span-2c {
    grid-column: span 2;
  }
  
  .af-bento-span-2r {
    grid-row: span 2;
  }
}

/* ── 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.65s var(--ease-smooth),
              transform 0.65s 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);
}

/* ── Premium Vision Overlay Layout (Hakkımızda sayfası) ── */
.af-vision-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.af-vision-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(6,16,42,0.1);
}

.af-vision-content {
  background: var(--clr-white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(6,16,42,0.08);
  position: relative;
  margin-top: -3rem;
  z-index: 2;
  border: 1px solid rgba(200,162,77,0.1);
}

@media (min-width: 992px) {
  .af-vision-wrapper {
    flex-direction: row;
    align-items: flex-end;
  }
  .af-vision-img {
    width: 65%;
  }
  .af-vision-content {
    width: 45%;
    margin-left: -10%;
    margin-top: 0;
    margin-bottom: -5rem;
    padding: 4rem;
  }
}

/* ── Horizontal Stat Bar (Hakkımızda sayfası) ── */
.af-stat-bar {
  background: linear-gradient(to right, var(--clr-navy), var(--clr-navy-dark));
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 25px 50px rgba(6,16,42,0.15);
  border: 1px solid rgba(200,162,77,0.2);
  margin-top: 6rem;
}

@media (min-width: 768px) {
  .af-stat-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.af-stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.af-stat-item:not(:last-child)::after {
  content: "";
  display: none;
}

@media (min-width: 992px) {
  .af-stat-item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    right: -2rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.1);
  }
  .af-stat-bar {
    gap: 0;
  }
  .af-stat-item {
    flex: 1;
    padding: 0 2rem;
  }
  .af-stat-item:first-child {
    padding-left: 0;
  }
  .af-stat-item:last-child {
    padding-right: 0;
  }
}

.af-stat-item__value {
  font-family: var(--ff-heading);
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  color: var(--clr-gold);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.af-stat-item__label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ── Aurelian-style Hero (Hakkımızda Sayfası) ── */
.af-hero-large {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: -100px; /* Header'ın arkasına geçmesi için (eğer fixed header varsa) */
  padding-top: 100px;
}

.af-hero-large__overlay {
  position: absolute;
  inset: 0;
  background: var(--clr-navy);
  opacity: 0.85;
  z-index: 1;
}

.af-hero-large__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.af-hero-large__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.af-hero-large__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Aurelian-style Value Cards ── */
.af-value-card {
  background: var(--clr-white);
  border-top: 3px solid var(--clr-gold);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal);
  height: 100%;
}

.af-value-card.bg-light-col {
  background: var(--clr-bg); /* #f8f9fc tarzı */
}

.af-value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.af-value-card__icon {
  font-size: 2.5rem;
  color: var(--clr-gold);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.af-value-card__title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 1rem;
}

/* ── Aurelian-style Team Grid ── */
.af-team-card {
  text-align: center;
}

.af-team-card__img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(6,16,42,0.05);
  background: var(--clr-bg);
  margin-bottom: 1.5rem;
  aspect-ratio: 3/4;
}

.af-team-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.af-team-card:hover .af-team-card__img-wrapper img {
  transform: scale(1.05);
}

.af-team-card__name {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 0.25rem;
}

.af-team-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
}

/* ── 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);
}

/* ── Aurelian-style Project Bento Cards ── */
.af-project-header {
  max-width: 800px;
  margin-bottom: 4rem;
}

.af-project-header__title {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.af-project-header__subtitle {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.af-project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6,16,42,0.1);
  background: var(--clr-navy);
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-normal) var(--ease-smooth);
}

.af-project-card:hover {
  box-shadow: var(--shadow-lg);
}

.af-project-card--large {
  flex-direction: column;
  min-height: 500px;
}

@media (min-width: 768px) {
  .af-project-card--large {
    flex-direction: row;
  }
}

.af-project-card--small {
  flex-direction: column;
  min-height: 400px;
}

/* Large Card Splitting */
.af-project-card__content-half {
  flex: 1;
  background: var(--clr-white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.af-project-card__image-half {
  flex: 1;
  position: relative;
  min-height: 250px;
  background: var(--clr-navy);
}

.af-project-card__image-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
  opacity: 0.8;
  mix-blend-mode: multiply; /* grayscale+multiply effect from template */
  filter: grayscale(100%);
}

.af-project-card:hover .af-project-card__image-half img {
  transform: scale(1.05);
  opacity: 1;
  mix-blend-mode: normal;
  filter: grayscale(0%);
}

@media (max-width: 767.98px) {
  .af-project-card__image-half {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .af-project-card__content-half {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
  }
}

/* Small Card Background */
.af-project-card__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--clr-navy);
}

.af-project-card__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(100%);
  transition: transform 0.8s var(--ease-smooth);
}

.af-project-card:hover .af-project-card__bg-image img {
  transform: scale(1.05);
}

.af-project-card__overlay-content {
  position: relative;
  z-index: 10;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: var(--clr-white);
}

/* Typography inside cards */
.af-project-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.af-project-card__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.af-project-card__title--dark {
  color: var(--clr-navy);
}

.af-project-card__title--light {
  color: var(--clr-white);
}

.af-project-card__amount {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-navy);
  margin-block: 1rem;
}

.af-project-card__amount--light {
  color: var(--clr-gold);
  margin-block: 0 0.5rem;
}

.af-project-card__desc {
  font-size: 1.05rem;
  color: var(--clr-text);
  margin-bottom: 2rem;
}

.af-project-card__desc--light {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

.af-project-card__btn {
  align-self: flex-start;
  border: 1px solid var(--clr-navy);
  color: var(--clr-navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  transition: all var(--dur-normal);
  background: transparent;
  cursor: pointer;
}

.af-project-card__btn:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
}

/* 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);
}

.af-contact-bento--dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.08);
}

.af-contact-bento--dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 162, 77, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.af-contact-bento--dark p, 
.af-contact-bento--dark a {
  color: rgba(255, 255, 255, 0.7);
}

.af-contact-bento--dark 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);
}

/* ── Premium Hero (Anasayfa) ── */
.af-hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-navy);
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.af-hero-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.af-hero-premium__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.af-hero-premium__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,16,42,0.95) 0%, rgba(6,16,42,0.6) 100%);
  z-index: 2;
}

.af-hero-premium__content {
  position: relative;
  z-index: 3;
}

.af-hero-premium__title {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.af-hero-premium__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Hero Vertical Glass Menu */
.af-hero-vmenu {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 17, 32, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 0.5rem;
  width: 8rem;
  z-index: 20;
}

.af-hero-vmenu__item {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.75rem;
  border: 1px solid transparent;
}

.af-hero-vmenu__item:hover,
.af-hero-vmenu__item.active {
  background: rgba(197, 160, 89, 0.1);
  border-color: rgba(197, 160, 89, 0.5);
  color: var(--clr-white);
}

.af-hero-vmenu__item i {
  font-size: 1.5rem;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.af-hero-vmenu__item span {
  font-weight: 500;
  display: block;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .af-hero-vmenu {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 3rem auto 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
  }
  .af-hero-vmenu__item {
    width: 45%;
    background: rgba(10, 17, 32, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.3);
  }
}

/* Service Card Template specific CSS */
.service-card-icon {
  filter: invert(72%) sepia(21%) saturate(632%) hue-rotate(3deg) brightness(92%) contrast(88%);
}
.pattern-overlay {
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Hero Sub-Nav Bar */
.af-hero-subnav {
  background: var(--clr-navy);
  border-top: 1px solid rgba(200, 162, 77, 0.3); /* Gold border top */
  border-bottom: 1px solid rgba(200, 162, 77, 0.3); /* Gold border bottom */
  padding: 0;
  position: relative;
  z-index: 5;
}

.af-hero-subnav__list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.af-hero-subnav__item {
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
}

.af-hero-subnav__item:hover,
.af-hero-subnav__item.active {
  color: var(--clr-gold);
  border-bottom-color: var(--clr-gold);
  background: rgba(200, 162, 77, 0.05);
}

@media (max-width: 768px) {
  .af-hero-subnav__item {
    padding: 1rem 1.5rem;
    flex: 1;
    text-align: center;
  }
}

/* Service Grid (White Section) */
.af-service-grid {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--clr-white);
}

.af-service-icon {
  font-size: 2.5rem;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.af-service-title {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clr-navy);
  margin-bottom: 0.5rem;
}

.af-service-desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Gold Ribbon Section */
.af-gold-ribbon {
  background: linear-gradient(135deg, #dac184 0%, #c19b52 100%);
  padding: 5rem 0;
  color: var(--clr-navy);
  text-align: center;
}

.af-gold-ribbon__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-navy);
}

.af-gold-ribbon__subtitle {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 4rem auto;
  font-weight: 500;
  color: rgba(6, 16, 42, 0.85); /* Dark Navy text with slight transparency */
}

.af-gold-ribbon__feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--clr-navy);
}

.af-gold-ribbon__feature-title {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--clr-navy);
}

.af-gold-ribbon__feature-desc {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(6, 16, 42, 0.75);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ── Global overflow protection ── */
/* NOTE: overflow-x:hidden on <html> breaks position:fixed on mobile WebKit,
   causing the fixed navbar to scroll away. Keep it on <body> only. */
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── Mobile base (≤480px) ── */
@media (max-width: 480px) {
  .af-section { padding: 2.5rem 0; }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); margin-bottom: 1rem; }
  .section-subtitle { font-size: 0.9rem; }
  .container-fluid { padding-left: 1rem !important; padding-right: 1rem !important; }
  .af-navbar .navbar-brand img { height: 60px; }
  .af-navbar, .af-navbar > .container-xl { height: 55px; min-height: 55px; }
  .af-offcanvas { max-width: 260px; }
  .af-offcanvas .nav-link { font-size: 0.9rem; padding: 0.6rem 0.85rem !important; }
  .gold-line { width: 40px; height: 2px; }
  .btn-af-gold, .btn-af-navy, .btn-af-navy-light { font-size: 0.85rem; padding: 0.5rem 1.1rem; }
}

/* ── Small mobile (≤575px) ── */
@media (max-width: 575.98px) {
  .af-navbar .navbar-brand img { height: 65px; }
  .af-navbar, .af-navbar > .container-xl { height: 60px; min-height: 60px; }
  .af-section { padding: 3rem 0; }
  h1, .h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  h2, .h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  h3, .h3 { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }
  p { font-size: 0.92rem; }
}

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  .af-navbar .navbar-brand img { height: 80px; }
  .af-navbar, .af-navbar > .container-xl { height: 70px; min-height: 70px; }
  .af-section { padding: 3.5rem 0; }
  .section-title { margin-bottom: 1.25rem; }
  .container-fluid { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}

/* ── Tablet landscape (≤991px) ── */
@media (max-width: 991.98px) {
  .af-navbar .navbar-brand img { height: 100px; }
  .af-navbar, .af-navbar > .container-xl { height: 80px; min-height: 80px; }
}

/* ── Desktop (≥992px) ── */
@media (min-width: 992px) {
  .w-lg-auto { width: auto !important; }
}

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