/* ============================================
   Av. Mert Anıl Güler — Custom Styles
   Tailwind ile birlikte kullanılır.
   ============================================ */

/* Fontlar index.html <link> ile yükleniyor — @import burada gereksiz */

/* ─── CSS Değişkenleri ─── */
:root {
  --midnight: #2E0A12;
  --sapphire: #4A0F1C;
  --navy:     #6B1A2C;
  --gold: #C5A880;
  --gold-dark: #A8875E;
  --cream: #F4EDE4;
  --muted: #EDE0D3;
  --text-primary: #2E0A12;
  --text-secondary: #7A5A5A;
  --border: rgba(197,168,128,0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Android tarayıcılar için yatay kaydırma engeli */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Açık bölümlere hafif sıcak doku */
.section-light {
  background: linear-gradient(180deg, #F4EDE4 0%, #EDE0D3 100%);
}

/* ─── Tipografi ─── */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-cormorant { font-family: 'Cormorant SC', serif; }
.font-playfair { font-family: 'Playfair Display', serif; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ─── Header ─── */
#navbar {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(46, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 32px rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(197,168,128,0.12);
}

.nav-link {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* ─── Desktop Nav — sağ taraf ─── */
.nav-phone {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--gold); }

.nav-cta-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--gold);
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* ─── Hero ─── */
#hero {
  background: linear-gradient(135deg, #1A0509 0%, #2E0A12 50%, #4A0F1C 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,168,128,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,168,128,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ─── Hero İki Sütun Grid ─── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
}

.hero-text-col { order: 1; }
.hero-photo-col { order: 2; display: flex; justify-content: center; }

/* ─── Hero Fotoğraf ─── */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 4px 4px 80px 4px;
  position: relative;
  z-index: 2;
}

/* Arka dekoratif çerçeve (offset) */
.hero-photo-frame-outer {
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border: 1px solid rgba(197,168,128,0.2);
  border-radius: 4px 4px 80px 4px;
  z-index: 1;
}

/* İç altın çizgi aksan */
.hero-photo-frame-inner {
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 4px 0 0 0;
  z-index: 3;
}

/* Alt bilgi şeridi */
.hero-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(46,10,18,0.92) 0%, transparent 100%);
  padding: 48px 20px 20px;
  border-radius: 0 0 80px 0;
  z-index: 3;
}

/* Sağ alt köşe altın aksan */
.hero-photo-corner {
  position: absolute;
  bottom: 20px; right: -4px;
  width: 40px; height: 40px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  z-index: 3;
}

/* ─── Hero İkincil Buton ─── */
/* ─── Ödeme Butonu ─── */
.payment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(197,168,128,0.3);
  border-radius: 100px;
  color: rgba(197,168,128,0.75);
  font-family: 'Cinzel', serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,168,128,0.07);
}

/* ─── Hero Buton Satırı ─── */
.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Her iki buton için ortak Cinzel font override */
.hero-btn-row .btn-primary.hero-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

/* Mobilde: alt alta, tam genişlik, ortalı */
@media (max-width: 1024px) {
  .hero-btn-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  .hero-btn-row .hero-btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(197,168,128,0.35);
  border-radius: 100px;
  color: rgba(197,168,128,0.9);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;        /* WhatsApp'tan biraz büyük → rahat okunma */
  font-weight: 700;          /* Bold → outline buton görsel denge */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,168,128,0.06);
}

/* ─── Hero Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 0 100px; /* Alt padding artırıldı — floating FAB'larla çakışma önlendi */
    text-align: center;
  }
  .hero-text-col { order: 2; display: flex; flex-direction: column; align-items: center; }
  .hero-photo-col { order: 1; }
  .hero-photo-wrap { max-width: 280px; margin: 0 auto; }
  .hero-photo { max-height: 360px; border-radius: 4px 4px 50px 4px; }
  .hero-photo-frame-outer { border-radius: 4px 4px 50px 4px; }
  .hero-photo-caption { border-radius: 0 0 50px 0; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,168,128,0.08);
}

.hero-title {
  font-family: 'Cinzel', serif;
  /* Desktop (iki sütun): sütun ~568px — tek satıra sığdır */
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;   /* her zaman tek satır */
}

/* Mobil (tek sütun tam genişlik): viewport'a göre ölçekle */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(1.25rem, 6.2vw, 2.8rem);
    white-space: nowrap;
    width: 100%;           /* flex align-items:center'ın shrink-wrap sorununu gider */
  }
}

.hero-llm {
  font-size: 0.38em;
  color: var(--gold) !important;
  vertical-align: baseline;
  letter-spacing: 0.14em;
  position: relative;
  top: -0.6em;
  font-family: 'Cinzel', serif;
  font-weight: 400;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}

/* Fotoğraf alanı — mask efekti */
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 2px 2px 120px 2px;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 60%);
  z-index: 0;
}

.photo-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  margin: 2px;
  border-radius: 1px 1px 118px 1px;
  overflow: hidden;
  background: var(--sapphire);
}

.photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.92;
}

/* Placeholder when no photo */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #4A0F1C, #2E0A12);
  color: rgba(197,168,128,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Butonlar ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--midnight);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(197,168,128,0.28);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197,168,128,0.38);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ─── Section Labels ─── */
.section-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sapphire);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Koyu zemin için gold eyebrow */
.section-eyebrow.light {
  color: var(--gold);
}
.section-eyebrow.light::before {
  background: var(--gold);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-title-light {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ─── Timeline ─── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--cream);
  transition: background 0.25s;
}

.timeline-item:hover::before {
  background: var(--gold);
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 2px;
}

.timeline-org {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

.timeline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sapphire);
  background: rgba(74,15,28,0.06);
  border: 1px solid rgba(74,15,28,0.15);
  border-radius: 100px;
  cursor: pointer;
  padding: 5px 12px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.timeline-toggle:hover {
  background: rgba(74,15,28,0.12);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.timeline-toggle.open {
  background: var(--sapphire);
  border-color: var(--sapphire);
  color: var(--gold);
}

.toggle-label-close { display: none; }
.toggle-label-open  { display: inline; }

.timeline-toggle.open .toggle-label-close { display: inline; }
.timeline-toggle.open .toggle-label-open  { display: none; }

.timeline-toggle .toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.timeline-toggle.open .toggle-arrow {
  transform: rotate(180deg);
}

.timeline-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease;
  opacity: 0;
}

.timeline-desc.open {
  max-height: 400px;
  opacity: 1;
}

.timeline-desc p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(74,15,28,0.04);
  border-left: 2px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

/* ─── Bento Grid ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
}

.bento-card {
  background: #fff;
  border: 1px solid rgba(74,15,28,0.1);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(74,15,28,0.12);
  border-color: rgba(74,15,28,0.2);
}

.bento-card:hover::after { transform: scaleX(1); }

/* Dark bento card */
.bento-card.dark {
  background: linear-gradient(135deg, #2E0A12 0%, #4A0F1C 100%);
  border-color: rgba(197,168,128,0.15);
  border-left: 3px solid var(--gold);
  color: #fff;
}

.bento-card.dark:hover {
  box-shadow: 0 16px 48px rgba(74,15,28,0.4);
  border-color: rgba(197,168,128,0.3);
}

/* Grid placements */
.bento-1 { grid-column: span 7; grid-row: span 2; }
.bento-2 { grid-column: span 5; grid-row: span 1; }
.bento-3 { grid-column: span 5; grid-row: span 1; }
.bento-4 { grid-column: span 4; grid-row: span 2; }
.bento-5 { grid-column: span 4; grid-row: span 2; }
.bento-6 { grid-column: span 4; grid-row: span 2; }

@media (max-width: 1024px) {
  .bento-1, .bento-2, .bento-3,
  .bento-4, .bento-5, .bento-6 {
    grid-column: span 12;
    grid-row: span 1;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .bento-1 { grid-column: span 12; }
  .bento-2, .bento-3 { grid-column: span 6; }
  .bento-4, .bento-5, .bento-6 { grid-column: span 4; }
}

/* Bento CTA Row */
.bento-cta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bento-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #2E0A12 0%, #4A0F1C 100%);
  border: 1px solid rgba(197,168,128,0.25);
  border-left: 4px solid var(--gold);
  border-radius: 100px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .bento-cta-row {
    flex-direction: column;
    align-items: center;
  }
  .bento-cta-btn {
    width: auto;
    padding: 13px 28px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}

.bento-cta-btn:hover {
  background: linear-gradient(135deg, #4A0F1C 0%, #6B1528 100%);
  border-color: rgba(197,168,128,0.5);
  box-shadow: 0 8px 32px rgba(74,15,28,0.35);
  transform: translateY(-2px);
  color: #fff;
}

.bento-cta-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.bento-cta-btn:hover svg {
  transform: translateX(4px);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(74,15,28,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sapphire);
  border: 1px solid rgba(74,15,28,0.1);
}

.bento-card.dark .bento-icon {
  background: rgba(197,168,128,0.15);
  color: var(--gold);
  border-color: rgba(197,168,128,0.2);
}

.bento-card.dark .bento-icon {
  background: rgba(197,168,128,0.15);
}

/* ─── Publications ─── */
.pub-card {
  background: #fff;
  border: 1px solid rgba(74,15,28,0.1);
  border-radius: 8px;
  padding: 24px 28px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

.pub-card:hover {
  box-shadow: 0 8px 32px rgba(74,15,28,0.1);
  border-color: rgba(74,15,28,0.2);
  transform: translateY(-2px);
}

.pub-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire);
  background: rgba(74,15,28,0.07);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(74,15,28,0.12);
}

/* ─── Stats Bar ─── */
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(197,168,128,0.2);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* ─── Contact Form ─── */
.form-group { position: relative; margin-bottom: 20px; }

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(197,168,128,0.2);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select option { background: var(--midnight); }

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  background: rgba(197,168,128,0.05);
  box-shadow: 0 0 0 3px rgba(197,168,128,0.08);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 7px;
}

/* ─── Intersection Observer Animasyonları ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ─── Mobile Menu ─── */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* ─── Side Panel Nav Links ─── */
.overlay-link {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(197,168,128,0.07);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.overlay-link::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
  flex-shrink: 0;
}

.overlay-link:hover {
  color: var(--gold);
  padding-left: 6px;
}

.overlay-link:hover::before {
  width: 16px;
}

/* ─── Footer ─── */
.footer-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }

/* ─── Divider ─── */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ─── Office Slider ─── */
.slider-outer {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sapphire);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobil overlay ok butonları */
.slider-arrow-mob {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.slider-arrow-mob:active { background: rgba(197,168,128,0.5); }
.slider-arrow-mob-prev { left: 12px; }
.slider-arrow-mob-next { right: 12px; }

@media (max-width: 768px) {
  .slider-outer { border-radius: 8px; }
  .slide-item { aspect-ratio: 4/3; }
}

.slide-item {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

@media (max-width: 768px) {
  .slide-item { aspect-ratio: 4/3; }
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.slide-item:hover img {
  transform: scale(1.03);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(11,19,43,0.85) 0%, transparent 100%);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Ok butonları */
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(197,168,128,0.25);
  background: rgba(197,168,128,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.slider-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--midnight);
  transform: scale(1.05);
}

/* Dot indikatörler */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}

.dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ─── WhatsApp Floating Button ─── */
#wa-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

#wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* Nabız animasyonu */
#wa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ─── Phone Floating Button ─── */
#phone-btn {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74,15,28,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  border: 1px solid rgba(197,168,128,0.25);
}

#phone-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(74,15,28,0.6);
  background: var(--navy);
}


/* ─── Marquee Band ─── */
.marquee-band {
  background: var(--gold);
  overflow: hidden;
  padding: 11px 0;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  -webkit-animation: marquee-scroll 28s linear infinite;
  animation: marquee-scroll 28s linear infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.marquee-item {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--midnight);
  white-space: nowrap;
  padding: 0 28px;
}

.marquee-sep {
  font-size: 0.55rem;
  color: rgba(15,31,61,0.4);
  display: flex;
  align-items: center;
}

@-webkit-keyframes marquee-scroll {
  0%   { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-band:hover .marquee-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

/* ─── Stats Bar ─── */
.stats-bar {
  background: linear-gradient(135deg, #1A0509 0%, #2E0A12 100%);
  border-bottom: 1px solid rgba(197,168,128,0.1);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  position: relative;
}

.stat-block .stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
}

.stat-block .stat-suffix {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
  padding-top: 4px;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-block .stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(197,168,128,0.18);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stats-grid { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat-block { padding: 0 24px; }
}


/* ─── Glassmorphism form card ─── */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197,168,128,0.2);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sapphire); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── Selection ─── */
::selection { background: var(--gold); color: var(--midnight); }

/* ─── Map container ─── */
.map-container {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(197,168,128,0.15);
}

/* ─── Toast notification ─── */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--midnight);
  border: 1px solid var(--gold);
  color: #fff;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── Hamburger ─── */
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* ─── Publication Filter ─── */
.filter-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(11,19,43,0.15);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--sapphire);
  color: var(--gold);
  border-color: var(--sapphire);
}

/* ─── Performance: content-visibility ─── */
/* Hero ekranda olduğu için atlanır; diğer section'lar lazy render edilir */
#calisma-alanlari, #makaleler, #sss, #iletisim {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ─── prefers-reduced-motion ─── */
/* Hareket tercih etmeyen kullanıcılar için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  /* Marquee kayar yazı: durdurma, sadece yavaşlat */
  .marquee-track {
    -webkit-animation-duration: 60s !important;
    animation-duration: 60s !important;
    -webkit-animation-iteration-count: infinite !important;
    animation-iteration-count: infinite !important;
  }
}

/* ─── FAQ Accordion ─── */
.faq-item {
  transition: box-shadow 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 2px 12px rgba(46,10,18,0.07);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item[open] summary {
  border-bottom: 1px solid rgba(46,10,18,0.06);
}
.faq-item[open] summary span:last-child {
  transform: rotate(45deg);
  display: inline-block;
}

/* ─── Hakkımda "Devamını Oku" collapse (sadece mobil) ─── */
.hakkimda-more {
  display: none;
}
.hakkimda-more.open {
  display: block;
  -webkit-animation: fadeSlideDown 0.35s ease forwards;
  animation: fadeSlideDown 0.35s ease forwards;
}
@-webkit-keyframes fadeSlideDown {
  from { opacity: 0; -webkit-transform: translateY(-8px); transform: translateY(-8px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hakkimda-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.hakkimda-toggle:hover { opacity: 0.75; }
.hakkimda-toggle svg { transition: transform 0.3s ease; }
.hakkimda-toggle.open svg { transform: rotate(180deg); }
