/* css/global.css */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --navbar-bg: #f8f9fa;
    --footer-bg: #212529;
    --footer-text: #ffffff;
    --card-bg: #f8f9fa;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --navbar-bg: #1f1f1f;
    --footer-bg: #000000;
    --footer-text: #cccccc;
    --card-bg: #1e1e1e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar Özelleştirmeleri */
.navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 1px solid #dee2e6;
}
[data-theme="dark"] .navbar {
    border-bottom: 1px solid #333;
}
[data-theme="dark"] .navbar-light .navbar-nav .nav-link,
[data-theme="dark"] .navbar-light .navbar-brand {
    color: #e0e0e0;
}

/* Footer her zaman en altta */
footer {
    margin-top: auto;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
}

.theme-switch {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}