/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2f5aae;
    --secondary-color: #2f5aae;
    --bg-color: #ffffff;
    --light-bg: #f4f5f7;
    --dark-bg: #121212;
    --text-color: #272626;
    --text-dark-bg: #ffffff;
    --container-width: 1170px;
    --border-radius: 8px;
}

html {
    font-size: 16px;
    line-height: 1.7;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Utility classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.screen-reader-text {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Header */
.header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--light-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 10px 0;
}

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

.logo img {
    max-height: 45px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: rgba(47, 90, 174, 0.1);
}

/* Main Content */
.main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.main-content {
    background-color: var(--bg-color);
}

.page-title {
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    margin-bottom: 20px;
}

.content {
    font-size: 16px;
    line-height: 1.7;
}

.content p {
    margin-bottom: 20px;
}

.content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 30px 0 20px 0;
    color: var(--text-color);
}

.content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content li {
    margin-bottom: 10px;
}

.content a {
    color: var(--primary-color);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    background-color: var(--bg-color);
}

.widget {
    background-color: var(--bg-color);
    border: 1px solid #dddddd;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 2px 0 rgba(0,0,0,0.15);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Search Form */
.search-form {
    display: flex;
    border: 2px solid #dddddd;
    border-radius: 3px;
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
}

.search-field::placeholder {
    color: #888;
}

.search-submit {
    background-color: var(--primary-color);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: #1e4a8c;
}

.search-submit svg {
    fill: currentColor;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-dark-bg);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 960px) {
    :root {
        --container-width: 992px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-title h1 {
        font-size: 32px;
    }
    
    .content h2 {
        font-size: 28px;
    }
    
    .main {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 748px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 0 10px;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .content h2 {
        font-size: 24px;
    }
    
    .widget {
        padding: 20px;
    }
    
    .main {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .content h2 {
        font-size: 22px;
    }
    
    .widget {
        padding: 15px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo img {
        max-height: 35px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeIn 0.6s ease-out;
}

.widget {
    animation: fadeIn 0.8s ease-out;
}

/* Hover efektleri */
.widget:hover {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

/* Focus states için accessibility */
.search-field:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.search-submit:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.nav-menu a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
} 