/* Lalive Modern Theme — Minimalist siyah + turkuaz accent */

body.theme-modern {
    --m-bg: #ffffff;
    --m-bg-alt: #f8fafc;
    --m-bg-dark: #0f172a;
    --m-text: #0f172a;
    --m-text-muted: #64748b;
    --m-accent: #06b6d4;      /* cyan-500 */
    --m-accent-dark: #0e7490;
    --m-gold: #f59e0b;         /* amber-500 */
    --m-border: #e2e8f0;
    --m-success: #10b981;
    --m-danger: #ef4444;
    color: var(--m-text);
    background: var(--m-bg);
}

/* Typography korunur — classic fontlar (Cormorant Garamond / Playfair Display) */

/* Olive renk ailesi override — siyah tonları */
body.theme-modern .bg-olive-900,
body.theme-modern .bg-olive-800 { background-color: var(--m-bg-dark) !important; }
body.theme-modern .bg-olive-700 { background-color: #1e293b !important; }
body.theme-modern .bg-olive-600 { background-color: #334155 !important; }
body.theme-modern .bg-olive-500 { background-color: #475569 !important; }
body.theme-modern .bg-olive-100,
body.theme-modern .bg-olive-50 { background-color: var(--m-bg-alt) !important; }

body.theme-modern .text-olive-900,
body.theme-modern .text-olive-800 { color: var(--m-text) !important; }
body.theme-modern .text-olive-700,
body.theme-modern .text-olive-600 { color: var(--m-text-muted) !important; }
body.theme-modern .text-olive-500 { color: #94a3b8 !important; }

body.theme-modern .border-olive-100,
body.theme-modern .border-olive-200 { border-color: var(--m-border) !important; }
body.theme-modern .border-olive-500,
body.theme-modern .border-olive-600 { border-color: var(--m-accent) !important; }

/* Cream/sand — çok hafif tonlar */
body.theme-modern .bg-cream-50 { background-color: var(--m-bg) !important; }
body.theme-modern .bg-cream-100 { background-color: #fafafa !important; }

/* Button stilleri */
body.theme-modern .btn-primary,
body.theme-modern button[type="submit"]:not([class*="bg-"]) {
    background: var(--m-bg-dark) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
body.theme-modern .btn-primary:hover {
    background: var(--m-accent) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25) !important;
}

/* Input/select/textarea */
body.theme-modern input[type="text"],
body.theme-modern input[type="email"],
body.theme-modern input[type="tel"],
body.theme-modern input[type="password"],
body.theme-modern input[type="number"],
body.theme-modern input[type="date"],
body.theme-modern input[type="search"],
body.theme-modern select,
body.theme-modern textarea {
    border-radius: 10px !important;
    border: 1.5px solid var(--m-border) !important;
    padding: 0.7rem 1rem !important;
    transition: all 0.2s ease;
    background: #fff !important;
}
body.theme-modern input:focus,
body.theme-modern select:focus,
body.theme-modern textarea:focus {
    border-color: var(--m-accent) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1) !important;
    outline: none !important;
}

/* Cards — daha yumuşak, yüksek radius */
body.theme-modern .rounded-2xl { border-radius: 1.25rem !important; }
body.theme-modern .rounded-3xl { border-radius: 1.75rem !important; }

/* Header */
body.theme-modern header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--m-border) !important;
}

/* Footer */
body.theme-modern footer {
    background: var(--m-bg-dark) !important;
    color: #e2e8f0 !important;
}
body.theme-modern footer a { color: var(--m-accent) !important; }

/* Hero — modern tema için büyük, minimal */
body.theme-modern .hero-overlay,
body.theme-modern [class*="hero"] {
    background: linear-gradient(135deg, var(--m-bg-dark) 0%, #1e293b 100%) !important;
}

/* Ürün kartı — modern glass effect */
body.theme-modern .group.block {
    border: 1px solid var(--m-border) !important;
    border-radius: 1.5rem !important;
    overflow: hidden;
    transition: all 0.3s ease;
}
body.theme-modern .group.block:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    border-color: var(--m-accent) !important;
}

/* Fiyat etiketleri */
body.theme-modern .text-olive-600.line-through,
body.theme-modern .line-through { opacity: 0.4 !important; }

/* Badge / rozet */
body.theme-modern span[class*="bg-olive-600"] {
    background: var(--m-bg-dark) !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.65rem;
}

/* Sepet kupon uygula — turkuaz */
body.theme-modern button[style*="d4af37"] {
    background: var(--m-accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
}

/* Scrollbar */
body.theme-modern ::-webkit-scrollbar { width: 10px; height: 10px; }
body.theme-modern ::-webkit-scrollbar-track { background: var(--m-bg-alt); }
body.theme-modern ::-webkit-scrollbar-thumb { background: var(--m-border); border-radius: 10px; }
body.theme-modern ::-webkit-scrollbar-thumb:hover { background: var(--m-text-muted); }

/* Announcement / kayan bant */
body.theme-modern .lalive-marquee,
body.theme-modern [style*="lalive-marquee"] {
    background: var(--m-bg-dark) !important;
}

/* AI widget */
body.theme-modern #lalive-ai-toggle {
    background: var(--m-bg-dark) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
}
body.theme-modern #lalive-ai-toggle:hover { background: var(--m-accent) !important; }

/* Prose/içerik sayfası */
body.theme-modern .cp-prose h2 { border-bottom-color: var(--m-accent) !important; }
body.theme-modern .cp-prose h3::before { color: var(--m-accent) !important; }
body.theme-modern .cp-prose a { color: var(--m-accent) !important; text-decoration-color: var(--m-accent) !important; }
body.theme-modern .cp-toc { background: var(--m-bg-alt) !important; border-color: var(--m-border) !important; }
body.theme-modern .cp-toc h4 { color: var(--m-text) !important; }
body.theme-modern .cp-toc a { color: var(--m-text-muted) !important; }
body.theme-modern .cp-toc a:hover { background: var(--m-accent) !important; color: #fff !important; }

/* Light transitions */
body.theme-modern * { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }

/* Links/CTA vurgu */
body.theme-modern a:not(.btn-primary):not(.btn-secondary):hover {
    color: var(--m-accent) !important;
}

/* Sticky promotional banner (gradient cyan) */
body.theme-modern [style*="linear-gradient(90deg,#5a6c34"] {
    background: linear-gradient(90deg, var(--m-bg-dark), #1e293b, var(--m-accent), #1e293b, var(--m-bg-dark)) !important;
    background-size: 300% 100% !important;
}
