/*
Theme Name: Bonisabet Child Theme
Theme URI: https://bonisabet.com
Description: Bonisabet için özel Understrap child tema - Mavi-lacivert kurumsal tasarım, SEO uyumlu, spam-free
Author: Bonisabet Team
Author URI: https://bonisabet.com
Template: understrap
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bonisabet-child
*/

/* ============================================
   RENK SİSTEMİ - Mavi / Lacivert
   ============================================ */
:root {
    --blue-primary:   #3B82F6;
    --blue-dark:      #1E3A8A;
    --blue-light:     #DBEAFE;
    --blue-darker:    #172554;
    --color-ink:      #1E293B;
    --color-slate:    #64748B;
    --color-light:    #F8FAFC;
    --color-white:    #FFFFFF;

    --gradient-blue:       linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    --gradient-blue-hover: linear-gradient(135deg, #1E3A8A 0%, #172554 100%);

    --shadow-sm: 0 2px 10px rgba(30,58,138,.08);
    --shadow-md: 0 4px 15px rgba(59,130,246,.15);
    --shadow-lg: 0 15px 40px rgba(15,23,42,.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ============================================
   TEMEL
   ============================================ */
body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-ink);
    line-height: 1.7;
    background: var(--color-white);
}

a { color: var(--blue-primary); }
a:hover { color: var(--blue-dark); }

/* WordPress varsayılan sayfa başlığı/içeriğini front-page'de gizle */
.home .entry-header,
.home .entry-content > p:empty { display: none; }

/* ============================================
   BUTON YARDIMCI SINIFLARI (blog/diğer sayfalar için)
   ============================================ */
.btn-blue {
    display: inline-block;
    background: var(--gradient-blue);
    color: #fff;
    padding: .875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
}
.btn-blue:hover {
    background: var(--gradient-blue-hover);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-blue {
    display: inline-block;
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
    padding: .875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}
.btn-outline-blue:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* ============================================
   BLOG / İÇ SAYFA STİLLERİ
   ============================================ */
.text-blue { color: var(--blue-dark); font-weight: 600; }

.wp-block-post-title,
.entry-title {
    color: var(--color-ink);
    font-weight: 800;
}

.blog .site-content,
.archive .site-content,
.single .site-content {
    padding: 3rem 0;
}

/* Blog kartları */
article.post {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2rem;
    transition: all .3s ease;
}
article.post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--blue-primary);
}

/* Widget başlıkları */
.widget-title {
    color: var(--blue-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* Footer widget */
.footer-widget { margin-bottom: 1.5rem; }
.footer-widget-title {
    color: var(--blue-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* ============================================
   FORM / INPUT
   ============================================ */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    transition: border-color .3s;
}
input:focus, textarea:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body { font-size: 15px; }
}
