/*
Theme Name: EfePress Modern
Theme URI: https://efepress.com
Description: Modern ve profesyonel blog teması
Version: 1.0
Author: EfePress
Author URI: https://yapay.efeokur.com
Tags: blog, modern, responsive, professional
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efepress-modern
*/

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff4444;
    --accent-color: #00bcd4;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-dark: #0a0a0a;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
}

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

.container-fluid {
    max-width: 100%;
    padding: 0 40px;
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--white);
}

/* Header */
.site-header {
    background: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-logo a {
    text-decoration: none;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Navigation */
.main-nav {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 25px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
}

.hero-stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-text h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-number {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
    border-radius: 5px;
    margin-top: 20px;
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 600;
}

.post-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-dark);
}

.post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Sponsors Section */
.sponsors-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.sponsors-section .section-title {
    color: var(--white);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.sponsor-logo {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
}

.sponsor-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.sponsor-logo img {
    max-width: 150px;
    max-height: 60px;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: all 0.3s;
}

.sponsor-logo:hover img {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-widget h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Blog Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 80px 0;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.recent-post-info h5 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.recent-post-info h5 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-info h5 a:hover {
    color: var(--accent-color);
}

.recent-post-date {
    font-size: 12px;
    color: var(--text-light);
}

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

.categories-list li {
    margin-bottom: 12px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 5px;
    transition: all 0.3s;
}

.categories-list a:hover {
    background: var(--accent-color);
    color: var(--white);
}

.category-count {
    background: var(--white);
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

/* Single Post */
.single-post-header {
    text-align: center;
    padding: 80px 0 40px;
    background: var(--bg-light);
}

.single-post-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: var(--text-light);
}

.single-post-content {
    max-width: 800px;
    margin: 60px auto;
    font-size: 18px;
    line-height: 1.8;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px 0;
}

.single-post-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 50px 0 20px;
}

.single-post-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 15px;
}

.single-post-content p {
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content,
    .blog-layout,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        padding: 80px 0 20px;
        transition: left 0.3s;
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav a {
        padding: 15px 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .posts-grid,
    .sponsors-grid,
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .single-post-title {
        font-size: 32px;
    }
}