/* =========================================
   1. GENEL AYARLAR VE DEĞİŞKENLER
   ========================================= */
:root {
    --primary-color: #007bff;       /* Ana Mavi */
    --primary-dark: #0056b3;        /* Koyu Mavi (Hover) */
    --secondary-color: #f8f9fa;     /* Açık Gri Arkaplan */
    --dark-color: #212529;          /* Koyu Metin */
    --light-color: #ffffff;         /* Beyaz */
    --text-light: #6c757d;          /* Gri Metin */
    --border-color: #dee2e6;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); line-height: 1.6; color: var(--dark-color); background-color: var(--light-color); overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
body.noscroll { overflow: hidden; }

/* =========================================
   2. HEADER & NAVIGASYON
   ========================================= */
.site-header { background-color: var(--light-color); padding: 15px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); letter-spacing: -0.5px; }
.logo small { font-size: 0.8rem; color: var(--dark-color); margin-left: 5px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { color: var(--dark-color); font-weight: 500; font-size: 1rem; padding: 5px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary-color); transition: width 0.3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 15px; }

/* Hamburger Menü */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.menu-toggle .bar { width: 100%; height: 3px; background-color: var(--dark-color); border-radius: 3px; transition: all 0.3s ease; }

/* Dil Seçimi Dropdown */
.dil-dropdown { position: relative; display: inline-block; }
.secili-dil-btn { background-color: var(--light-color); color: var(--dark-color); padding: 8px 15px; font-size: 0.95rem; font-weight: 600; border: 1px solid var(--border-color); border-radius: var(--border-radius); cursor: pointer; display: flex; align-items: center; gap: 8px; min-width: 80px; justify-content: space-between; }
.secili-dil-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.dropdown-icerik { display: none; position: absolute; right: 0; top: 110%; background-color: var(--light-color); min-width: 160px; box-shadow: var(--shadow-hover); border-radius: var(--border-radius); border: 1px solid var(--border-color); z-index: 1002; max-height: 300px; overflow-y: auto; }
.dropdown-icerik a { color: var(--dark-color); padding: 10px 15px; display: block; font-size: 0.9rem; border-bottom: 1px solid #f1f1f1; }
.dropdown-icerik a:hover { background-color: var(--secondary-color); color: var(--primary-color); }
.goster { display: block; animation: fadeIn 0.2s ease; }

/* =========================================
   3. BUTONLAR
   ========================================= */
.btn { display: inline-block; padding: 10px 25px; border-radius: var(--border-radius); font-weight: 600; font-size: 1rem; cursor: pointer; text-align: center; border: 1px solid transparent; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary-color); color: var(--light-color); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); }
.btn-secondary { background-color: var(--light-color); color: var(--dark-color); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--secondary-color); border-color: #ccc; }
.btn-large { padding: 15px 40px; font-size: 1.1rem; }

/* =========================================
   4. HERO ALANI (HAREKETLİ ARKAPLAN)
   ========================================= */
.hero { 
    padding: 120px 0; 
    text-align: center; 
    /* Hareketli Arkaplan Tanımları: Açık Mavi, Açık Mor, Gri */
    background: linear-gradient(-45deg, #e0f2fe, #f3e8ff, #f3f4f6, #dbeafe);
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: var(--dark-color);
    text-shadow: 0 2px 5px rgba(255,255,255,0.5); /* Okunurluk için hafif gölge */
}

.hero .subtitle { 
    font-size: 1.3rem; 
    color: #555; /* Biraz daha koyu gri okunurluk için */
    max-width: 700px; 
    margin: 0 auto 40px; 
}

/* Animasyon Keyframes */
@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================================
   5. BLOG LİSTELEME
   ========================================= */
.blog-posts { background-color: var(--secondary-color); padding: 80px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.post-card { background-color: var(--light-color); border-radius: var(--border-radius); box-shadow: 0 5px 15px rgba(0,0,0,0.08); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
.post-image-link img { width: 100%; height: 200px; object-fit: cover; display: block; }
.post-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.post-category { background-color: var(--primary-color); color: var(--light-color); display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; align-self: flex-start; }
.post-content h2 { font-size: 1.4rem; margin-bottom: 15px; }
.post-content h2 a { text-decoration: none; color: var(--dark-color); }
.post-content h2 a:hover { color: var(--primary-color); }
.post-excerpt { color: #6c757d; line-height: 1.6; margin-bottom: 20px; }
.post-meta { margin-top: auto; padding-top: 15px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: #6c757d; }
.read-more { color: var(--primary-color); text-decoration: none; font-weight: 600; }

/* =========================================
   6. BLOG DETAY
   ========================================= */
.post-header-featured { height: 40vh; background-size: cover; background-position: center; color: var(--light-color); position: relative; display: flex; align-items: center; text-align: center; }
.post-header-featured::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); }
.post-header-featured .container { position: relative; z-index: 2; }
.post-header-featured h1 { font-size: 3rem; margin: 10px 0 15px; }
.post-header-featured .badge { background-color: var(--primary-color); padding: 5px 15px; border-radius: 20px; font-weight: 600; }
.breadcrumb { padding: 15px 0; background-color: var(--secondary-color); border-bottom: 1px solid #eee; font-size: 0.9rem; }
.breadcrumb a { text-decoration: none; color: var(--primary-color); }
.breadcrumb span { color: #6c757d; }
.article-content { padding: 60px 0; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h1 { font-size: 2.6rem; margin-bottom: 20px; line-height: 1.3; }
.article-meta { margin-bottom: 40px; color: #6c757d; font-size: 0.9rem; }
.article-meta span { margin-right: 20px; }
.article-body p, .article-body ul, .article-body ol { font-size: 1.1rem; margin-bottom: 20px; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 30px; }
.article-body blockquote { margin: 20px 0; padding: 20px; background-color: var(--secondary-color); border-left: 5px solid var(--primary-color); font-style: italic; }
.article-body pre { background-color: #2d2d2d; color: #f8f8f2; padding: 20px; border-radius: var(--border-radius); overflow-x: auto; margin-bottom: 20px; }
.article-body code { font-family: 'Courier New', Courier, monospace; }

/* =========================================
   7. DİĞER BİLEŞENLER (VDS, İLETİŞİM, VB.)
   ========================================= */
.features { padding: 80px 0; background-color: var(--light-color); }
.features .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; text-align: center; }
.feature-item { padding: 30px; border-radius: var(--border-radius); transition: transform 0.3s; }
.feature-item:hover { transform: translateY(-5px); }
.feature-item img { width: 64px; height: 64px; margin-bottom: 20px; }

.vds-pricing, .pricing { padding: 80px 0; background-color: var(--secondary-color); }
.pricing-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.pricing-plan { background: var(--light-color); padding: 40px 30px; border-radius: var(--border-radius); text-align: center; border: 1px solid var(--border-color); transition: all 0.3s ease; position: relative; }
.pricing-plan:hover { box-shadow: var(--shadow-hover); transform: translateY(-10px); border-color: var(--primary-color); }
.pricing-plan.featured { border: 2px solid var(--primary-color); transform: scale(1.05); z-index: 2; }
.pricing-plan h3 { font-size: 1.4rem; margin-bottom: 20px; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 30px; }
.price span { font-size: 1.2rem; font-weight: 500; vertical-align: super; }
.price .period { font-size: 1rem; color: var(--text-light); vertical-align: baseline; font-weight: 400; }
.pricing-plan ul { margin-bottom: 30px; text-align: left; }
.pricing-plan ul li { margin-bottom: 12px; font-size: 0.95rem; border-bottom: 1px solid #f4f4f4; padding-bottom: 8px; }
.pricing-plan ul li strong { color: var(--primary-color); }

.page-header { background-color: var(--secondary-color); padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }

.contact-content .container { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding: 60px 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; }
.info-block { background-color: var(--secondary-color); padding: 25px; border-radius: var(--border-radius); margin-bottom: 20px; }
.info-block h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-color); }

.kb-category { margin-bottom: 50px; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-list li a { display: block; padding: 15px; background-color: var(--secondary-color); border-radius: var(--border-radius); font-weight: 500; border-left: 4px solid transparent; }
.article-list li a:hover { border-left-color: var(--primary-color); background-color: #f1f3f5; padding-left: 20px; }

.common-features { background-color: var(--light-color); padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-box { background-color: var(--secondary-color); padding: 20px; border-radius: var(--border-radius); text-align: center; }

.site-footer { background-color: var(--dark-color); color: #adb5bd; padding: 70px 0 0; margin-top: auto; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3, .site-footer h4 { color: var(--light-color); margin-bottom: 20px; }
.footer-bottom { background-color: #1a1e21; padding: 20px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid #343a40; }

#cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background-color: var(--dark-color); color: var(--light-color); padding: 20px; display: flex; justify-content: center; align-items: center; z-index: 2000; transition: bottom 0.5s ease-in-out; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
#cookie-banner.show { bottom: 0; }
#cookie-banner p { margin-right: 20px; font-size: 0.9rem; }
#cookie-banner a { color: var(--primary-color); text-decoration: underline; }

/* =========================================
   8. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .site-header .container { flex-wrap: wrap; }
    .menu-toggle { display: flex; }
    .main-nav { display: none; width: 100%; margin-top: 20px; order: 3; }
    .main-nav.is-active { display: block; animation: slideDown 0.3s ease; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 15px; border-bottom: 1px solid #eee; }
    .header-actions { margin-left: auto; margin-right: 20px; }
    .pricing-plan.featured { transform: scale(1); }
    .contact-content .container, .about-content .container, .site-footer .container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pricing-table, .features-grid { grid-template-columns: 1fr; }
    .header-actions { display: none; }
    #cookie-banner { flex-direction: column; text-align: center; }
    #cookie-banner p { margin-right: 0; margin-bottom: 15px; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }