/**
 * Normal Sayfalar için CSS
 * AMP sayfaları bu dosyayı kullanmaz
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.logo a {
    text-decoration: none;
    color: #008000;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #707070;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #008000;
}

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

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        justify-content: center;
    }
}

/* Typography */
h1, h2, h3, h4 {
    color: #333;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #008000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #008000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #006600;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Sidebar */
.sidebar {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #008000;
    padding-bottom: 0.5rem;
}

.sidebar-posts {
    list-style: none;
}

.sidebar-posts li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-post-image {
    margin-bottom: 0.5rem;
}

.sidebar-post-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.sidebar-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-post-content h4 a {
    color: #333;
}

.sidebar-post-excerpt {
    font-size: 0.9rem;
    color: #707070;
    margin-bottom: 0.5rem;
}

.sidebar-post-date {
    font-size: 0.85rem;
    color: #707070;
}

.sidebar-categories {
    list-style: none;
}

.sidebar-categories li {
    margin-bottom: 0.5rem;
}

.sidebar-categories a {
    color: #707070;
    display: flex;
    justify-content: space-between;
}

.category-count {
    color: #008000;
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #707070;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #707070;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
}

.hero-section h1 {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: #707070;
    margin-bottom: 2rem;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
}

/* Features Section */
.features-section {
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.feature-item h3 {
    color: #008000;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-image {
    width: 100%;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content h3 a {
    color: #333;
}

.post-excerpt {
    color: #707070;
    margin-bottom: 1rem;
}

.post-date {
    font-size: 0.85rem;
    color: #707070;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #008000;
    font-weight: 600;
}

/* Blog List */
.blog-header {
    margin-bottom: 2rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item .post-image {
    flex: 0 0 300px;
}

.post-item .post-image img {
    width: 100%;
    height: auto;
}

.post-category {
    display: inline-block;
    background-color: #008000;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.post-category a {
    color: #fff;
    text-decoration: none;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Blog Detail */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body ul,
.post-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-body blockquote {
    border-left: 4px solid #008000;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #707070;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-post-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: auto;
}

.related-post-content {
    padding: 1rem;
}

.related-post-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-content h3 a {
    color: #333;
}

.related-post-excerpt {
    font-size: 0.9rem;
    color: #707070;
    margin-bottom: 0.5rem;
}

.related-post-date {
    font-size: 0.85rem;
    color: #707070;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #707070;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-link:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.pagination-link.active {
    background-color: #008000;
    color: #fff;
    border-color: #008000;
}

/* Page Content */
.page-content {
    max-width: 800px;
}

.page-featured-image {
    margin-bottom: 2rem;
}

.page-featured-image img {
    width: 100%;
    height: auto;
}

.page-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h1 {
    font-size: 6rem;
    color: #008000;
    margin-bottom: 1rem;
}

.error-page h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Category Info */
.category-info {
    color: #707070;
    margin-bottom: 1rem;
}
