/* =========================================================
   Hero: iç kaydırma çubuğu YOK — içerik ekrana sığar
   Sayfa kaydırması: ince, zarif scrollbar
   ========================================================= */

/* ── Hero içinde asla scrollbar yok ── */
/* Hero içinde scrollbar yok; taşan içerik kesilmesin */
body.theme-bg-custom #hero {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body.theme-bg-custom #hero .hero-inner,
body.theme-bg-custom #hero .hero-content,
body.theme-bg-custom #hero .hero-inner > .hero-content {
  overflow: visible !important;
}

body.theme-bg-custom #hero .hero-inner {
  height: auto !important;
  min-height: 100svh;
  max-height: none;
  align-items: stretch;
  padding-bottom: clamp(3.5rem, 8vh, 5rem);
}

body.theme-bg-custom #hero .hero-content {
  justify-content: center;
  gap: clamp(0.5rem, 1.5vh, 1.25rem);
  padding-top: clamp(5rem, 10vh, 6.5rem) !important;
  padding-bottom: clamp(2rem, 4vh, 3rem) !important;
}

@media (max-width: 1024px) {
  body.theme-bg-custom #hero .hero-inner {
    min-height: auto !important;
    padding-bottom: 0 !important;
  }

  body.theme-bg-custom #hero .hero-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* İçerik ölçekleri — dikey alana göre */
body.theme-bg-custom #hero .hero-name {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

body.theme-bg-custom #hero .hero-title {
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  margin-bottom: 0.5rem;
}

body.theme-bg-custom #hero .hero-university {
  margin-bottom: 0.5rem;
}

body.theme-bg-custom #hero .hero-stats {
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

body.theme-bg-custom #hero .hero-stat-num {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

body.theme-bg-custom #hero .hero-verse {
  margin: 0;
  padding: clamp(0.5rem, 1.2vh, 0.85rem) clamp(0.75rem, 2vw, 1rem);
  max-width: 100%;
}

body.theme-bg-custom #hero .hero-verse-text {
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  line-height: 1.5;
}

body.theme-bg-custom #hero .hero-actions {
  margin-top: 0.25rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.theme-bg-custom #hero .hero-profiles {
  margin-top: clamp(0.5rem, 1.5vh, 1rem);
}

body.theme-bg-custom #hero .profile-cards {
  gap: 0.45rem;
}

body.theme-bg-custom #hero .profile-card {
  padding: 0.55rem 0.65rem;
}

body.theme-bg-custom #hero .profile-card-desc {
  font-size: 0.68rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Kısa ekran yüksekliği — daha da kompakt */
@media (max-height: 860px) {
  body.theme-bg-custom #hero .hero-verse {
    display: none;
  }

  body.theme-bg-custom #hero .hero-profiles {
    margin-top: 0.5rem;
  }

  body.theme-bg-custom #hero .profile-card-desc {
    display: none;
  }
}

@media (max-height: 720px) {
  body.theme-bg-custom #hero .hero-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
  }

  body.theme-bg-custom #hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  body.theme-bg-custom #hero .profile-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Site geneli: ince, şık scrollbar (sayfa kaydırması) ── */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* Firefox */
html,
body {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.45) rgba(10, 31, 24, 0.15);
}

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 31, 24, 0.12);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.55), rgba(139, 105, 20, 0.65));
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(232, 212, 139, 0.75), rgba(201, 162, 39, 0.85));
  background-clip: padding-box;
}

/* Mobilde scrollbar gizle — dokunmatik kaydırma */
@media (max-width: 768px), (hover: none) {
  html,
  body {
    scrollbar-width: none;
  }

  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

/* Koyu tema scrollbar */
body.theme-dark {
  scrollbar-color: rgba(201, 162, 39, 0.4) rgba(5, 15, 12, 0.4);
}

body.theme-dark ::-webkit-scrollbar-track {
  background: rgba(5, 15, 12, 0.5);
}
