* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background-color: #eff0e7;

}



/* Sol Dikey Menü - Sabit Pozisyon */

.sidebar {

    position: fixed;

    left: 0;

    top: 0;

    width: 250px;

    height: 100vh;

    background: linear-gradient(135deg, #3e8535 0%, #173a20 100%);

    padding: 20px;

    overflow-y: auto;

    box-shadow: 2px 0 10px rgba(0,0,0,0.1);

    z-index: 1000;

}



/* Scrollbar Özelleştirme */

.sidebar::-webkit-scrollbar {

    width: 8px;

}



.sidebar::-webkit-scrollbar-track {

    background: rgba(255,255,255,0.1);

    border-radius: 10px;

}



.sidebar::-webkit-scrollbar-thumb {

    background: rgba(255,255,255,0.3);

    border-radius: 10px;

}



.sidebar::-webkit-scrollbar-thumb:hover {

    background: #ffffff93;

}



.sidebar .logo {

    text-align: center;

    padding: 20px 0;

    border-bottom: 2px solid rgba(255,255,255,0.2);

    margin-bottom: 30px;

}



.sidebar .logo h2 {

    color: white;

    font-size: 24px;

}



.sidebar .menu {

    list-style: none;

    padding-bottom: 80px; /* Admin link için boşluk */

}



.sidebar .menu li {

    margin-bottom: 10px;

}



.sidebar .menu li a {

    display: block;

    padding: 15px 20px;

    color: white;

    text-decoration: none;

    border-radius: 8px;

    transition: all 0.3s ease;

}



.sidebar .menu li a:hover,

.sidebar .menu li a.active {

    background: rgba(255,255,255,0.2);

    transform: translateX(5px);

}



.admin-link {

    position: fixed;

    bottom: 20px;

    left: 20px;

    width: 210px;

}



.admin-link a {

    display: block;

    padding: 12px;

    background: rgba(255,255,255,0.1);

    color: white;

    text-align: center;

    text-decoration: none;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,0.3);

    transition: all 0.3s ease;

}



.admin-link a:hover {

    background: rgba(255,255,255,0.2);

}



/* Ana İçerik */

.content {

    margin-left: 250px;

    padding: 40px;

    min-height: 100vh;

}



.content h1 {

    color: #333;

    margin-bottom: 20px;

}



/* Ekip Kartları */

.team-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 30px;

    margin-top: 30px;

}



.team-card {

    background: white;

    border-radius: 12px;

    padding: 20px;

    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

    text-align: center;

    transition: transform 0.3s ease;

}



.team-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 12px rgba(0,0,0,0.15);

}



.team-card img {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 15px;

    border: 4px solid #667eea;

}



.team-card h3 {

    color: #333;

    margin-bottom: 5px;

}



.team-card .position {

    color: #667eea;

    font-size: 14px;

    margin-bottom: 10px;

}



.team-card p {

    color: #666;

    font-size: 14px;

    line-height: 1.6;

}



/* Makale Kartları */

.articles-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));

    gap: 25px;

    margin-top: 30px;

}



.article-card {

    background: white;

    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;

}



.article-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 12px rgba(0,0,0,0.15);

}



.article-card h3 {

    color: #333;

    margin-bottom: 10px;

}



.article-date {

    color: #999;

    font-size: 13px;

    margin-bottom: 15px;

}



.article-card p {

    color: #666;

    line-height: 1.6;

}



/* Admin Panel Stilleri */

.admin-container {

    max-width: 1200px;

    margin: 0 auto;

}



.login-container {

    margin-left: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 100vh;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}



.login-box {

    background: white;

    padding: 40px;

    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    width: 100%;

    max-width: 400px;

}



.login-box h2 {

    text-align: center;

    color: #333;

    margin-bottom: 30px;

}



.form-group {

    margin-bottom: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #333;

    font-weight: 500;

}



.form-group input,

.form-group textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 6px;

    font-size: 14px;

    transition: border-color 0.3s ease;

}



.form-group input:focus,

.form-group textarea:focus {

    outline: none;

    border-color: #667eea;

}



.form-group textarea {

    resize: vertical;

    min-height: 100px;

}



.btn {

    width: 100%;

    padding: 12px;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    border: none;

    border-radius: 6px;

    font-size: 16px;

    cursor: pointer;

    transition: transform 0.2s ease;

}



.btn:hover {

    transform: translateY(-2px);

}



.admin-header {

    background: white;

    padding: 20px;

    border-radius: 12px;

    margin-bottom: 30px;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logout-btn {

    padding: 10px 20px;

    background: #e74c3c;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    transition: background 0.3s ease;

}



.logout-btn:hover {

    background: #c0392b;

}



.admin-section {

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    margin-bottom: 30px;

}



.admin-section h2 {

    color: #333;

    margin-bottom: 20px;

    padding-bottom: 10px;

    border-bottom: 2px solid #667eea;

}



/* Responsive */

@media (max-width: 768px) {

    .sidebar {

        width: 100%;

        height: auto;

        position: relative;

    }

    

    .content {

        margin-left: 0;

        padding: 20px;

    }

    

    .admin-link {

        position: relative;

        margin-top: 20px;

        width: auto;

        left: 0;

        bottom: 0;

    }

}