/* ==========================================================================
   DYT. ECE AKSOY - BESPOKE CLINICAL & MEDICAL WELLNESS THEME
   High-End Editorial, Ultra-Clean & Professional (Zero AI-Slop)
   ========================================================================== */

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

:root {
  --color-primary: #0284c7;        /* Clinical Sky 600 */
  --color-primary-dark: #0369a1;   /* Sky 700 */
  --color-navy: #090d16;           /* Deep Midnight Slate */
  --color-slate-subtle: #f8fafc;
  --color-border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-slate-subtle);
  color: #1e293b;
  overflow-x: hidden;
}

/* Precision Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Header */
.glass-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* Subtle Medical Gradient */
.medical-gradient-bg {
  background: radial-gradient(80% 60% at 50% -10%, #e0f2fe 0%, #f0fdfa 30%, #f8fafc 80%);
}

/* Editorial Clinical Card */
.clinical-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.clinical-card:hover {
  border-color: #7dd3fc;
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.02);
  transform: translateY(-3px);
}

/* Precision Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  background: #0369a1;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  transition: transform 0.15s ease;
}

/* BKI Skala Bar Göstergesi */
.bmi-scale-bar {
  height: 10px;
  border-radius: 9999px;
  background: linear-gradient(to right, #38bdf8 0%, #34d399 28%, #fbbf24 60%, #f87171 100%);
  position: relative;
}

.bmi-pointer {
  position: absolute;
  top: -5px;
  width: 20px;
  height: 20px;
  background: #0f172a;
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accordion Smooth Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.25s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.45s ease-in-out, opacity 0.3s ease;
}

/* Modal Transition */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

/* ==========================================================================
   PROFESYONEL SCROLL REVEAL SİSTEMİ
   ========================================================================== */
html.js-ready .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal-up.is-revealed,
html.js-ready .reveal-left.is-revealed,
html.js-ready .reveal-right.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

html.js-ready .reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Kademeli Gecikmeler */
.delay-75 { transition-delay: 75ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-225 { transition-delay: 225ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-375 { transition-delay: 375ms !important; }

@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal-up,
  html.js-ready .reveal-left,
  html.js-ready .reveal-right,
  html.js-ready .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PANEL VE CMS YARDIMCI SINIFLARI
   ========================================================================== */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

