/* ===================================================
   BaynovaTech — Monks "Bright-Gen" (TOTAL BRIGHTNESS)
   Neutralizes static corporate utilities (bg-navy, text-white, etc.)
   =================================================== */

:root.theme-monks {
  --bn-navy:          #0B0D17;
  --bn-surface:       #FFFFFF;
  --bn-surface-2:     #F9FAFB;
  --bn-text:          #111827;
  --bn-text-light:    #374151;
  --bn-gradient:      linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  
  --bn-card-bg:       #F9F8F3; /* Modern Krem / Kirli Beyaz */
  --bn-input-bg:      #FFFFFF; /* Krem zemin üzerinde beyaz kutular */
  --bn-muted:         #64748B;
  --bn-border:        #E8E4D9; /* Krem rengine uyumlu hafif bordür */
  --bn-shadow:        0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ── ATOMIC NEUTRALIZATION ───────────────────────── */

/* 1. Force Warm Cream Background on main sections */
html.theme-monks body,
html.theme-monks section,
html.theme-monks header {
  background-color: #FFFFFF !important;
  color: #111827 !important;
}

/* 1.1 Hero & Page Headers: Slightly Darker Cream for Hierarchy */
html.theme-monks .bg-navy,
html.theme-monks .bg-dark,
html.theme-monks .bn-hero {
  background-color: #F2EFE9 !important; /* Bir tık koyu krem / kum rengi */
  background-image: none !important;
  color: #111827 !important;
}

html.theme-monks .bn-footer {
  background-color: #FFFFFF !important;
}

/* 2. Style Overrides for Containers */
html.theme-monks .bn-card {
  background: var(--bn-card-bg) !important;
  backdrop-filter: none !important; /* Koyu cam efektini kapat */
  border-color: var(--bn-border) !important;
  box-shadow: var(--bn-shadow) !important;
}

html.theme-monks label,
html.theme-monks .form-label {
  color: #1A3A6B !important; /* Okunur Lacivert */
  font-weight: 700;
}

/* 2. Force Dark Navy Text on ALL white/light containers */
html.theme-monks body,
html.theme-monks .text-white,
html.theme-monks .text-white-50,
html.theme-monks .text-light,
html.theme-monks .lead,
html.theme-monks h1, 
html.theme-monks h2, 
html.theme-monks h3, 
html.theme-monks h4, 
html.theme-monks h5, 
html.theme-monks h6,
html.theme-monks p, 
html.theme-monks span, 
html.theme-monks li,
html.theme-monks a:not(.btn) {
  color: #111827 !important;
}

/* 3. Dropdowns & Navigation (Special Glassmorphism) */
html.theme-monks #mainNav,
html.theme-monks .navbar,
html.theme-monks .dropdown-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

html.theme-monks .nav-link,
html.theme-monks .bi-list,
html.theme-monks .navbar-toggler-icon,
html.theme-monks .navbar-toggler i {
  color: #111827 !important;
  opacity: 1 !important;
}

/* Fix Nav Link Hover & Active State in Bright Mode */
html.theme-monks .bn-navbar .nav-link:hover,
html.theme-monks .bn-navbar .nav-link.active {
  color: #0056E0 !important; /* Koyu/Kurumsal Mavi */
  background: rgba(0, 86, 224, 0.05); /* Çok hafif mavi arkaplan */
}

/* Fix Nav Link Underline in Bright Mode */
html.theme-monks .bn-navbar .nav-link::after {
  background: #0056E0 !important;
}

/* Brand Text for Monks Theme */
html.theme-monks .brand-text {
  color: #111827 !important;
}
html.theme-monks .brand-separator {
  color: #0056E0 !important;
}
html.theme-monks .footer-logo .brand-text {
  color: #111827 !important;
}

/* 4. Hide Dark Hero Overlays */
html.theme-monks .bn-hero-bg,
html.theme-monks .bn-hero-grid,
html.theme-monks .bn-hero-glow {
  display: none !important;
}

/* 5. Footer & Surface-2 Areas */
html.theme-monks body .bn-footer,
html.theme-monks .bg-surface-2 {
  background-color: #F9FAFB !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* 7. List Group & Catalog Overrides */
html.theme-monks .list-group-item {
  background-color: transparent !important;
  color: #111827 !important;
}

html.theme-monks .list-group-item-action {
  background-color: #FAF9F6 !important; /* Kirli beyaz */
  border: 1px solid rgba(0, 0, 0, 0.02) !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
}

html.theme-monks .list-group-item-action:hover {
  background-color: #E2E8F0 !important;
  color: var(--bn-blue) !important;
}

html.theme-monks .list-group-item-action.active {
  background-color: var(--bn-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--bn-blue) !important;
}

/* Product Cards in Light Theme */
html.theme-monks .bn-product-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* ── AMBIENT FINISH ──────────────────────────────── */
html.theme-monks body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 5% 5%, rgba(139, 92, 246, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 95% 95%, rgba(253, 224, 71, 0.07) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Specific Highlight for "Yeniden" type spans */
html.theme-monks h1 span {
    background: var(--bn-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fix for Teklif Al Button in Monks Theme */
html.theme-monks .bn-navbar .btn-quote {
    background: var(--bn-gradient) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    border: none !important;
}

html.theme-monks .bn-navbar .btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important;
}

/* ── AUTH PAGES (Login / Register) — Monks Light Override ─── */

/* Section arka planı */
html.theme-monks .bg-navy {
  background-color: #F2EFE9 !important;
  background-image: none !important;
}

/* Hero dekoratif arka plan öğelerini gizle */
html.theme-monks .bn-hero-bg,
html.theme-monks .bn-hero-grid {
  display: none !important;
}

/* Kart */
html.theme-monks .card.bg-white-10,
html.theme-monks .card.backdrop-blur {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: none !important;
}

/* Başlık */
html.theme-monks .card .text-white,
html.theme-monks .card h2.text-white,
html.theme-monks .card .section-title {
  color: #111827 !important;
}

/* Alt yazı */
html.theme-monks .card .text-white-80,
html.theme-monks .card .text-white-60,
html.theme-monks .card .text-white-50,
html.theme-monks .card .text-white-70 {
  color: #6B7280 !important;
}

/* Form label */
html.theme-monks .card .form-label {
  color: #374151 !important;
}

/* Input alanları */
html.theme-monks .card .form-control.bg-white-10,
html.theme-monks .card .form-control,
html.theme-monks .form-control,
html.theme-monks .form-select {
  background-color: #F9FAFB !important;
  border: 1px solid #D1D5DB !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  color-scheme: light;
}

html.theme-monks .card .form-control:focus,
html.theme-monks .form-control:focus,
html.theme-monks .form-select:focus {
  background-color: #FFFFFF !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

html.theme-monks .card .form-control::placeholder,
html.theme-monks .form-control::placeholder {
  color: #9CA3AF !important;
  -webkit-text-fill-color: #9CA3AF !important;
  opacity: 1;
}

/* Aydınlık tema autofill fix */
html.theme-monks .form-control:-webkit-autofill,
html.theme-monks .form-control:-webkit-autofill:hover,
html.theme-monks .form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827;
  border-color: #3B82F6 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Input group icon kutusu */
html.theme-monks .card .input-group-text.bg-white-10 {
  background-color: #F3F4F6 !important;
  border: 1px solid #D1D5DB !important;
  border-right: none !important;
  color: #6B7280 !important;
}

/* Submit butonu */
html.theme-monks .card .btn-navy {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
}

html.theme-monks .card .btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35) !important;
}

/* Alt link ("Şifremi Unuttum?", "Üye Ol" vb.) */
html.theme-monks .card a.text-white,
html.theme-monks .card a.text-white-50,
html.theme-monks .card a.hover-white {
  color: #3B82F6 !important;
}

html.theme-monks .card a.text-white:hover,
html.theme-monks .card a.text-white-50:hover {
  color: #1D4ED8 !important;
}

/* "Zaten hesabınız var mı?" gibi metin paragrafları */
html.theme-monks .card p.text-white-60 {
  color: #6B7280 !important;
}

/* ── BTN-CYAN & BTN-NAVY — Monks Light Override ───── */

/* Aydınlık temada btn-cyan koyu navy yazı ile okunabilir kalmalı */
html.theme-monks .btn-cyan {
  background: #0056E0 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 86, 224, 0.3) !important;
}
html.theme-monks .btn-cyan:hover {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  filter: none;
}

/* btn-navy aydınlık temada mavi gradient */
html.theme-monks .btn-navy {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%) !important;
  color: #FFFFFF !important;
}
html.theme-monks .btn-navy:hover {
  color: #FFFFFF !important;
}

/* monks'ta text-cyan da okunabilir lacivert olsun */
html.theme-monks .text-cyan {
  color: #0056E0 !important;
}

/* Footer tam logo — aydınlık temada filtre kaldır */
html.theme-monks .footer-brand-logo {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
