/*
Theme Name: Twenty Twenty-Four Child - At Yarışı
Template: twentytwentyfour
Version: 1.0.0
Description: At Yarışı özel tema tasarımı
Author: Your Name
*/

/* Parent tema stilini import et */
@import url('../twentytwentyfour/style.css');

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    color: #333;
}

/* HEADER SECTION */
.site-header {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ffd700;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.site-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

/* MAIN CONTENT */
.main-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-section {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #8B0000;
}

.section-title {
    font-size: 28px;
    color: #8B0000;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    font-size: 32px;
    color: #ffd700;
}

/* POST/PAGE CONTENT */
.page-content,
.post-content {
    line-height: 1.8;
    color: #333;
}

.page-content h2,
.post-content h2 {
    color: #8B0000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.page-content h3,
.post-content h3 {
    color: #8B0000;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 20px;
}

.page-content p,
.post-content p {
    margin-bottom: 15px;
}

.page-content ul,
.page-content ol,
.post-content ul,
.post-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.page-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* POST META */
.post-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* FOOTER */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .content-section {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}