/*
Theme Name: Bulurum Tema
Author: Senin Adın
Description: Yazılım firmaları rehber teması.
Version: 1.0
*/

:root {
    --primary: #00d2ff;
    --secondary: #3a7bd5;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text-muted: #6c757d;
    --white: #ffffff;
    --footer-bg: #111;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; }

body { background-color: #f0f2f5; color: #333; line-height: 1.6; overflow-x: hidden; }

/* Navigasyon */
nav { 
    background: var(--white); 
    padding: 1rem 8%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.6rem; font-weight: 800; color: var(--dark); letter-spacing: -1px; }
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* DÜZELTİLEN BUTON KODU BAŞLANGIÇ */
/* Hem WP Menü yapısını hem de normal link yapısını destekler */
.nav-links .btn-add a,
a.btn-add { 
    background: var(--dark); 
    color: white !important; 
    padding: 10px 20px; 
    border-radius: 8px; 
    display: inline-block; /* Kutu görünümü için şart */
    transition: 0.3s;
}

.nav-links .btn-add a:hover,
a.btn-add:hover { 
    background: var(--secondary); 
    transform: translateY(-2px);
}
/* DÜZELTİLEN BUTON KODU BİTİŞ */

/* Hero Bölümü */
.hero { 
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(58, 123, 213, 0.8)), 
                url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1350&q=80'); 
    height: 400px; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-align: center;
    padding: 0 20px;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

/* Arama Kutusu - Form Düzeni */
.search-container { 
    background: white; 
    padding: 8px; 
    border-radius: 12px; 
    display: flex; 
    width: 100%; 
    max-width: 700px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}
.search-container input { border: none; padding: 15px 25px; flex: 1; outline: none; font-size: 1rem; color: #333; }
.search-container button { 
    background: var(--primary); 
    border: none; 
    color: white; 
    padding: 0 35px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 700; 
    transition: 0.3s; 
}
.search-container button:hover { background: var(--secondary); transform: scale(1.02); }

/* Genel Container */
.container { width: 90%; max-width: 1200px; margin: 40px auto; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.section-title { font-size: 1.8rem; font-weight: 700; color: var(--dark); position: relative; margin-bottom: 25px; }
.section-title::after { content: ''; display: block; width: 50px; height: 4px; background: var(--primary); margin-top: 8px; border-radius: 2px; }

/* Kategoriler */
.categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 40px; }
.category-card { 
    background: var(--white); padding: 20px 10px; text-align: center; border-radius: 15px; transition: 0.4s; cursor: pointer; border: 1px solid #edf2f7; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); border-color: var(--primary); }
.category-card i { font-size: 1.8rem; color: var(--secondary); margin-bottom: 10px; display: block; }
.category-card p { font-weight: 600; color: var(--dark); font-size: 0.85rem; }

/* Firma Kartları */
.listings { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; margin-bottom: 40px; }
.listing-card { background: var(--white); border-radius: 16px; overflow: hidden; transition: 0.3s; border: 1px solid #eee; }
.listing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.listing-img { height: 180px; position: relative; background-size: cover; background-position: center; }
.listing-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.9); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: var(--dark); }
.listing-content { padding: 20px; }
.listing-content .tag { color: var(--secondary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 8px; }
.listing-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.listing-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; }
.listing-content i { width: 20px; color: var(--primary); }
.listing-footer { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.rating { color: #f1c40f; font-weight: bold; font-size: 0.9rem; }
.btn-view { color: var(--secondary); text-decoration: none; font-weight: 700; font-size: 0.9rem; }

/* İstatistik */
.stats-bar { background: var(--dark); padding: 40px 0; color: white; text-align: center; margin-top: 20px; }
.stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1200px; margin: 0 auto; gap: 20px; }
.stat-item h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 5px; }
.stat-item p { font-size: 0.9rem; opacity: 0.8; }

/* Blog Bölümü */
.blog-section { padding: 50px 0; background: #f0f2f5; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-body h4 { margin-bottom: 8px; color: var(--dark); font-size: 1.1rem; }
.blog-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-link { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.85rem; }

/* SSS (FAQ) */
.faq-section { padding: 50px 5%; max-width: 900px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 10px; border-radius: 10px; border: 1px solid #eee; overflow: hidden; }
.faq-question { padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.faq-answer { padding: 0 20px 15px; color: var(--text-muted); font-size: 0.9rem; display: none; }
.faq-item:hover .faq-answer { display: block; }

/* Bülten */
.newsletter { 
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-position: center; padding: 60px 20px; text-align: center; color: white;
}
.news-box { max-width: 600px; margin: 0 auto; }
.news-box h2 { font-size: 2rem; margin-bottom: 10px; }
.news-form { display: flex; margin-top: 20px; gap: 10px; }
.news-form input { flex: 1; padding: 12px 20px; border-radius: 8px; border: none; outline: none; }
.news-form button { background: var(--primary); color: white; border: none; padding: 0 25px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* Müşteri Yorumları */
.testimonials { padding: 50px 0; background: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.testimonial-card { padding: 25px; border-radius: 15px; background: var(--light); position: relative; }
.testimonial-card i { color: var(--primary); font-size: 1.5rem; opacity: 0.3; position: absolute; top: 20px; right: 20px; }
.testimonial-card p { font-style: italic; margin-bottom: 15px; color: #555; font-size: 0.95rem; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-info img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.user-info h5 { font-weight: 700; color: var(--dark); font-size: 0.95rem; }

/* Marka Logoları */
.brands { padding: 30px 0; background: #fdfdfd; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.brand-flex { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; opacity: 0.5; gap: 20px; }
.brand-flex i { font-size: 2.5rem; }

/* Nasıl Çalışır */
.how-it-works { padding: 50px 0; background: #fff; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 30px; }
.step-card { padding: 15px; }
.step-icon-box { width: 70px; height: 70px; background: rgba(0, 210, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.step-icon-box i { font-size: 1.8rem; color: var(--primary); }
.step-card h3 { margin-bottom: 8px; color: var(--dark); font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; }

/* Fiyatlandırma */
.pricing-section { padding: 50px 0; background: #f0f2f5; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.price-card { background: white; padding: 30px; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; position: relative; overflow: hidden; }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.02); }
.price-card.popular .popular-badge { position: absolute; top: 20px; right: -30px; background: var(--primary); color: white; padding: 5px 40px; transform: rotate(45deg); font-size: 0.8rem; font-weight: bold; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin: 15px 0; }
.price-amount span { font-size: 0.9rem; color: #777; font-weight: normal; }
.features-list { list-style: none; margin-bottom: 25px; text-align: left; padding: 0 10px; font-size: 0.9rem; }
.features-list li { margin-bottom: 10px; color: #555; display: flex; align-items: center; }
.features-list li i { color: var(--primary); margin-right: 10px; }
.btn-price { display: block; padding: 10px; background: var(--dark); color: white; text-decoration: none; border-radius: 8px; font-weight: bold; transition: 0.3s; font-size: 0.95rem; }
.price-card.popular .btn-price { background: var(--primary); }
.btn-price:hover { opacity: 0.9; }

/* Footer */
footer { background: var(--footer-bg); color: #bbb; padding: 60px 0 0; font-size: 0.9rem; }
.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto 40px; 
}
.footer-col h3 { color: white; font-size: 1.2rem; margin-bottom: 20px; }
.footer-col p { margin-bottom: 15px; line-height: 1.6; }
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-links-list a:hover { color: var(--primary); padding-left: 5px; }
.social-icons a { display: inline-block; width: 35px; height: 35px; background: rgba(255,255,255,0.1); color: white; text-align: center; line-height: 35px; border-radius: 50%; margin-right: 10px; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); }
.footer-bottom { 
    background: #0a0a12; 
    padding: 20px 0; 
    text-align: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

@media (max-width: 1024px) { .categories { grid-template-columns: repeat(3, 1fr); } .price-card.popular { transform: scale(1); } }
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .categories { grid-template-columns: repeat(2, 1fr); }
    .news-form { flex-direction: column; }
    .news-form button { padding: 15px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}
/* --- SINGLE.PHP (DETAY SAYFASI) STİLLERİ --- */

/* Düzen: Sol (Content) ve Sağ (Sidebar) */
.single-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim genişlik */
    gap: 40px;
    margin-bottom: 60px;
}

/* Sol İçerik Alanı */
.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.post-body {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}
.post-body h2, .post-body h3 { margin-top: 30px; margin-bottom: 15px; color: var(--dark); }
.post-body p { margin-bottom: 20px; }

/* Sidebar Genel Stil */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    display: inline-block;
}

/* İletişim Widget'ı (Sticky - Yapışkan Özellik) */
.contact-widget {
    position: sticky;
    top: 100px; /* Header'ın altında kalacak şekilde */
}

/* İletişim Butonları Tasarımı */
.contact-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: 0.3s;
    border: 1px solid #e9ecef;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon-box {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.text-box { display: flex; flex-direction: column; }
.text-box small { font-size: 0.75rem; color: #888; text-transform: uppercase; font-weight: 700; }
.text-box span { font-size: 0.95rem; font-weight: 600; color: var(--dark); }

/* Renk Özelleştirmeleri */
.btn-phone:hover { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); }
.btn-phone .icon-box { color: var(--primary); }

.btn-whatsapp:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.05); }
.btn-whatsapp .icon-box { color: #25D366; }

.btn-mail:hover { border-color: var(--secondary); background: rgba(58, 123, 213, 0.05); }
.btn-mail .icon-box { color: var(--secondary); }

/* Sidebar Liste Stili */
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid #eee; padding: 10px 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { text-decoration: none; color: #555; transition: 0.2s; font-size: 0.95rem; }
.sidebar-list a:hover { color: var(--primary); padding-left: 5px; }

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr; /* Mobilde tek sütuna düş */
    }
    .contact-widget {
        position: static; /* Mobilde yapışkan olmasın */
    }
}
/* --- style.css EN ALTINA EKLE --- */

/* Makale (Sol Taraf) Kutusu Tasarımı */
.single-content {
    background: var(--white);    /* Beyaz arka plan */
    padding: 35px;               /* Yazıların kenarlara yapışmaması için iç boşluk */
    border-radius: 15px;         /* Hafif köşeli (yuvarlak) kenarlar */
    box-shadow: 0 5px 25px rgba(0,0,0,0.04); /* Çok hafif bir gölge ile derinlik hissi */
    border: 1px solid #f0f0f0;   /* Çok ince, zarif bir sınır çizgisi */
}

/* Mobilde ekran daraldığında iç boşluğu biraz azaltalım */
@media (max-width: 768px) {
    .single-content {
        padding: 25px;
    }
}