/* =========================================================
   ASLAN DKT — PUBLIC SITE BRAND SYSTEM V8
   Ana sayfadaki yeni nesil görsel dilin tüm public sayfalara
   uygulanması için ortak tasarım katmanı.
   ========================================================= */
:root {
  --primary: #9e1f63;
  --primary-dark: #74164a;
  --primary-soft: #fbf0f6;
  --secondary: #2c3990;
  --secondary-dark: #202a70;
  --text-dark: #15162a;
  --text-soft: #475467;
  --ink: #15162a;
  --muted: #667085;
  --soft: #f8f7fb;
  --white: #ffffff;
  --navy: #20223f;
  --mint: #fbf0f6;
  --cream: #fbfafd;
  --text: #475467;
  --gray: #667085;
  --bg-light: #f8f7fb;
  --bg-white: #ffffff;
  --brand-line: #e8e6ef;
  --line: #e8e6ef;
  --shadow: rgba(28, 24, 52, .09);
  --shadow-sm: 0 8px 22px rgba(28, 24, 52, .07);
  --shadow-md: 0 16px 38px rgba(28, 24, 52, .09);
  --shadow-lg: 0 26px 70px rgba(28, 24, 52, .13);
  --ring: 0 0 0 4px rgba(158, 31, 99, .12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }
body:not(.home-page) {
  color: var(--text-dark) !important;
  background:
    radial-gradient(1100px 520px at 8% -90px, rgba(158,31,99,.08), transparent 58%),
    radial-gradient(900px 500px at 96% 2%, rgba(44,57,144,.07), transparent 62%),
    var(--bg-light) !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:not(.home-page) .container {
  max-width: 1180px !important;
}

body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3,
body:not(.home-page) h4 {
  color: var(--text-dark);
  letter-spacing: -.025em;
}

body:not(.home-page) h1 { letter-spacing: -.045em; }
body:not(.home-page) p { color: inherit; }
body:not(.home-page) ::selection { background: rgba(158,31,99,.18); color: #15162a; }

/* Accent text + links */
body:not(.home-page) a:focus-visible,
body:not(.home-page) button:focus-visible,
body:not(.home-page) input:focus-visible,
body:not(.home-page) textarea:focus-visible,
body:not(.home-page) select:focus-visible {
  outline: 3px solid rgba(158,31,99,.18) !important;
  outline-offset: 2px;
}

/* Reusable buttons across legacy public pages */
body:not(.home-page) .btn-primary,
body:not(.home-page) .primary-btn,
body:not(.home-page) .cta-btn,
body:not(.home-page) .hero-cta,
body:not(.home-page) .appointment-btn,
body:not(.home-page) .contact-btn,
body:not(.home-page) button[type="submit"] {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #9e1f63 0%, #7f205d 52%, #2c3990 100%) !important;
  box-shadow: 0 14px 32px rgba(158,31,99,.20) !important;
}
body:not(.home-page) .btn-primary:hover,
body:not(.home-page) .primary-btn:hover,
body:not(.home-page) .cta-btn:hover,
body:not(.home-page) .hero-cta:hover,
body:not(.home-page) .appointment-btn:hover,
body:not(.home-page) .contact-btn:hover,
body:not(.home-page) button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(158,31,99,.27) !important;
}

body:not(.home-page) .btn-outline,
body:not(.home-page) .secondary-btn {
  color: #7b1a50 !important;
  border-color: #dcc0d0 !important;
  background: rgba(255,255,255,.88) !important;
}
body:not(.home-page) .btn-outline:hover,
body:not(.home-page) .secondary-btn:hover {
  color: #fff !important;
  border-color: #9e1f63 !important;
  background: #9e1f63 !important;
}

/* Cards / panels */
body:not(.home-page) .card,
body:not(.home-page) .service-card,
body:not(.home-page) .info-card,
body:not(.home-page) .sidebar-card,
body:not(.home-page) .featured-card,
body:not(.home-page) .team-card,
body:not(.home-page) .trust-card,
body:not(.home-page) .highlight-card,
body:not(.home-page) .story-card,
body:not(.home-page) .author-card,
body:not(.home-page) .contact-box,
body:not(.home-page) .credential-box,
body:not(.home-page) .widget,
body:not(.home-page) .mini-card {
  border-color: var(--brand-line) !important;
  box-shadow: var(--shadow-sm);
}

body:not(.home-page) .card:hover,
body:not(.home-page) .service-card:hover,
body:not(.home-page) .featured-card:hover,
body:not(.home-page) .team-card:hover,
body:not(.home-page) .blog-card:hover {
  border-color: rgba(158,31,99,.22) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Chips / badges / eyebrow-like labels */
body:not(.home-page) .badge,
body:not(.home-page) .chip,
body:not(.home-page) .kicker,
body:not(.home-page) .label,
body:not(.home-page) .hero-badge,
body:not(.home-page) .service-badge {
  border-color: #efd9e5 !important;
}

/* Form system */
body:not(.home-page) input:not([type="checkbox"]):not([type="radio"]),
body:not(.home-page) textarea,
body:not(.home-page) select {
  border-color: #dddbea !important;
  background-color: #fff !important;
}
body:not(.home-page) input:not([type="checkbox"]):not([type="radio"]):focus,
body:not(.home-page) textarea:focus,
body:not(.home-page) select:focus {
  border-color: #9e1f63 !important;
  box-shadow: 0 0 0 4px rgba(158,31,99,.10) !important;
}

/* FAQ */
body:not(.home-page) .faq-item {
  border-color: var(--brand-line) !important;
  box-shadow: 0 10px 28px rgba(28,24,52,.045);
}
body:not(.home-page) .faq-item:hover { border-color: rgba(158,31,99,.22) !important; }
body:not(.home-page) .faq-icon { color: #9e1f63 !important; }

/* Blog/read links */
body:not(.home-page) .read-more,
body:not(.home-page) .service-link,
body:not(.home-page) .service-cta,
body:not(.home-page) .team-links a,
body:not(.home-page) .post-nav a {
  color: #8d1b58;
}

/* Breadcrumbs stay subtle, active item carries brand */
body:not(.home-page) .breadcrumb a:hover { color: #9e1f63 !important; }

/* Scroll to top */
body:not(.home-page) .scroll-top-btn {
  border: 0 !important;
  background: linear-gradient(135deg, #9e1f63, #2c3990) !important;
  box-shadow: 0 12px 28px rgba(158,31,99,.22) !important;
}

/* Decorative lines / pseudo elements that were previously teal */
body:not(.home-page) .section-head::after,
body:not(.home-page) .section-title::after,
body:not(.home-page) .title::after {
  background: linear-gradient(90deg, #9e1f63, #2c3990) !important;
}

/* Keep public pages visually aligned with the homepage on mobile */
@media (max-width: 768px) {
  body:not(.home-page) .container { padding-left: 18px !important; padding-right: 18px !important; }
  body:not(.home-page) h1 { line-height: 1.06; }
}

/* =========================================================
   V10 — READABILITY + CONTRAST SYSTEM
   Site genelinde metinleri büyütür, koyu zeminlerde kontrastı
   güvenli seviyede tutar. Ana sayfa kendi tipografisini kullanır.
   ========================================================= */
body:not(.home-page) {
  font-size: 16px !important;
  line-height: 1.68 !important;
}
body:not(.home-page) main p,
body:not(.home-page) main li {
  font-size: max(15.5px, 1em);
}
body:not(.home-page) main p { line-height: 1.75; }
body:not(.home-page) .lead,
body:not(.home-page) .intro,
body:not(.home-page) .hero-text,
body:not(.home-page) .hero-description {
  font-size: 17px !important;
  line-height: 1.72 !important;
}
body:not(.home-page) .card p,
body:not(.home-page) .service-card p,
body:not(.home-page) .info-card p,
body:not(.home-page) .team-card p,
body:not(.home-page) .blog-card p {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

/* Dark surfaces — prevent inherited dark text from disappearing. */
body:not(.home-page) .services-v9-cta,
body:not(.home-page) .service-v9-trust-card,
body:not(.home-page) .dark-section,
body:not(.home-page) .dark-card,
body:not(.home-page) .cta-section {
  color: #f6f7fb !important;
}
body:not(.home-page) .services-v9-cta h1,
body:not(.home-page) .services-v9-cta h2,
body:not(.home-page) .services-v9-cta h3,
body:not(.home-page) .service-v9-trust-card h1,
body:not(.home-page) .service-v9-trust-card h2,
body:not(.home-page) .service-v9-trust-card h3,
body:not(.home-page) .service-v9-trust-card h4,
body:not(.home-page) .dark-section h1,
body:not(.home-page) .dark-section h2,
body:not(.home-page) .dark-section h3,
body:not(.home-page) .dark-card h1,
body:not(.home-page) .dark-card h2,
body:not(.home-page) .dark-card h3,
body:not(.home-page) .cta-section h1,
body:not(.home-page) .cta-section h2,
body:not(.home-page) .cta-section h3 {
  color: #ffffff !important;
}
body:not(.home-page) .services-v9-cta p,
body:not(.home-page) .service-v9-trust-card p,
body:not(.home-page) .dark-section p,
body:not(.home-page) .dark-card p,
body:not(.home-page) .cta-section p {
  color: #d7d9e6 !important;
}

@media (max-width: 768px) {
  body:not(.home-page) { font-size: 16px !important; }
  body:not(.home-page) main p,
  body:not(.home-page) main li { font-size: 16px; }
}

/* V10 blog readability */
body:not(.home-page) .post article,
body:not(.home-page) .article-content,
body:not(.home-page) .post-content {
  font-size: 17px !important;
  line-height: 1.82 !important;
}
body:not(.home-page) .post article p,
body:not(.home-page) .article-content p,
body:not(.home-page) .post-content p {
  font-size: 1em !important;
  line-height: 1.82 !important;
  color: #42495d !important;
}
body:not(.home-page) .post article li,
body:not(.home-page) .article-content li,
body:not(.home-page) .post-content li {
  font-size: .98em !important;
  line-height: 1.7 !important;
}
body:not(.home-page) .editorial-note,
body:not(.home-page) .article-review-meta,
body:not(.home-page) .sources-box {
  font-size: 14.5px !important;
}

/* V10 explicit contrast fixes for legacy dark/gradient blocks */
body:not(.home-page) .cta,
body:not(.home-page) .instagram-card {
  color:#fff !important;
}
body:not(.home-page) .cta h1,
body:not(.home-page) .cta h2,
body:not(.home-page) .cta h3,
body:not(.home-page) .instagram-card h1,
body:not(.home-page) .instagram-card h2,
body:not(.home-page) .instagram-card h3 {
  color:#fff !important;
}
body:not(.home-page) .cta p,
body:not(.home-page) .instagram-card p {
  color:#e2e5ef !important;
}

/* V10.1 readability polish */
body:not(.home-page) main .card p,
body:not(.home-page) main .info-card p,
body:not(.home-page) main .feature-card p,
body:not(.home-page) main .content-card p { font-size: 15.5px; line-height: 1.72; }
