/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a:hover {
    color: #0d47a1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.wrapper {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

/* Header Stilleri */
.header {
    background: #fff;
    padding: 20px 0;
    position: relative;
}

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

.logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin-left: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.logo-container {
    flex: unset;
    min-width: 250px;
}

.logo-text {
    color: white;
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.header-right-group {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 7px;
}

.search-form {
    flex: unset;
    min-width: unset;
    max-width: 180px;
    margin: 0;
    position: relative;
}

.search-form__field {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-form__button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #1a237e;
    font-size: 18px;
}

.social-icon {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 10px;
}

.social-icon a svg {
    width: 18px;
    height: 18px;
}

.social-icon a {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: #1a237e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon a:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-3px);
}

/* Menü Stilleri */
.main-menu {
    background: #1a237e;
    margin-top: 20px;
}

.main-menu__list {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu__list li {
    position: relative;
}

.main-menu__list li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.main-menu__list li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff9800;
    transition: width 0.3s;
}

.main-menu__list li a:hover:after {
    width: 100%;
}

/* İçerik Stilleri */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content {
    flex: unset;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.sidebar {
    display: none;
}

.title {
    font-size: 24px;
    margin: 25px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1a237e;
    color: #1a237e;
    font-weight: 700;
}

/* Makale Kartları */
.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.posts__item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.posts__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.posts__item-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.posts__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.post-info {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.post-info__cat {
    background: #ff9800;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}

.post-info__time {
    color: white;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 3px;
}

.posts__item-content {
    padding: 20px;
}

.posts__item-title {
    margin-bottom: 10px;
}

.posts__item-title a {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.posts__item-title a:hover {
    color: #1a73e8;
}

.posts__item-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Popüler Gönderiler */
.popular-posts-container {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.popular-posts-slider {
    position: relative;
    overflow: hidden;
}

.popular-posts-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.popular-post-card {
    min-width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.popular-post-card:hover {
    transform: translateY(-5px);
}

.popular-post-image {
    height: 120px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-emoji {
    font-size: 48px;
    color: white;
}

.post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.popular-post-content {
    padding: 20px;
}

.popular-post-title {
    margin-bottom: 10px;
}

.popular-post-title a {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-title a:hover {
    color: #1a73e8;
}

.popular-post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1a237e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav-btn:hover {
    background: #0d47a1;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* Footer Stilleri */
.footer {
    background: #1a237e;
    color: white;
    padding: 40px 0 20px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-nav {
    margin-bottom: 0;
}

.footer-nav ul {
    display: flex;
    gap: 18px;
    font-size: 15px;
}

.footer-nav a {
    color: white;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.footer-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    text-align: center;
    margin-top: 18px;
    font-size: 15px;
    opacity: 0.85;
}

/* Butonlar */
.more {
    text-align: center;
    margin: 30px 0;
}

.more span {
    display: inline-block;
    padding: 12px 35px;
    background: #1a237e;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.more span:hover {
    background: #0d47a1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.back-to-top:hover {
    background: #0d47a1;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* Makale Sayfası Stilleri */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.article-image {
    text-align: center;
    font-size: 120px;
    margin: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 40px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a237e;
    margin: 30px 0 15px 0;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a237e;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #1a237e;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 20px;
}

.article-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1a237e;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin: 0 5px 5px 0;
}

.back-to-home {
    display: inline-block;
    background: #1a237e;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: #0d47a1;
    transform: translateY(-2px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .main-menu__list {
        flex-direction: column;
        align-items: center;
    }
    
    .main-menu__list li {
        width: 100%;
        text-align: center;
    }
    
    .posts {
        grid-template-columns: 1fr;
    }
    
    .popular-post-card {
        min-width: 250px;
    }
    
    .popular-post-title {
        font-size: 14px;
    }
    
    .slider-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .slider-prev {
        left: -18px;
    }
    
    .slider-next {
        right: -18px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav li {
        margin: 10px 0;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 5px;
    }
    
    .main-menu__list {
        flex-direction: column;
        align-items: center;
    }
    
    .main-menu__list li {
        width: 100%;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav li {
        margin: 10px 0;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
} 