:root {
    --bg-color: #181818;           /* Yeni arka plan rengi */
    --text-color: #e6f4ea;         /* Açık yeşilimsi-beyaz yazı */
    --link-color: #a3b18a;      /* Sage: soft yeşil-gri */
    --link-hover: #b5c99a;      /* Sage'in açık tonu */
    --sidebar-bg: #232323;         /* Sidebar için koyu gri */
    --border-color: #222;          /* Sınırlar için koyu gri */
    --main-font: 'JetBrains Mono', 'Inter', sans-serif;
    --header-bg: #181818;          /* Header için yeni arka plan */
}

body {
    font-family: var(--main-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    background-image: linear-gradient(135deg, #181818 60%, #232323 100%);
}

a {
    color: var(--link-color) !important;
    transition: color 0.2s, text-decoration 0.2s;
}

a:hover {
    color: var(--link-hover) !important;
    text-decoration: underline;
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-item a {
    display: block;
    padding: 0.25rem 0;
    color: var(--text-color);
    text-decoration: none;
}

.sidebar-item a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
    }
    .main-nav ul {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* Tailwind ile çakışmaması için ek dark tema stilleri */
.bg-sidebar-bg {
    background-color: var(--sidebar-bg) !important;
}
.text-gray-800, .text-gray-900, .text-gray-600, .text-gray-700, .text-gray-500, .text-gray-200, .text-gray-300, .text-gray-100 {
    color: var(--text-color) !important;
}
.bg-gray-100 {
    background-color: #223427 !important; /* Sidebar kartları için hafif yeşil */
}
.border-gray-200 {
    border-color: var(--border-color) !important;
}

/* Doğa teması için ekstra detaylar */
.project-card {
    background: rgba(38, 69, 51, 0.15);
    box-shadow: 0 2px 8px 0 rgba(52, 211, 153, 0.05);
}

.site-footer {
    background-color: #161616 !important; /* Daha koyu düz arka plan */
    border-top: 1px solid var(--border-color);
    color: var(--link-color) !important; /* Footer metni sage rengi */
}

.site-footer a {
    color: var(--link-color) !important;
}

.site-footer a:hover {
    color: var(--link-hover) !important;
}

.site-header {
    position: sticky; /* Sayfa ile hareket etmesi için */
    top: 0; /* Üstte sabitlenmesi için */
    z-index: 1000; /* Diğer içeriklerin altında kalmaması için */
    backdrop-filter: blur(16px); /* Bulanıklık efekti (daha fazla blur) */
    -webkit-backdrop-filter: blur(16px); /* Safari desteği */
    background-color: rgba(24, 24, 24, 0.55); /* #181818, daha belirgin transparanlık */
    transition: background-color 0.3s, backdrop-filter 0.3s; /* Geçiş efekti */
    border-bottom: 1px solid var(--border-color); /* Alt çizgi */
}

.link-sage {
    color: var(--link-color);
    transition: color 0.2s;
}
.link-sage:hover {
    color: var(--link-hover);
}