/*
Theme Name: Bonisabahis Child Theme
Theme URI: https://bonisabahis.com
Description: Bonisabahis için özel Understrap child tema - Yeşil-siyah kurumsal tema, SEO uyumlu
Author: Bonisabahis Team
Author URI: https://bonisabahis.com
Template: understrap
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bonisabahis-child
*/

/* ============================================
   RENK SİSTEMİ - Yeşil / Siyah
   ============================================ */
:root {
    --grn-primary:  #10B981;
    --grn-dark:     #065F46;
    --grn-light:    #D1FAE5;
    --grn-darker:   #022C22;
    --grn-neon:     #34D399;
    --ink-black:    #0A0F0D;
    --ink-soft:     #1A211E;
    --ink-slate:    #6B7280;
    --surface:      #F9FAFB;
    --white:        #FFFFFF;

    --grad-green:       linear-gradient(135deg, #10B981 0%, #065F46 100%);
    --grad-green-hover: linear-gradient(135deg, #065F46 0%, #022C22 100%);
    --grad-dark:        linear-gradient(135deg, #0A0F0D 0%, #022C22 100%);

    --shadow-sm: 0 2px 10px rgba(6,95,70,.08);
    --shadow-md: 0 4px 15px rgba(16,185,129,.15);
    --shadow-lg: 0 15px 40px rgba(10,15,13,.25);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
}

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

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

.home .entry-header,
.home .entry-content > p:empty { display: none; }

/* ============================================
   BUTON YARDIMCI SINIFLARI
   ============================================ */
.btn-green {
    display: inline-block;
    background: var(--grad-green);
    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-green:hover {
    background: var(--grad-green-hover);
    transform: translateY(-2px);
    color: #fff;
}

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

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

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

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

article.post {
    background: #fff;
    border: 1px solid #e5e7eb;
    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(--grn-primary);
}

.widget-title {
    color: var(--grn-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(--grad-green);
    border-radius: 2px;
}

.footer-widget { margin-bottom: 1.5rem; }
.footer-widget-title {
    color: var(--grn-neon);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

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

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