/*
Theme Name: Vision Art Blog
Author: E&M Concept Design
Description: Vision Art Steel Kurumsal Blog Teması
Version: 1.0
*/

/* =======================================================================
   1. GENEL DEĞİŞKENLER VE TEMEL AYARLAR
   ======================================================================= */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #f5f6fa;
    --text-muted: #a0a0a0;
    --accent-color: #d4af37; /* Premium Altın */
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif; background-color: var(--bg-dark);
    color: var(--text-light); line-height: 1.6; overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; color: #fff; }
a { text-decoration: none; color: var(--text-light); transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* =======================================================================
   2. NAVBAR VE MENÜ STİLLERİ (ANA SİTEDEN BİREBİR AKTARILDI)
   ======================================================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 120px; padding: 0 5%; 
    display: flex; justify-content: space-between; align-items: center; z-index: 1000; 
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--glass-border); transition: var(--transition);
}
.logo img { max-height: 90px; width: auto; display: block; transition: var(--transition); }

.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; height: 100%; }
.nav-links > li { height: 100%; display: flex; align-items: center; } 
.nav-links > li > a { font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.nav-links a:hover, .nav-links > li > a.active { color: var(--accent-color); }

.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-card); min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.9); border-top: 3px solid var(--accent-color); z-index: 1000; list-style: none; border-radius: 0 0 5px 5px; }
.dropdown:hover .dropdown-content { display: block; animation: slideUp 0.3s ease forwards; }
.dropdown-content li { border-bottom: 1px solid #1a1a1a; height: auto; }
.dropdown-content li a { padding: 15px 20px; display: block; font-size: 0.95rem; font-weight: 500; }
.dropdown-content li a:hover { background: #000; padding-left: 25px; color: var(--accent-color); }

.mega-dropdown { position: static; } 
.mega-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-card); box-shadow: 0 15px 40px rgba(0,0,0,0.9); border-top: 3px solid var(--accent-color); z-index: 1000; padding: 40px 5%; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 30px; }
.mega-dropdown:hover .mega-menu { display: grid; animation: slideUp 0.3s ease forwards; }
.mega-col h4 { color: var(--accent-color); font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #222; }
.mega-col ul { list-style: none; }
.mega-col ul li { margin-bottom: 10px; height: auto; }
.mega-col ul li a { font-size: 0.9rem; color: var(--text-muted); display: block; transition: var(--transition); text-transform: none; }
.mega-col ul li a:hover { color: #fff; transform: translateX(5px); }
.mega-img-box { position: relative; border-radius: 8px; overflow: hidden; height: 100%; min-height: 200px; }
.mega-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mega-dropdown:hover .mega-img-box img { transform: scale(1.05); }
.mega-img-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.mega-img-overlay h3 { color: #fff; font-size: 1.2rem; margin-bottom: 5px; }
.mega-img-overlay p { color: var(--accent-color); font-size: 0.8rem; font-weight: 600; }
.dropdown-content::before, .mega-menu::before { content: ''; position: absolute; top: -60px; left: 0; width: 100%; height: 60px; background: transparent; }

.nav-icons { display: flex; gap: 20px; font-size: 1.3rem; cursor: pointer; align-items: center; }
.nav-icons i:hover { color: var(--accent-color); }

/* Mobil Menü */
#mobile-menu-btn { display: none; }
@media (max-width: 1024px) {
    #mobile-menu-btn { display: block; }
    .nav-links { position: absolute; top: 100%; left: -100%; width: 100%; height: calc(100vh - 120px); background: var(--bg-card); flex-direction: column; align-items: flex-start; padding: 30px 5%; transition: 0.4s ease; overflow-y: auto; }
    .nav-links.active { left: 0; }
    .nav-links > li { width: 100%; border-bottom: 1px solid #222; height: auto; padding: 10px 0; }
    .nav-links > li > a { padding: 10px 0; justify-content: space-between; }
    .mega-menu { position: relative; grid-template-columns: 1fr; padding: 10px 0; box-shadow: none; border: none; display: none; }
    .mega-dropdown:hover .mega-menu { display: none; } 
    .mega-dropdown.active .mega-menu { display: grid; }
    .mega-img-box { display: none; }
    .dropdown-content { position: relative; box-shadow: none; border: none; padding-left: 20px; }
    .dropdown:hover .dropdown-content { display: none; } 
    .dropdown.active .dropdown-content { display: block; }
}

/* Arama Modalı */
.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box { width: 80%; max-width: 800px; position: relative; }
.search-box input { width: 100%; padding: 20px 0; background: transparent; border: none; border-bottom: 2px solid var(--text-muted); color: #fff; font-size: 2.5rem; font-family: 'Rajdhani', sans-serif; outline: none; transition: var(--transition); }
.search-box input:focus { border-bottom-color: var(--accent-color); }
.close-search { position: absolute; top: -60px; right: 0; font-size: 2.5rem; cursor: pointer; color: #fff; transition: 0.3s; }
.close-search:hover { color: var(--accent-color); transform: rotate(90deg); }

/* =======================================================================
   3. KAYAN İLETİŞİM BALONLARI
   ======================================================================= */
.floating-socials { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1999; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,0.5); transition: var(--transition); }
.float-btn.phone { background: #d4af37; color: #000; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.float-btn.youtube { background: #ff0000; }
.float-btn:hover { transform: scale(1.15) translateY(-5px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); color: #fff; }
.float-btn.phone:hover { color: #000; }

/* =======================================================================
   4. FOOTER STİLLERİ (DEVESA LOGOLU ANA YAPI)
   ======================================================================= */
.footer { background: #000; padding: 80px 5% 30px 5%; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 25px; color: #fff; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent-color); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.footer-col ul li a i { font-size: 0.8rem; color: var(--accent-color); }
.footer-col ul li a:hover { color: #fff; transform: translateX(5px); }
.footer-bottom { border-top: 1px solid #1a1a1a; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; gap: 15px; }
.footer-bottom-links a { color: var(--text-muted); margin-left: 20px; }
.footer-bottom-links a:hover { color: var(--accent-color); }

/* =======================================================================
   5. WORDPRESS BLOG LİSTELEME VE OKUMA STİLLERİ (GÖVDE)
   ======================================================================= */
.section { padding: 60px 5% 100px 5%; }
.blog-header { padding: 180px 5% 80px 5%; background: linear-gradient(to bottom, rgba(10,10,10,0.9), var(--bg-dark)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&q=80') center/cover; text-align: center; border-bottom: 1px solid #222; }
.blog-header h1 { font-size: 3.5rem; color: #fff; margin-bottom: 15px; letter-spacing: 2px; }
.blog-header h1 span { color: var(--accent-color); }
.blog-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Grid ve Kartlar */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 40px; }
.blog-card { background: var(--bg-card); border-radius: 10px; overflow: hidden; border: 1px solid #222; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-10px); border-color: var(--accent-color); box-shadow: 0 15px 30px rgba(0,0,0,0.8); }
.blog-img { width: 100%; height: 240px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-category { position: absolute; top: 15px; left: 15px; background: var(--accent-color); color: #000; font-size: 0.8rem; font-weight: 700; padding: 5px 15px; border-radius: 20px; font-family: 'Rajdhani', sans-serif; z-index: 2; text-transform: uppercase; }

/* Makale İçeriği */
.blog-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { display: flex; gap: 15px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 15px; }
.blog-meta i { color: var(--accent-color); }
.blog-content h3 { font-size: 1.4rem; color: #fff; margin-bottom: 15px; font-weight: 600; text-transform: none; font-family: 'Montserrat', sans-serif; line-height: 1.4; transition: var(--transition); }
.blog-card:hover .blog-content h3 { color: var(--accent-color); }
.blog-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 600; transition: var(--transition); }
.blog-card:hover .read-more { color: var(--accent-color); }

/* WP Sayfalama */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination .page-numbers { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid #333; color: #fff; font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 600; border-radius: 5px; transition: var(--transition); }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--accent-color); color: #000; border-color: var(--accent-color); }

/* WP Okuma Sayfası (Single Post) */
.single-post-header { padding: 180px 5% 60px 5%; background: var(--bg-card); border-bottom: 1px solid #222; text-align: center; }
.single-post-header h1 { font-size: 3rem; color: #fff; margin-bottom: 20px; line-height: 1.2; text-transform: none; }
.single-post-meta { display: flex; justify-content: center; gap: 20px; color: var(--text-muted); font-size: 0.95rem; }
.single-post-meta i { color: var(--accent-color); }

.single-post-container { max-width: 900px; margin: 0 auto; padding: 60px 5%; }
.single-featured-img { width: 100%; border-radius: 10px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* WP Gutenberg Blok Düzenlemeleri */
.post-content { font-size: 1.1rem; color: #ddd; line-height: 1.8; }
.post-content p { margin-bottom: 25px; }
.post-content h2 { font-size: 2.2rem; color: var(--accent-color); margin: 40px 0 20px 0; border-bottom: 1px solid #222; padding-bottom: 10px; }
.post-content h3 { font-size: 1.8rem; color: #fff; margin: 30px 0 15px 0; }
.post-content a { color: var(--accent-color); border-bottom: 1px dashed var(--accent-color); padding-bottom: 2px; }
.post-content a:hover { color: #fff; border-color: #fff; }
.post-content ul, .post-content ol { margin-bottom: 25px; padding-left: 20px; }
.post-content li { margin-bottom: 10px; }
.post-content ul li::marker { color: var(--accent-color); font-size: 1.2rem; }

/* WP Alıntı ve Resim Hizalamaları */
.post-content blockquote { background: var(--bg-card); border-left: 5px solid var(--accent-color); padding: 25px 30px; margin: 30px 0; font-style: italic; font-size: 1.2rem; color: #fff; border-radius: 0 10px 10px 0; }
.post-content blockquote p { margin-bottom: 0; }
.aligncenter { display: block; margin: 0 auto 25px auto; text-align: center; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.wp-caption { background: var(--bg-card); padding: 10px; text-align: center; border: 1px solid #222; border-radius: 5px; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; font-style: italic; }

/* Animasyonlar ve Mobil */
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .blog-header h1 { font-size: 2.5rem; }
    .single-post-header h1 { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .floating-socials { bottom: 15px; right: 15px; }
    .float-btn { width: 45px; height: 45px; font-size: 1.3rem; }
}