/* ===========================
   ZERO GROUP — main.css
   =========================== */

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { margin: 0; padding: 0; scroll-behavior: smooth; }

input, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

body {
  background-color: #000;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ---- Scrollbar ---- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- Scroll offset for fixed navbar ---- */
[id] { scroll-margin-top: 80px; }

/* ---- Cursor ---- */
a, button, [role="button"], label, select, summary { cursor: pointer; }
input, textarea { cursor: text; }

/* ---- Animations ---- */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.animate-scroll         { animation: scroll 40s linear infinite; }
.animate-scroll-reverse { animation: scrollReverse 40s linear infinite; }
.animate-fadeIn         { animation: fadeIn 1.5s ease-out forwards; }
.animate-fadeIn-delay   { animation: fadeIn 1.5s ease-out 0.5s forwards; opacity: 0; }
.animate-float          { animation: float 6s ease-in-out infinite; }
.animate-float-delay    { animation: float 6s ease-in-out 1.5s infinite; }

/* ---- Hero Video ---- */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-bg {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 18vw, 14vw);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.8em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1rem;
}
.sector-hero-text {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Navbar ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  color: #fff;
}
.mobile-menu-btn, .mobile-menu-overlay { display: none; }
#site-header.dark-text,
#site-header.dark-text #zero-logo,
#site-header.dark-text .desktop-nav .nav-link {
  color: #000 !important;
}
#site-header.dark-text #zero-logo .logo-second {
  color: #444 !important;
}
#zero-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}
#zero-logo .logo-second { font-weight: 300; margin-left: 0.5rem; }
#zero-logo .logo-active-page {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  text-transform: lowercase;
  opacity: 0.9;
}

nav ul { display: flex; gap: 3rem; list-style: none; margin: 0; padding: 0; }
nav ul li a, nav ul li button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  transition: color 0.2s;
}
nav ul li button:hover, nav ul li a:hover { color: #3b82f6; }

/* ---- Bottom Nav ---- */
#bottom-nav-wrap {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-bottom: 0.75rem;
  padding-top: 0.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: opacity 0.3s;
}
#bottom-nav-wrap.hidden-nav { opacity: 0; pointer-events: none; }

.bottom-nav-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.5s, border 0.5s;
  overflow-x: auto;
  max-width: 95vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bottom-nav-inner::-webkit-scrollbar {
  display: none;
}
.bottom-nav-inner.light {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15) !important;
}
.bottom-nav-inner button {
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #fff;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.bottom-nav-inner.light button { color: #000 !important; }
.bottom-nav-inner.light button:hover { background: #e5e7eb; }
.bottom-nav-inner button.active {
  background: #2563eb;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}

/* ---- Marquee strip ---- */
.marquee-wrap { width: 100%; overflow: hidden; position: relative; }
.marquee-track { display: flex; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }

/* ---- Paper texture ---- */
.paper-texture {
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  background-color: #fdfdfd;
}

/* ---- Focus styles ---- */
button:focus-visible, a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ---- Section hero (sector pages) ---- */
.sector-hero {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sector-hero-bg { position: absolute; inset: 0; }
.sector-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.sector-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.sector-hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}
.sector-hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.sector-hero-text p {
  color: #fff;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  max-width: 48rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
#main-footer {
  position: relative;
  background: #000;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden; 
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 6rem 5rem 2.5rem;
  position: relative;
  z-index: 5;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-inner > div:first-child { flex: 0 0 50%; max-width: 500px; } 
  .footer-inner > div:last-child { flex: 0 0 auto; min-width: 320px; }
}
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-divider { width: 3rem; height: 3px; background: #fff; margin-bottom: 1.5rem; }
.footer-text { font-size: 0.95rem; color: #d1d5db; line-height: 1.8; }
.footer-bottom { 
  text-align: center; 
  font-size: 0.8rem; 
  color: #6b7280; 
  padding: 1rem; 
  position: relative; 
  z-index: 5; 
}
.footer-bg-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 34vw;
  font-weight: 900;
  color: #111;
  line-height: 0.7;
  text-align: center;
  width: 100%;
  pointer-events: none;
  margin-bottom: -11vw; 
  position: relative;
  z-index: 1;
}

/* ---- Layout & Responsive Grid Utilities ---- */
.section-padding {
  padding: 6rem 2rem;
}

.map-box {
  width: 100%;
  height: 500px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #1f2937;
  position: relative;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2col-small-gap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-autofill-340 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.grid-autofill-380 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
}

.grid-autofill-400 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.paper-texture-card {
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  background-color: #fdfdfd;
  transform: rotate(-2deg);
  padding: 3rem;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6), 8px 8px 0 rgba(0,0,0,0.1);
  border-bottom: 8px solid rgba(0,0,0,0.08);
  border-right: 8px solid rgba(0,0,0,0.08);
  position: relative;
}

.org-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 72rem;
  padding-top: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .grid-stats {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ============================================================
   WEB (Desktop) — Özel Düzeltmeler (Organizasyon afişleri vs.)
   ============================================================ */
@media (min-width: 769px) {
  .poster-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  .poster-wrapper {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}

/* ============================================================
   MOBİL — Kapsamlı düzeltmeler (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---- Genel Navbar & Hero ---- */
  nav { display: none !important; }
  #site-header { padding: 0.75rem 1rem !important; }
  #zero-logo { font-size: 0.95rem !important; }
  .hero-title { font-size: clamp(3.5rem, 20vw, 6rem) !important; }
  .hero-subtitle { font-size: 0.6rem !important; letter-spacing: 0.4em !important; }

  .sector-hero {
    min-height: 100vh !important;
    height: 100vh !important;
  }
  .hero-video-container {
    height: 100vh !important;
  }
  .sector-hero-text {
    padding: 0 1.5rem !important;
  }
  .sector-hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 3rem) !important;
    margin-bottom: 0.75rem !important;
  }
  .sector-hero-text p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  /* ---- Layout & Grid Mobilde Tek Sütun ---- */
  .grid-2col,
  .grid-2col-small-gap,
  .grid-stats,
  .grid-autofill-340,
  .grid-autofill-380,
  .grid-autofill-400 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .section-padding {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .map-box {
    height: 450px !important;
    width: 100% !important;
    min-width: unset !important;
  }

  .paper-texture-card {
    padding: 1.5rem !important;
    transform: none !important;
    border-width: 4px !important;
  }

  /* ---- Bölümlerin Ekranı Doldurması ve Ortalama ---- */
  #about-section,
  #references-section > div:last-child,
  #awards-section,
  #testimonials-section,
  #contact-section,
  #ik-diger,
  #ik-section-3,
  #temizlik-galeri,
  #temizlik-section-2,
  #temizlik-ekibimiz,
  #temizlik-kurumsal,
  #temizlik-section-3,
  #org-section-2,
  #org-team,
  #org-section-3,
  #lojistik-section-2,
  #lojistik-section-3 {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    box-sizing: border-box !important;
  }

  /* Flex çökmesini (collapse) önlemek için iç div genişliklerini %100 yap */
  #about-section > div,
  #references-section > div:last-child > div,
  #awards-section > div,
  #testimonials-section > div,
  #contact-section > div,
  #ik-diger > div,
  #ik-section-3 > div,
  #temizlik-galeri > div,
  #temizlik-section-2 > div,
  #temizlik-ekibimiz > div,
  #temizlik-kurumsal > div,
  #temizlik-section-3 > div,
  #org-section-2 > div,
  #org-team > div,
  #org-section-3 > div,
  #lojistik-section-2 > div,
  #lojistik-section-3 > div {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* İletişim alanlarındaki grid yapısını tek sütuna çevirip haritayı alta iter */
  section[id$="-section-3"] > div, 
  #contact-section > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* ---- Telefon Kartı Çentiği (Notch) Büyütme ---- */
  .card-notch {
    width: 7.5rem !important;
    height: 0.9rem !important;
    background: #000 !important;
    border-color: #222 !important;
  }

  /* ---- Home Sayfası Spesifik ---- */
  #about-section { padding: 4rem 1.25rem 6rem !important; }
  #about-section .founder-card,
  #about-section > div > div:last-child { padding: 1.5rem !important; }

  /* ---- Organizasyon Spesifik ---- */
  .org-cards-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem !important;
  }
  .org-card { 
    width: 290px !important; 
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  
  /* ---- İK Sayfası Spesifik ---- */
  #ik-cat-list {
    flex-direction: row !important;
    overflow-x: auto !important;
    width: 100% !important;
    white-space: nowrap !important;
    gap: 1rem !important;
    padding-bottom: 0.5rem !important;
    min-width: unset !important;
  }
  .ik-cat-item {
    border-left: none !important;
    border-bottom: 2px solid #d1d5db !important;
    padding-left: 0 !important;
    padding-bottom: 0.5rem !important;
    display: inline-block !important;
  }
  .ik-cat-label { font-size: 1.5rem !important; }
  .ik-cat-sub { display: none !important; } 

  /* ---- Temizlik Sayfası Spesifik ---- */
  #temizlik-section-2 { flex-direction: column !important; }
  .split-panel { 
    flex: 1 1 50% !important; 
    width: 100% !important; 
    min-height: 50vh !important; 
    border-right: none !important; 
    border-bottom: 1px solid #1f2937 !important; 
  }

  /* ---- Alt Bar ve Butonlar ---- */
  #floating-btns { right: 0.75rem !important; bottom: 5rem !important; }
  .bottom-nav-inner {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 0.5rem 1rem !important;
    scrollbar-width: none !important;
  }
  .bottom-nav-inner button { padding: 0.45rem 0.65rem !important; font-size: 0.65rem !important; }

  /* ---- Footer ---- */
  .footer-inner { padding: 3rem 1.5rem 1.5rem !important; }
  .footer-bg-text { font-size: 40vw !important; margin-bottom: -14vw !important; }

  /* ---- Mobile Hamburger Menu ---- */
  .mobile-menu-btn {
    display: block !important;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    padding: 0.5rem;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }

  .mobile-menu-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: #C5A059 !important;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
  }

  .mobile-menu-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-left: 2px solid #C5A059;
    padding-left: 0.5rem;
  }

  .mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-menu-links li {
    width: 100%;
  }

  .mobile-menu-links button, 
  .mobile-menu-links a {
    background: none;
    border: none;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    transition: color 0.3s;
  }

  .mobile-menu-links button:hover, 
  .mobile-menu-links a:hover {
    color: #C5A059 !important;
  }

  #site-header.dark-text .mobile-menu-btn {
    color: #000 !important;
  }

  #site-header.menu-active {
    z-index: 1001 !important;
  }

  .mobile-menu-whatsapp-btn {
    width: 100%;
    padding: 0.85rem;
    background: #16a34a;
    color: #fff !important;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    margin-top: 1.5rem;
    transition: background 0.2s, transform 0.2s;
  }

  .mobile-menu-whatsapp-btn:active {
    background: #15803d;
    transform: scale(0.98);
  }

  .mobile-menu-links-small button,
  .mobile-menu-links-small a {
    font-size: 0.9rem !important;
    color: #aaa !important;
    padding: 0.3rem 0 !important;
  }
}

/* ---- Utility colors ---- */
.text-gold { color: #C5A059; }
.bg-gold   { background-color: #C5A059; }
.border-gold { border-color: #C5A059; }

/* ============================================================
   AWARDS & HORIZONTAL TIMELINE STYLES
   ============================================================ */
.awards-container {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
}

.timeline {
  position: relative;
  overflow: visible;
}

/* Yatay çizgi — dot'ların ortasından geçer (dot 18px, margin-top 0 → top 9px) */
.timeline::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(197,160,89,0) 0%, #C5A059 15%, #C5A059 85%, rgba(197,160,89,0) 100%);
  z-index: 1;
}

.timeline-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* Her item: dot üstte, trigger hemen altında */
.timeline-item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding-bottom: 1rem;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000;
  border: 3px solid #C5A059;
  z-index: 10;
  box-shadow: 0 0 10px rgba(197,160,89,0.5);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
  position: relative;
}

.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
  background: #C5A059;
  transform: scale(1.3);
  box-shadow: 0 0 20px #C5A059;
}

.timeline-trigger {
  padding: 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.timeline-trigger .trigger-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #C5A059;
  line-height: 1;
  letter-spacing: 0.05em;
}

.timeline-trigger .trigger-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  line-height: 1.4;
  margin: 0.3rem 0 0;
  padding: 0 0.5rem;
  transition: color 0.3s, opacity 0.3s;
}

.timeline-item:hover .trigger-name { color: #fff; }
.timeline-item.active .trigger-name { opacity: 0; }

/* Kart: dot'un tepesinden yukarı doğru açılır */
.timeline-detail-card {
  position: absolute;
  bottom: calc(100% - 0.5rem);
  left: 50%;
  width: 20rem;
  background: #0a0a0a;
  border: 1px solid #C5A059;
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px rgba(197,160,89,0.1);
  transform: translateX(-50%) translateY(10px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  text-align: left;
}

.timeline-detail-card::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #C5A059;
}

.timeline-item:hover .timeline-detail-card,
.timeline-item.active .timeline-detail-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Detail Card Content */
.detail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(197,160,89,0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.detail-card-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #C5A059;
  line-height: 1;
}

.detail-card-provider {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.05em;
  margin-left: 0.75rem;
  text-align: right;
}

.detail-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #C5A059;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.detail-card-desc {
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  white-space: pre-line;
}

.detail-card-story {
  font-size: 0.78rem;
  color: #a0aec0;
  line-height: 1.5;
  border-left: 2px solid #C5A059;
  padding-left: 0.5rem;
  margin-top: 0.75rem;
}

.detail-card-story strong { color: #C5A059; }

/* Mobil */
@media (max-width: 992px) {
  .timeline {
    padding: 0;
    position: relative;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(197,160,89,0) 0%, #C5A059 15%, #C5A059 85%, rgba(197,160,89,0) 100%);
  }

  .timeline-track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    overflow-x: visible;
    padding: 1rem 0;
    width: 100%;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
  }

  .timeline-track::-webkit-scrollbar {
    display: auto;
  }

  .timeline-item {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    text-align: left;
    padding-left: 2.5rem;
    padding-bottom: 0;
    scroll-snap-align: none;
  }

  .timeline-dot {
    position: absolute;
    left: 11px;
    top: 6px;
    z-index: 10;
  }

  .timeline-trigger {
    display: block;
    text-align: left;
    padding: 0;
    width: 100%;
    align-items: flex-start;
  }

  .timeline-trigger .trigger-year {
    font-size: 1.8rem;
  }

  .timeline-trigger .trigger-name {
    text-align: left;
    padding: 0;
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    opacity: 1 !important;
    color: #fff;
  }

  .timeline-item.active .trigger-name {
    opacity: 1 !important;
  }

  .timeline-detail-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none !important;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    border-width: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, border-width 0.3s ease, margin-top 0.3s ease;
  }

  .timeline-detail-card::after {
    display: none;
  }

  .timeline-item.active .timeline-detail-card {
    max-height: 800px;
    opacity: 1;
    padding: 1.25rem;
    margin-top: 0.75rem;
    border-width: 1px;
    border-style: solid;
    border-color: #C5A059;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-scroll, .animate-scroll-reverse, .animate-float, .animate-float-delay {
    animation: none !important;
    transform: none !important;
  }
}