/* ==================== DEĞİŞKENLER ==================== */
:root {
    --koyu-yesil: #1e3a2f;
    --toprak: #8b5a2b;
    --acik-zemin: #fff2e0;
    --altin: #c9a03d;
    --tas: #6b6b6b;
}

/* ==================== TEMEL SIFIRLAMA ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ==================== BODY ==================== */
body {
    font-family: 'Segoe UI', 'Georgia', 'Times New Roman', serif;
    background: #fef7e8;
    color: #2e3b2c;
    line-height: 1.6;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: auto;
    padding: 0 25px;
}

/* ==================== HEADER & NAVBAR ==================== */
header {
    background: var(--koyu-yesil);
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.7rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--altin);
}

.logo p {
    font-size: 0.8rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

nav a:hover {
    color: var(--altin);
    border-bottom: 2px solid var(--altin);
}

.aktif-menu {
    color: var(--altin) !important;
    border-bottom: 2px solid var(--altin) !important;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    flex: 1;
    min-width: 280px;
    background: white;
    border-radius: 32px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 35px;
    border-bottom: 1px solid #e0d6c8;
    padding-bottom: 25px;
}

.sidebar-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-widget h3 {
    color: var(--koyu-yesil);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-left: 4px solid var(--toprak);
    padding-left: 12px;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--koyu-yesil);
    color: #ddddcc;
    text-align: center;
    padding: 45px 20px;
    margin-top: 60px;
}

footer a {
    color: var(--altin);
    text-decoration: none;
}

/* ==================== ORTAK YARDIMCI ==================== */
.main-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.content-main {
    flex: 3;
    min-width: 0;
}

/* ==================== MOBİL UYUMLULUK ==================== */
@media (max-width: 1024px) {
    .main-wrapper { flex-direction: column; }
    .sidebar { position: static; width: 100%; }
}

@media (max-width: 820px) {
    .header-flex { flex-direction: column; gap: 15px; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .logo h1 { font-size: 1.3rem; }
    .logo p { font-size: 0.7rem; }
    nav ul { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 0.75rem; white-space: nowrap; }
    footer { padding: 30px 15px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .logo h1 { font-size: 1.1rem; }
    .logo img { height: 40px !important; }
    .logo { gap: 10px !important; }
    nav ul { gap: 0.6rem; }
    nav a { font-size: 0.65rem; }
    footer { font-size: 0.7rem; }
}