/*
Theme Name: Tutku Blog
Theme URI: https://tutku.blog
Author: Tutku
Author URI: https://tutku.blog
Description: Modern Türkçe blog teması - Şık tasarım ve kullanıcı dostu arayüz
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: tutku-blog
Tags: blog, turkish, modern, responsive, magazine
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 50%, #B71C1C 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Turkish Flag Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#page {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, rgba(227, 10, 23, 0.95) 0%, rgba(200, 16, 46, 0.95) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

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

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    gap: 10px;
}

.site-logo img {
    max-height: 50px;
    margin-right: 10px;
}

.turk-flag {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.main-navigation a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content Area */
.site-main {
    padding: 30px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Chat Login Section */
.chat-login-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.chat-login-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.chat-header {
    text-align: center;
    margin-bottom: 20px;
}

.chat-header h2 {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(227, 10, 23, 0.2);
}

.chat-header p {
    color: #666;
    font-size: 14px;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(227, 10, 23, 0.2);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.form-group input::placeholder {
    color: #999;
}

@media (max-width: 768px) {
    .form-group input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.form-group input:focus {
    outline: none;
    border-color: #E30A17;
    box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.1), 0 5px 15px rgba(227, 10, 23, 0.2);
    transform: translateY(-2px);
}

.chat-button {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 5px 20px rgba(227, 10, 23, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.chat-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.chat-button:hover::before {
    left: 100%;
}

.chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 10, 23, 0.6);
    background: linear-gradient(135deg, #C8102E 0%, #B71C1C 100%);
}

.chat-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.5);
}

/* Alternative Version Button */
.alternative-version {
    margin-top: 20px;
    text-align: center;
}

.alt-version-button {
    display: inline-block;
    background: linear-gradient(135deg, #C8102E 0%, #E30A17 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.4);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.alt-version-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.alt-version-button:hover::before {
    left: 100%;
}

.alt-version-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 10, 23, 0.5);
    background: linear-gradient(135deg, #B71C1C 0%, #C8102E 100%);
}

.alt-version-button:active {
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .alt-version-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* News Sections */
.news-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.news-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
}

.news-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title h3 {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 700;
}

.news-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

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

.news-item a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #E30A17;
}

.news-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
    min-height: 150px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.news-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(227, 10, 23, 0.3);
}

/* Blog Section */
.blog-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
}

.blog-section h1 {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

.blog-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.widget-title {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(227, 10, 23, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(227, 10, 23, 0.1);
    overflow: hidden;
    clear: both;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    line-height: 1.5;
}

.widget ul li a:hover {
    color: #E30A17;
}

.widget ul li a strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.widget ul li a small {
    display: block;
    margin-top: 4px;
}

.widget ul li img {
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.widget ul li:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(227, 10, 23, 0.3);
}

/* Recent Posts Widget Styling */
.recent-post-item {
    padding: 0 !important;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(227, 10, 23, 0.1);
    padding-bottom: 15px !important;
}

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

.recent-post-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    transition: all 0.3s;
}

.recent-post-link:hover {
    transform: translateX(5px);
    color: #E30A17;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.recent-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    margin: 0 !important;
    border-radius: 0;
}

.recent-post-link:hover .recent-post-img {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.3);
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post-link:hover .recent-post-title {
    color: #E30A17;
}

.recent-post-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.widget ul li .count {
    float: right;
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(227, 10, 23, 0.3);
    transition: transform 0.3s;
}

.widget ul li:hover .count {
    transform: scale(1.1);
}

/* Rules Section */
.rules-list {
    list-style: none;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(227, 10, 23, 0.1);
    transition: padding-left 0.3s;
}

.rules-list li:hover {
    padding-left: 5px;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li::before {
    content: '✓';
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Quote Section */
.quote-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
    font-style: italic;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(15px);
    color: white;
    padding: 50px 0 25px;
    margin-top: 60px;
    border-top: 3px solid rgba(227, 10, 23, 0.5);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(227, 10, 23, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

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

.footer-widget h3 {
    margin-bottom: 18px;
    background: linear-gradient(135deg, #E30A17 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 20px;
}

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

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #ccc;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(227, 10, 23, 0.3) 0%, rgba(200, 16, 46, 0.3) 100%);
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    font-weight: 500;
}

.footer-links a:hover {
    background: linear-gradient(135deg, rgba(227, 10, 23, 0.5) 0%, rgba(200, 16, 46, 0.5) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
    }
    
    .chat-login-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .chat-header h2 {
        font-size: 24px;
    }
    
    .chat-header p {
        font-size: 13px;
    }
    
    .news-sections {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-section {
        padding: 15px;
    }
    
    .section-title h3 {
        font-size: 16px;
    }
    
    .blog-section {
        padding: 20px;
    }
    
    .blog-section h1 {
        font-size: 20px;
    }
    
    .quote-section {
        padding: 15px;
        margin: 20px 0;
        font-size: 14px;
    }
}

/* Posts Section */
.posts-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.section-heading {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    margin-bottom: 35px;
    padding-bottom: 18px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(227, 10, 23, 0.2);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.post-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
    z-index: 1;
}

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

.post-thumbnail-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.post-thumbnail-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(227, 10, 23, 0.1) 100%);
    pointer-events: none;
}

.post-thumbnail-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.post-card:hover .post-thumbnail-wrapper img {
    transform: scale(1.1);
}

.post-content-wrapper {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .post-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card .post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-card .post-title a:hover {
    color: #E30A17;
}

.post-card .post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.post-excerpt p {
    margin-bottom: 10px;
}

.post-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.read-more {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.read-more:hover {
    transform: translateX(5px);
    filter: brightness(1.2);
}

.no-posts {
    text-align: center;
    padding: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

/* Post Styles */
.post {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
}

.post-title {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #C8102E;
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content {
    color: #666;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.98);
    color: #E30A17;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 10, 23, 0.2);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227, 10, 23, 0.4);
    border-color: transparent;
}

/* Chat Form Wrapper */
.chat-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

/* Content Area */
.content-area {
    flex: 1;
}

/* Entry Header */
.entry-header {
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.page-title {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.archive-description {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Error 404 */
.error-404 {
    background: rgba(255, 255, 255, 0.98);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.error-404::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E30A17 0%, #C8102E 50%, #E30A17 100%);
}

.not-found {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-content {
    margin-top: 20px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-field:focus {
    outline: none;
    border-color: #E30A17;
}

.search-submit {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.5);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.comments-title {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    margin-bottom: 35px;
    font-weight: 700;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #E30A17;
    backdrop-filter: blur(5px);
}

.comment-list .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.comment-author {
    font-weight: 700;
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-size: 16px;
}

.comment-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 10px;
}

.no-comments {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #E30A17;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 10px;
}

.comment-form #submit {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comment-form #submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.5);
}

/* Page Links */
.page-links {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.page-links a,
.page-links span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.page-links a:hover,
.page-links .page-links-title {
    background: #E30A17;
    color: white;
}

/* Post Thumbnail */
.post-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(227, 10, 23, 0.3);
}

/* Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-subtitle {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    color: #E30A17;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-title:hover {
    color: #C8102E;
}

/* Site Content */
.site-content {
    min-height: calc(100vh - 200px);
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    position: relative;
}

.site-logo {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Site Wrapper */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #E30A17;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #C8102E;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

/* Lists */
ul, ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(227, 10, 23, 0.3);
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #E30A17;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    appearance: none;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
.button {
    background: linear-gradient(135deg, #E30A17 0%, #C8102E 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 10, 23, 0.5);
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
.button:active {
    transform: translateY(0);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #E30A17;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #999;
    font-style: normal;
}

/* Code */
code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e83e8c;
}

pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* HR */
hr {
    border: none;
    border-top: 2px solid #f0f0f0;
    margin: 30px 0;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .chat-button,
    button,
    input[type="submit"],
    input[type="button"],
    .button,
    .search-submit {
        min-height: 44px; /* iOS recommended touch target */
    }
    
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .main-navigation a {
        min-height: 44px;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .site-header {
        padding: 10px 0;
    }
    
    .chat-login-section {
        padding: 15px;
    }
}

/* Additional Responsive Styles */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .site-logo {
        font-size: 20px;
    }
    
    .turk-flag {
        font-size: 32px;
    }
    
    .chat-login-section {
        padding: 20px;
    }
    
    .chat-header h2 {
        font-size: 24px;
    }
    
    .news-sections {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-section {
        padding: 15px;
    }
    
    .blog-section {
        padding: 20px;
    }
    
    .post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .comment-list .children {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-logo {
        font-size: 18px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .turk-flag {
        font-size: 30px;
    }
    
    .chat-login-section {
        padding: 15px;
    }
    
    .chat-header h2 {
        font-size: 22px;
    }
    
    .chat-header p {
        font-size: 12px;
    }
    
    .chat-form-wrapper {
        max-width: 100%;
    }
    
    .chat-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .news-sections {
        gap: 10px;
    }
    
    .news-section {
        padding: 12px;
    }
    
    .blog-section {
        padding: 15px;
    }
    
    .widget {
        padding: 15px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .post {
        padding: 15px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links a {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .pagination,
    .comment-form,
    .post-navigation {
        display: none;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

