/*
Theme Name: Finans
Theme URI: https://example.com/finans-theme/
Author: Finans Team
Author URI: https://example.com/
Description: WordPress için geliştirilmiş kişisel gelir-gider takip sistemi teması
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finans
Tags: finance, budget, income, expense, responsive, bootstrap, dashboard
*/

/* 
Bu dosya sadece tema bilgilerini içerir.
Stil dosyaları assets/css/ klasöründe bulunmaktadır. 
*/

/* --------------------------------------------------------------------------
[GENEL STİL DEĞİŞKENLERİ]
-------------------------------------------------------------------------- */
:root {
    --primary-color: #007bff;
    --primary-dark: #0052cc;
    --primary-light: #66a6ff;
    --secondary-color: #6c757d;
    --accent-color: #ffc107; /* Sarı vurgu rengi */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --black-color: #000000;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    --body-bg: #f0f2f5;
    --card-bg: #ffffff;
    
    --font-family-sans-serif: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #007bff 100%);
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --transition-base: all .2s ease-in-out;
}

/* --------------------------------------------------------------------------
[TEMEL STİLLER]
-------------------------------------------------------------------------- */
body {
    font-family: var(--font-family-sans-serif);
    background-color: var(--body-bg);
    color: var(--dark-color);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
[TEMA KOMPONENTLERİ]
-------------------------------------------------------------------------- */

/* Header & Footer */
.site-header,
.site-footer {
    background: var(--gradient-primary);
    color: var(--white-color);
}

/* İçerik Alanı */
.site-content {
    padding: 2rem 0;
    min-height: 75vh;
}

.content-area {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

/* Butonlar */
.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-outline-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Kartlar & Paneller */
.card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    background-color: var(--card-bg);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-gradient {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Widget'lar */
.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.widget-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
[ÖZEL SAYFA STİLLERİ]
-------------------------------------------------------------------------- */

/* Dashboard */
.stats-card {
    padding: 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.09);
    background-color: var(--card-bg);
    margin-bottom: 1rem;
    transition: var(--transition-base);
    border: 1px solid #e9ecef;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stats-icon {
    font-size: 2rem;
    margin-right: 1rem;
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

.stats-label {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

/* Vurgu Renkleri */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

/* --------------------------------------------------------------------------
[MEDİA SORGU]
-------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .site-content {
        padding: 1rem 0;
    }
    
    .content-area {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .stats-number {
        font-size: 1.25rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
[YARDIMCI SINIFLAR] 
-------------------------------------------------------------------------- */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.border-accent-left {
    border-left: 4px solid var(--accent-color);
    padding-left: 0.75rem;
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hover-accent:hover {
    color: var(--accent-color) !important;
}

/* Sayfalama - Pagination */
.pagination {
    margin: 1.5rem 0;
}

.page-numbers {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
}

.page-numbers.dots {
    border: none;
    color: var(--secondary-color);
}

.page-numbers.dots:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* ===== HEADER ===== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    margin-top: 1rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-right: 1.5rem;
}

.nav-menu li:last-child {
    margin-right: 0;
}

.nav-menu a {
    color: #495057;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #0d6efd;
}

/* ===== CONTENT ===== */
.page-title {
    color: #131010;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    position: relative;
    padding-left: 0.75rem;
    margin-bottom: 2rem;
}

.page-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #ffffff, rgba(255,255,255,0.4));
    border-radius: 2px;
}

/* ===== DASHBOARD ===== */
.dashboard-card {
    background-color: var(--card-bg);
    border-radius: 0.375rem;
    box-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
}

.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.dashboard-card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #495057;
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-card-income {
    color: #198754;
}

.dashboard-card-expense {
    color: #dc3545;
}

.dashboard-card-balance {
    color: #0d6efd;
}

/* ===== FORMS ===== */
.form-container {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #343a40;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.site-info {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-info a {
    color: rgba(255, 255, 255, 0.9);
}

.site-info a:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .dashboard-card-value {
        font-size: 1.5rem;
    }
} 