/*
Theme Name: Orion Pro Magazine
Theme URI: https://example.com
Author: Your Name
Description: Modern magazin teması
Version: 3.0.0
License: GPL v2 or later
Text Domain: orion-pro
*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    color: #e63946;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #d62828;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
}

.site-title a {
    color: #333;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #e63946;
}

.menu-toggle {
    display: none;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 30px 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Featured Post (First) */
.featured-post {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Post Card */
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-post .post-thumbnail img {
    height: 400px;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e63946;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-post .post-title {
    font-size: 1.75rem;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: #e63946;
}

.post-excerpt {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.875rem;
    color: #999;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author img {
    border-radius: 50%;
}

/* No Posts */
.no-posts {
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.no-posts p {
    font-size: 1.125rem;
    color: #666;
}

/* Sidebar */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
    display: block;
}

.widget ul li a:hover {
    color: #e63946;
    padding-left: 5px;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.site-info {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

.site-info a {
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    background: #fff;
    border-radius: 4px;
    color: #333;
}

.pagination .current {
    background: #e63946;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post {
        grid-column: 1;
        grid-row: auto;
    }
    
    .main-navigation ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
}
