/* =========================================
   1. GENEL AYARLAR & DEĞİŞKENLER
   ========================================= */
:root {
    --primary: #3B82F6;       /* Yeditepe Mavisi */
    --primary-dark: #1d4ed8;  /* Koyu Mavi (Hover) */
    --text-dark: #1f2937;     /* Antrasit Yazı */
    --text-light: #6b7280;    /* Gri Yazı */
    --bg-light: #f8fafc;      /* Açık Gri Arka Plan */
    --white: #ffffff;
    --border: #e2e8f0;        /* Çerçeve Rengi */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. ÜST BAR & NAVİGASYON
   ========================================= */
.top-bar {
    background: #111827;
    color: #d1d5db;
    padding: 10px 0;
    font-size: 0.85rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-social a { margin-left: 15px; color: #d1d5db; transition: 0.3s; }
.top-social a:hover { color: var(--primary); }

header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}
.nav-links a i { margin-right: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* =========================================
   3. BUTONLAR
   ========================================= */
.btn {
    display: inline-flex;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
}

.btn-primary { background: var(--primary); color: var(--white) !important; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline { border-color: var(--border); color: var(--text-dark); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }

/* =========================================
   4. HERO & SLIDER (ANA SAYFA)
   ========================================= */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
}
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; }
.hero-image {
    flex: 1; min-width: 300px; position: relative; height: 400px;
    display: flex; justify-content: center; align-items: center;
}
.hero-badge {
    display: inline-block; background: #dbeafe; color: var(--primary-dark);
    padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 0.85rem; margin-bottom: 25px;
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: #111827; font-weight: 800; }
.hero p { margin-bottom: 30px; opacity: 0.85; font-size: 1.15rem; color: #4b5563; max-width: 600px; }
.hero-buttons { display: flex; gap: 15px; }

/* Slider Animasyonları */
.slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;
    width: 100%; max-width: 600px; height: auto;
    opacity: 0; transition: opacity 1s ease-in-out;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-5deg);
}
.slide.active { opacity: 1; z-index: 2; }

/* =========================================
   5. GENEL BÖLÜMLER & KARTLAR
   ========================================= */
.section-padding { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--text-dark); }
.section-header p { color: var(--text-light); }

/* Grid Yapıları */
.services-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Hizmet ve Tools Kartları */
.service-card, .news-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.icon-box {
    width: 60px; height: 60px;
    background: #eff6ff; color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-dark); }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; flex-grow: 1; }

/* Haber Kartları */
.news-card { padding: 0; overflow: hidden; }
.news-img {
    height: 200px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: var(--primary);
}
.news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { font-size: 0.8rem; color: #94a3b8; margin-bottom: 8px; font-weight: 700; }
.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto;
}

/* =========================================
   6. İLETİŞİM FORMU & BİLGİ KUTULARI
   ========================================= */
.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-form-box, .contact-info-box {
    flex: 1; min-width: 320px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: #374151; }
.form-control {
    width: 100%; padding: 12px;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 0.95rem; font-family: inherit;
    background: #f9fafb; transition: 0.3s;
}
.form-control:focus {
    border-color: var(--primary); background: #fff;
    outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.info-item {
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
}
.info-item .icon {
    width: 40px; height: 40px;
    background: #eff6ff; color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.info-item h4 { font-size: 1rem; margin-bottom: 2px; color: #111827; }
.info-item p { font-size: 0.9rem; color: #6b7280; margin: 0; }

/* =========================================
   7. TOOLS SAYFASI ÖZEL TASARIMLARI
   ========================================= */
.tools-search-container {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}
.tools-search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.tools-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    outline: none;
}
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.2rem;
}
/* Tools Kart Etiketleri */
.tool-tag {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: auto;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

/* =========================================
   8. COOKIE (ÇEREZ) KARTI - GLASSMORPHISM
   ========================================= */
.cookie-overlay {
    position: fixed; bottom: 30px; right: 30px;
    width: 380px; max-width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 99999;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.cookie-overlay.show { opacity: 1; transform: translateY(0); }
.cookie-header { display: flex; align-items: center; gap: 12px; }
.cookie-buttons { display: flex; gap: 12px; margin-top: 10px; }
.btn-cookie-decline {
    flex: 1; background: #f3f4f6; color: #4b5563;
    border: 1px solid #d1d5db; padding: 12px; border-radius: 8px;
    font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-cookie-decline:hover { background: #e5e7eb; color: #1f2937; }
.btn-cookie-accept {
    flex: 1; background: #111827; color: #fff;
    border: none; padding: 12px; border-radius: 8px;
    font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-cookie-accept:hover { background: #000; transform: translateY(-2px); }

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background: #111827;
    color: #d1d5db;
    padding-top: 70px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo { color: var(--white); font-size: 1.4rem; font-weight: 700; display: block; margin-bottom: 20px; }
footer h4 { color: var(--white); margin-bottom: 25px; font-size: 1.1rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* =========================================
   10. RESPONSIVE (MOBİL)
   ========================================= */
@media (max-width: 968px) {
    .hero-row { flex-direction: column-reverse; text-align: center; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; } /* Mobilde menü gizle (JS ile açılır) */
    .hamburger { display: block; }
    .hero-image { height: 300px; }
    .slide { position: relative; transform: none; display: none; }
    .slide.active { display: block; }
    .contact-wrapper { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .cookie-overlay { bottom: 20px; right: 20px; left: 20px; width: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
/* --- YASAL SAYFALAR (GİZLİLİK & KVKK) --- */
.legal-content-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content-box h3 {
    color: #1e3a8a; /* Kurumsal lacivert */
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eff6ff;
    padding-bottom: 10px;
}

.legal-content-box p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-content-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content-box ul li {
    color: #4b5563;
    margin-bottom: 8px;
}

.legal-content-box a {
    color: #3B82F6;
    font-weight: 600;
}

.legal-content-box a:hover {
    text-decoration: underline;
}