/* Kırdar Akademi - Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-dark-blue: #0A192F;
  --color-light-blue: #00B4DB;
  --color-accent: #26D0CE;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

.fade-in-up { animation: fadeInUp 1s ease both; }
.fade-in-down { animation: fadeInDown 1s ease both; }
.animate-bounce-custom { animation: bounce 2s infinite; }

/* Navbar - dropdown bridge */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: all 0.2s ease;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  width: 14rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 0.5rem;
  z-index: 50;
}
.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-trigger:hover .dropdown-chevron {
  transform: rotate(180deg);
}

/* Grid pattern */
.grid-pattern {
  background-image: 
    linear-gradient(rgba(0,180,219,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,219,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.grid-pattern-strong {
  background-image: 
    linear-gradient(rgba(0,180,219,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,219,0.2) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Timeline vertical line responsive */
.timeline-line {
  background: linear-gradient(to bottom, #00B4DB, #26D0CE, transparent);
}

/* Hover scale for sponsors */
.sponsor-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  max-height: 60px;
  object-fit: contain;
}
.sponsor-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #00B4DB, #26D0CE); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #0A192F; }

/* Card hover top bar animation */
.card-top-bar {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card-hover:hover .card-top-bar {
  transform: scaleX(1);
}

/* Smooth image hover */
.img-zoom {
  transition: transform 0.7s ease;
}
.card-hover:hover .img-zoom {
  transform: scale(1.1);
}

/* Filter active state */
.filter-btn.active {
  background: linear-gradient(to right, #00B4DB, #26D0CE);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(0, 180, 219, 0.4);
  transform: scale(1.05);
}
.filter-btn.active .filter-count {
  background: rgba(255,255,255,0.2);
}

/* Staff card hover overlay */
.staff-card .social-overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.staff-card:hover .social-overlay {
  opacity: 1;
}

/* Footer social icons - daha görünür yap */
.footer-social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
}
.footer-social * {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}
.footer-social svg {
  width: 18px !important;
  height: 18px !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
  opacity: 0.9;
}
.footer-social:hover {
  background: linear-gradient(135deg, #00B4DB, #26D0CE) !important;
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 180, 219, 0.5) !important;
}
.footer-social:hover svg {
  opacity: 1;
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stat card refinements - daha minimalist */
.stat-card-modern {
  position: relative;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(0,180,219,0.4) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
}
.stat-card-modern:hover::before {
  opacity: 1;
}
.stat-card-modern:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,180,219,0.3);
}
.stat-number {
  background: linear-gradient(135deg, #fff 0%, #00B4DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.stat-icon-modern {
  background: linear-gradient(135deg, rgba(0,180,219,0.15), rgba(38,208,206,0.05));
  border: 1px solid rgba(0,180,219,0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card-modern:hover .stat-icon-modern {
  background: linear-gradient(135deg, rgba(0,180,219,0.3), rgba(38,208,206,0.15));
  border-color: rgba(0,180,219,0.4);
  transform: scale(1.05);
}
