/* ══════════════════════════════════════════════════════════
   HAKKIMIZDA (ABOUT) PAGE
══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Great+Vibes&display=swap');

:root {
  --gold: #d4b37a;
  --gold-light: #e6d3a8;
  --cream: #f5f0e8;
  --warm-black: #111111;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.ab-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.ab-h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  color: var(--warm-black);
  margin: 0 0 28px;
  font-weight: 500;
}

.ab-h2 em,
.ab-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.ab-h2-light { color: var(--cream); }

.ab-p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.9;
  color: rgba(13, 13, 11, 0.7);
  margin: 0 0 20px;
}

.ab-p strong { font-weight: 700; color: var(--warm-black); }

/* ── Generic reveal animations ───────────────── */
.ab-fade {
  opacity: 0;
  transform: translateY(24px);
  animation: abFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes abFadeUp {
  to { opacity: 1; transform: none; }
}

.ab-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.ab-reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* Line-mask heading reveal */
.ab-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.ab-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-line:nth-child(1) > span { transition-delay: 0s; }
.ab-line:nth-child(2) > span { transition-delay: 0.15s; }
.ab-line:nth-child(3) > span { transition-delay: 0.3s; }
.ab-line:nth-child(4) > span { transition-delay: 0.45s; }
.ab-lines.is-in .ab-line > span { transform: none; }

/* Image safe fade reveal */
.ab-reveal-img {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.ab-reveal-img img {
  transform: scale(1.1);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.ab-reveal-img.is-in {
  opacity: 1;
  transform: translateY(0);
}
.ab-reveal-img.is-in img {
  transform: scale(1);
}


/* ══════════ HERO ══════════ */
.ab-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px 6%;
}

.ab-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.ab-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  animation: appleBgReveal 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleBgReveal {
  0% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.8) 60%, var(--warm-black) 100%);
  z-index: 2;
  opacity: 0;
  animation: heroOverlayReveal 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroOverlayReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.ab-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-hero .ab-eyebrow {
  margin-bottom: 30px;
}

.ab-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(50px, 8vw, 100px);
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 30px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.anim-title {
  opacity: 0;
  animation: appleTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.anim-cinematic {
  opacity: 0;
  animation: appleTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0.4s);
}

@keyframes appleTextReveal {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ab-hero-lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.85);
  max-width: 650px;
  margin: 0 0 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ab-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 34px;
  border: 1px solid rgba(212, 179, 122, 0.5);
  border-radius: 100px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.ab-hero-cta span { transition: transform 0.4s ease; }

.ab-hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--warm-black);
}

.ab-hero-cta:hover span { transform: translateY(4px); }


/* ══════════ MANIFESTO ══════════ */
.ab-manifesto {
  position: relative;
  z-index: 10;
  background: var(--warm-black); /* Same as Özel Ürünler */
  padding: clamp(100px, 15vh, 180px) 6% clamp(140px, 18vh, 200px);
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  margin-bottom: -80px;
}

.ab-manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ab-manifesto-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 40px;
}

.ab-manifesto-statement {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.4;
  color: var(--cream);
  font-weight: 400;
  margin: 0 0 40px;
}

/* 3D Cinematic Premium Reveal */
.ab-manifesto-3d {
  perspective: 1200px;
}

.ab-manifesto-3d .ab-m-line {
  display: block;
  opacity: 0;
  transform: rotateX(-35deg) translateY(60px);
  transform-origin: center top;
  filter: blur(12px);
  color: rgba(212, 179, 122, 0.1);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1.6s ease,
              filter 1.6s ease,
              color 2.5s ease-out;
  transition-delay: calc(var(--i) * 0.12s);
}

.ab-manifesto-3d.is-in .ab-m-line {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
  filter: blur(0);
  color: var(--gold);
}

.ab-manifesto-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.8);
  margin: 0;
}

/* ══════════ STORY ══════════ */
.ab-story {
  position: relative;
  z-index: 5;
  background: var(--cream);
  padding: clamp(140px, 18vh, 220px) 6% clamp(60px, 8vh, 100px);
}

.ab-story-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
}

.ab-story-media {
  position: relative;
  padding-bottom: 14%;
}

.ab-img {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(13, 13, 11, 0.12);
}

.ab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-img-main {
  width: 82%;
  aspect-ratio: 4 / 3.4;
}

.ab-img-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--cream);
}

.ab-badge {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--warm-black);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.ab-badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 179, 122, 0.55);
  animation: abSpin 18s linear infinite;
}

.ab-badge-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
}

.ab-badge-txt {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
}

.ab-hologram-wrap {
  margin-top: 50px;
  display: inline-block;
  perspective: 800px;
}

.ab-hologram-logo {
  width: clamp(300px, 28vw, 450px);
  height: auto;
  opacity: 0.12;
  filter: drop-shadow(0 0 15px rgba(212, 179, 122, 0.4));
  animation: premiumHologramFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes premiumHologramFloat {
  0%, 100% { transform: translateY(0) rotateY(-5deg); opacity: 0.15; filter: drop-shadow(0 0 15px rgba(212, 179, 122, 0.4)); }
  50% { transform: translateY(-10px) rotateY(5deg); opacity: 0.3; filter: drop-shadow(0 0 25px rgba(212, 179, 122, 0.6)); }
}

/* ══════════ STATS ══════════ */
.ab-stats {
  background: var(--warm-black);
  padding: clamp(70px, 10vh, 110px) 6%;
  position: relative;
  overflow: hidden;
}

.ab-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 179, 122, 0.08), transparent 60%);
  pointer-events: none;
}

.ab-stats-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ab-stat {
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid rgba(245, 240, 232, 0.1);
}

.ab-stat:first-child { border-left: none; }

.ab-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.ab-stat-lbl {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}

/* ══════════ VALUES ══════════ */
.ab-values {
  background: var(--cream);
  padding: clamp(60px, 10vh, 140px) 6% clamp(100px, 14vh, 160px);
}

.ab-values-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: clamp(40px, 8vw, 120px);
  align-items: flex-start;
}

.ab-values-head {
  flex: 0 0 35%;
  position: sticky;
  top: 120px;
}

.ab-values-head .ab-h2 {
  margin-bottom: 0;
}

.ab-values-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ab-value-row {
  display: flex;
  gap: 30px;
  padding: 50px 0;
  border-top: 1px solid rgba(13, 13, 11, 0.15);
  transition: border-color 0.4s ease;
}

.ab-value-row:last-child {
  border-bottom: 1px solid rgba(13, 13, 11, 0.15);
}

.ab-value-row:hover {
  border-color: rgba(212, 179, 122, 0.5);
}

.ab-value-index {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  padding-top: 8px;
}

.ab-value-content h3 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--warm-black);
  font-weight: 500;
  margin: 0 0 20px;
}

.ab-value-content p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(13, 13, 11, 0.65);
  margin: 0;
  max-width: 500px;
}

/* ══════════ TIMELINE ══════════ */
.ab-timeline {
  background: var(--cream);
  padding: clamp(40px, 6vh, 80px) 6% clamp(80px, 12vh, 140px);
}

.ab-timeline-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.ab-timeline-head {
  text-align: center;
  margin-bottom: clamp(60px, 8vh, 100px);
}

.ab-tl {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ab-tl::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(13, 13, 11, 0.1);
}

.ab-tl-progress {
  position: absolute;
  top: 18px;
  left: 0;
  height: 1px;
  background: var(--gold);
  width: 100%;
  transform: scaleX(var(--tl, 0));
  transform-origin: left;
  transition: transform 0.1s linear;
  z-index: 2;
}

.ab-tl-item {
  position: relative;
  padding-top: 50px;
}

.ab-tl-item::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  z-index: 3;
  transition: background 0.4s ease;
}

.ab-tl-item:hover::before {
  background: var(--gold);
}

.ab-tl-year {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.ab-tl-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--warm-black);
  margin: 0 0 10px;
  font-weight: 500;
}

.ab-tl-body p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(13, 13, 11, 0.7);
  margin: 0;
}

/* WP Banner Custom Spacing */
.pd-wp-banner.ab-wp {
  background-color: var(--cream);
  padding: 0 6% 120px;
}

@media (max-width: 992px) {
  .ab-story-inner { grid-template-columns: 1fr; }
  .ab-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .ab-stat { border-left: none; }
  .ab-values-inner { flex-direction: column; }
  .ab-values-head { position: static; margin-bottom: 40px; }
  .ab-value-row { padding: 40px 0; }
  .ab-tl { grid-template-columns: 1fr; padding-left: 20px; }
  .ab-tl::before, .ab-tl-progress { left: 24px; top: 0; width: 1px; height: 100%; }
  .ab-tl-progress { transform: scaleY(var(--tl, 0)); transform-origin: top; }
  .ab-tl-item { padding-top: 0; padding-bottom: 40px; }
  .ab-tl-item::before { top: 12px; left: -24px; }
}

@media (max-width: 768px) {
  .ab-stats-inner { grid-template-columns: 1fr; }
}

/* Admin-managed manifesto emphasis */
.ab-m-line em { color: var(--cream); }
