/*
Theme Name: AI Rehberi
Theme URI: https://seoprojefinal.dev
Author: AI Araçları Rehberi
Description: Koyu teknolojik tema
Version: 1.0
*/

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

body {
    background-color: #0a0a0f;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #0d0d1a, #1a0533);
    border-bottom: 2px solid #7b2fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.site-logo span {
    color: #7b2fff;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover {
    color: #7b2fff;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a0533 50%, #0d0d1a 100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123,47,255,0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.hero h1 span {
    color: #7b2fff;
    text-shadow: 0 0 30px rgba(123,47,255,0.8);
}

.hero p {
    font-size: 18px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7b2fff, #4a00e0);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    box-shadow: 0 0 30px rgba(123,47,255,0.5);
    transition: all 0.3s;
}

.hero-btn:hover {
    box-shadow: 0 0 50px rgba(123,47,255,0.8);
    transform: translateY(-2px);
}

/* BLOG YAZILARI */
.posts-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

.section-title span {
    color: #7b2fff;
}

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

.post-card {
    background: linear-gradient(135deg, #0d0d1a, #1a0533);
    border: 1px solid rgba(123,47,255,0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
}

.post-card:hover {
    border-color: #7b2fff;
    box-shadow: 0 0 30px rgba(123,47,255,0.3);
    transform: translateY(-5px);
}

.post-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

.post-card h2 a:hover {
    color: #7b2fff;
}

.post-meta {
    font-size: 13px;
    color: #7b2fff;
    margin-bottom: 12px;
}

.post-excerpt {
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #7b2fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    text-shadow: 0 0 10px rgba(123,47,255,0.8);
}

/* TEK YAZI */
.single-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.single-post h1 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 15px;
}

.single-post .post-meta {
    margin-bottom: 30px;
}

.single-post .post-content {
    color: #ccc;
    font-size: 17px;
    line-height: 1.9;
}

.single-post .post-content h2 {
    color: #7b2fff;
    font-size: 26px;
    margin: 30px 0 15px;
}

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

.single-post .post-content ul {
    margin: 15px 0 20px 25px;
}

.single-post .post-content ul li {
    margin-bottom: 8px;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #0d0d1a, #1a0533);
    border-top: 2px solid #7b2fff;
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 14px;
}

footer span {
    color: #7b2fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .posts-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 15px; }
}
