/*
Theme Name: Beylikduzu Escort
Theme URI: https://beylikduzuescort.net
Author: Beylikduzu Escort
Author URI: https://beylikduzuescort.net
Description: Modern, hızlı ve özelleştirilebilir blog teması. Renk ayarları, footer ayarları ve tüm özellikler WordPress admin panelinden yönetilebilir.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beylikduzu-escort
Tags: blog, modern, responsive, customizer, fast
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary-color, #2c3e50);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-description {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation */
.main-navigation {
    margin-top: 10px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Main Content */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

@media (max-width: 768px) {
    .content-area {
        grid-template-columns: 1fr;
    }
}

/* Posts */
.post {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-thumbnail {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 300px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--primary-color, #2c3e50);
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--accent-color, #e74c3c);
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-content {
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color, #2c3e50);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.read-more:hover {
    background: var(--accent-color, #e74c3c);
}

/* Sidebar */
.sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color, #2c3e50);
    color: var(--primary-color, #2c3e50);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: var(--accent-color, #e74c3c);
}

/* Single Post */
.single-post .post-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Tags */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    margin: 5px 5px 5px 0;
    transition: background 0.3s, color 0.3s;
}

.post-tags a:hover {
    background: var(--primary-color, #2c3e50);
    color: #fff;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comments-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color, #2c3e50);
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color, #2c3e50);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
}

.comment-form {
    margin-top: 30px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #2c3e50);
}

.comment-form .submit {
    background: var(--primary-color, #2c3e50);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.comment-form .submit:hover {
    background: var(--accent-color, #e74c3c);
}

/* Footer */
.site-footer {
    background: var(--footer-bg-color, #2c3e50);
    color: var(--footer-text-color, #fff);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    margin-bottom: 15px;
    color: var(--footer-heading-color, #fff);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: var(--footer-link-color, rgba(255,255,255,0.8));
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--footer-link-hover-color, #fff);
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--footer-text-color, rgba(255,255,255,0.8));
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #fff;
    color: var(--primary-color, #2c3e50);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color, #2c3e50);
    color: #fff;
}

/* Archive Page */
.archive-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-title {
    font-size: 32px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        justify-content: center;
    }
    
    .post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


