:root {
  --gold: #C9A84C;
  --gold-light: #E8CB7A;
  --gold-dim: rgba(201,168,76,0.15);
  --black: #0A0A08;
  --black-2: #111110;
  --black-3: #1A1A17;
  --cream: #F5F0E8;
  --cream-dim: rgba(245,240,232,0.72);
  --cream-muted: rgba(245,240,232,0.42);
  --border: rgba(201,168,76,0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black); color: var(--cream); font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden;
}

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

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

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold); border-radius: 3px;
}

/* ── Hero ── */
.page-hero {
  position: relative; height: 68vh; min-height: 480px; overflow: hidden; display: flex; align-items: flex-end;
}

.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,10,8,0.88) 0%, rgba(10,10,8,0.55) 55%, rgba(10,10,8,0.3) 100%), linear-gradient(to top, rgba(10,10,8,0.95) 0%, transparent 35%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem 4.5rem; width: 100%;
}

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.71rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-muted); margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--gold);
}

.hero-label {
  display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}

.hero-label::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; line-height: 1.05; color: var(--cream);
}

.hero-content h1 em {
  font-style: italic; color: var(--gold);
}

/* ── Stats Strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center; padding: 2.2rem 1rem; border-right: 1px solid var(--border); background: var(--black-2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); line-height: 1;
}

.stat-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-muted); margin-top: 0.4rem;
}

/* ── Section Wrapper ── */
.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.container {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
}

.section-label {
  display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}

.section-label::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.15; margin-bottom: 1rem;
}

.section-title em {
  font-style: italic; color: var(--gold);
}

.gold-line {
  width: 56px; height: 1px; background: var(--gold); margin-bottom: 2rem;
}

/* ── Story Section ── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.story-images {
  position: relative;
}

.story-img-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}

.story-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  width: 55%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 4px solid var(--black);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.story-year-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 1.3rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(201,168,76,0.3);
}

.story-year-badge strong {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; line-height: 1;
}

.story-year-badge small {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}

.story-text p {
  color: var(--cream-dim); font-size: 0.9rem; line-height: 1.9; margin-bottom: 1.6rem;
}

.story-text p:last-child {
  margin-bottom: 0;
}

/* ── Mission & Vision ── */
.mv-section {
  background: var(--black-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

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

.mv-card {
  padding: 3.5rem; border-right: 1px solid var(--border);
}

.mv-card:last-child {
  border-right: none;
}

.mv-icon {
  width: 48px; height: 48px; border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 1.5rem;
}

.mv-icon svg {
  width: 22px; height: 22px; color: var(--gold);
}

.mv-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 1rem;
}

.mv-card p {
  color: var(--cream-dim); font-size: 0.88rem; line-height: 1.85;
}

/* ── Values ── */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem;
}

.value-card {
  background: var(--black-2); border: 1px solid var(--border); padding: 2rem; transition: border-color 0.3s;
}

.value-card:hover {
  border-color: var(--gold);
}

.value-num {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}

.value-card h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--cream); margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.84rem; color: var(--cream-muted); line-height: 1.7;
}

/* ── Timeline ── */
.timeline {
  margin-top: 3.5rem; position: relative;
}

.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border);
}

.timeline-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding-bottom: 3rem; position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--gold); text-align: right; padding-right: 2rem; padding-top: 0.15rem;
}

.timeline-dot {
  position: absolute; left: -4px; top: 0.5rem; width: 9px; height: 9px; background: var(--gold); border-radius: 50%;
}

.timeline-body {
  padding-left: 0;
}

.timeline-body h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); margin-bottom: 0.45rem;
}

.timeline-body p {
  font-size: 0.84rem; color: var(--cream-muted); line-height: 1.65;
}

/* ── Team Section ── */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}

.team-card {
  position: relative; overflow: hidden;
}

.team-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.6s var(--ease-out);
}

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

.team-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,8,0.9) 0%, transparent 55%);
}

.team-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
}

.team-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--cream);
}

.team-role {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem;
}

/* ── Gallery Strip ── */
.gallery-strip {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 4px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.tall {
  grid-row: span 2;
}

/* ── CTA ── */
.cta-section {
  background: var(--black-3); border-top: 1px solid var(--border); text-align: center;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin-bottom: 0.8rem;
}

.cta-section p {
  color: var(--cream-dim); font-size: 0.9rem; max-width: 480px; margin: 0 auto 2.5rem;
}

.btn-group {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.4rem; font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; border: none; transition: background 0.3s, color 0.3s;
}

.btn-gold {
  background: var(--gold); color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent; color: var(--gold); border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-dim);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr; gap: 3rem;
  }

  .story-img-accent {
    right: 0;
  }

  .story-year-badge {
    left: 0;
  }

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

  .mv-card {
    border-right: none; border-bottom: 1px solid var(--border);
  }

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

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

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

  .gallery-strip {
    grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .container {
    padding: 0 1.2rem;
  }

  .hero-content {
    padding: 0 1.2rem 3rem;
  }
}

/* ═══════════════════════════════════════════════════ */
/*  PREMIUM LAYER — grain, reveal, shimmer             */
/* ═══════════════════════════════════════════════════ */
/* Grain dokusu */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-reveal sistemi */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-36px);
}

[data-reveal="right"] {
  transform: translateX(36px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].revealed {
  opacity: 1; transform: none; will-change: auto;
}

/* Timeline çizgi animasyonu */
.timeline::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease-out) 0.2s;
}

.timeline.revealed::before {
  transform: scaleY(1);
}

/* Galeri hover — altın tonlama */
.gallery-item {
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.12);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1; transform: none; transition: none;
  }

  .timeline::before {
    transform: scaleY(1); transition: none;
  }
}
