/* =========================================================
   RAN Sanat — Tazeleme Katmanı (enhance.css)
   Marka kimliği (kırmızı/bordo, logo, his) korunur.
   Sadece tipografi + gölge/derinlik + bölüm cilası eklenir.
   Mevcut CSS'in ÜZERİNE, en son yüklenir.
   ========================================================= */

:root {
  --font-head: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-soft: 0 4px 20px rgba(31, 17, 17, .06), 0 1px 4px rgba(31, 17, 17, .04);
  --shadow-card: 0 12px 32px rgba(89, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-card-hover: 0 22px 48px rgba(89, 0, 0, .16), 0 6px 16px rgba(0, 0, 0, .07);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ---------------- Tipografi ---------------- */
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4,
.gradient-text, .section-header h2, .intro-content h2,
.nav-link, .nav-cta, .btn, .read-more-btn,
.section-title-01, .section-title-02, .footer-right h3 {
  font-family: var(--font-head);
}
.gradient-text { letter-spacing: -.5px; }
.section-header h2 { font-weight: 700; }

/* ---------------- Kartlar: daha tanımlı, modern derinlik ---------------- */
.glass-card {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--secondary-color); }
.feature-card p { color: var(--text-light); }
.feature-icon { box-shadow: 0 8px 20px rgba(139, 0, 0, .28); }

.card-front, .card-back { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card-front { border: 1px solid rgba(0, 0, 0, .05); }

/* ---------------- Butonlar ince cila ---------------- */
.btn, .nav-cta, .read-more-btn { letter-spacing: .2px; }
.primary-btn { box-shadow: 0 6px 18px rgba(139, 0, 0, .28); }
.primary-btn:hover { box-shadow: 0 12px 28px rgba(139, 0, 0, .40); }

/* ---------------- "RAN Sanat'ta Müzik Eğitimi" bölümünü bütünleştir ---------------- */
.ran-sanat-intro {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, #fff 65%);
}
.ran-sanat-intro .intro-content {
  max-width: 880px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 3.25rem 3.25rem 2.75rem;
}
/* Başlığı diğer bölüm başlıklarının diline getir: gradient + kalın + alt çizgi */
.intro-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
}
.intro-content h2::after { width: 80px; height: 4px; bottom: -14px; }
.intro-text p { color: var(--text-color); line-height: 1.85; margin-bottom: 1.15rem; font-size: 1.05rem; }
.intro-text .content-preview p:first-child { font-size: 1.15rem; color: #2a2a2a; }
.intro-text strong { color: var(--primary-color); }
.read-more-btn { margin-top: 1.5rem; }

/* ---------------- Bölüm ritmi ince ayar ---------------- */
.features { padding: 90px 0; }

/* ---------------- Footer küçük rötuş ---------------- */
.footer-description { color: rgba(255, 255, 255, .82); }
.footer-links a:hover, .footer-center .info-item a:hover { color: var(--primary-light); }

/* ---------------- Responsive rötuşlar ---------------- */
@media (max-width: 768px) {
  .ran-sanat-intro { padding: 60px 0; }
  .ran-sanat-intro .intro-content { padding: 2rem 1.5rem; }
  .intro-content h2 { font-size: 2rem; }
  .intro-text .content-preview p:first-child { font-size: 1.08rem; }
}

/* ================= Ekstra ince cila (2 Eylül) ================= */

/* Marka renkli metin seçimi */
::selection { background: var(--primary-color); color: #fff; }
::-moz-selection { background: var(--primary-color); color: #fff; }

/* Klavye erişilebilirliği — görünür odak halkası */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.nav-link:focus-visible, .nav-cta:focus-visible,
input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Yukarı çık butonu */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 8px 22px rgba(139,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 900; display: flex; align-items: center; justify-content: center;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(139,0,0,.45); }

/* Hareket hassasiyeti olan ziyaretçiler için animasyonları sadeleştir + içeriği hemen göster */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
