/**
 * bilgi-merkezi.css — Bilgi Merkezi index sayfası stilleri
 * Kullanıldığı sayfa: bilgi-merkezi/bilgi-merkezi.html
 */

/* --- Değişkenler → base.css'ten geliyor --- */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* --- HAREKETLİ NOKTALI ARKA PLAN --- */
.hero-section {
    position: relative;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    animation: panGrid 30s linear infinite;
}
@keyframes panGrid {
    0% { background-position: 0px 0px; }
    100% { background-position: -36px -36px; }
}
.hero-section::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top, transparent 0%, var(--bg-body) 80%);
    pointer-events: none; z-index: 1;
}

.badge-modern {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
    border: 1px solid var(--border-light); border-radius: 9999px;
    font-size: 0.75rem; font-weight: 700; color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); position: relative; z-index: 10; margin-bottom: 1.5rem;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    70% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

/* --- ORTAK İMZA BAŞLIK YAPISI --- */
.contact-header { text-align: left; position: relative; z-index: 10; margin-bottom: 20px; }

.signature-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    position: relative;
    display: inline-block;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.signature-title.main-title { font-size: clamp(2.5rem, 5vw, 4em); }
.signature-title.sub-title { font-size: clamp(2rem, 4vw, 3em); color: var(--brand-dark); }

.signature-title::before {
    content: ''; position: absolute; top: -18px; left: 0; width: 60px; height: 5px;
    background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
    border-radius: 4px; box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    transform: scaleX(0); transform-origin: left;
    animation: lineDraw 1s var(--smooth-curve) 0.5s forwards;
}
@keyframes lineDraw { to { transform: scaleX(1); } }

.text-aydin {
    color: var(--brand-blue-dark);
    background: linear-gradient(
        110deg,
        var(--brand-blue-dark) 30%,
        #38bdf8 50%,
        var(--brand-blue-dark) 70%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}
@keyframes textShine { to { background-position: 200% center; } }
.text-etiket { color: var(--brand-dark); }

.contact-header p { color: #475569; font-size: 1.15rem; max-width: 850px; margin-top: 15px; line-height: 1.7; font-weight: 400; }

/* --- KAYAN ŞERİTLER --- */
.marquee-wrapper { position: relative; z-index: 20; margin-top: 3rem; margin-bottom: 5rem; transform: rotate(-1.5deg); }
.marquee-container {
    width: 100vw; margin-left: calc(-50vw + 50%); background-color: var(--brand-dark);
    border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0; overflow: hidden; display: flex; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.2);
}
.marquee-content {
    display: flex; animation: marquee 30s linear infinite; font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; align-items: center; color: #f8fafc;
}
.marquee-content span { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee-brand { color: #38bdf8; font-weight: 900; text-shadow: 0 0 20px rgba(56,189,248,0.4); letter-spacing: 0.1em; }
.marquee-item { opacity: 0.8; transition: opacity 0.3s ease; }
.marquee-item:hover { opacity: 1; color: #fff; }
.marquee-icon { color: #475569; font-size: 0.8rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- KART VE SPOTLIGHT --- */
.category-card {
    background-color: #ffffff; border-radius: 24px; padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.02);
    border: 1px solid var(--border-light); position: relative;
}
.spotlight-mask {
    position: absolute; inset: 0; border-radius: 24px; overflow: hidden; pointer-events: none; z-index: 0;
}
.spotlight-mask::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(14, 165, 233, 0.05), transparent 40%);
    opacity: 0; transition: opacity 0.5s;
}
.category-card:hover .spotlight-mask::before { opacity: 1; }

.category-header {
    display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1rem;
    padding-bottom: 1.5rem; border-bottom: 1px solid #f1f5f9; position: relative; z-index: 2;
}
.category-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.icon-blue { background: #f0f9ff; color: var(--brand-blue); border: 1px solid #e0f2fe; }
.icon-indigo { background: #eef2ff; color: #6366f1; border: 1px solid #e0e7ff; }

/* --- SİNEMATİK ODAK MODU VE LİSTE --- */
.category-list { display: flex; flex-direction: column; gap: 0.75rem; position: relative; z-index: 5; }

.reveal-item { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--smooth-curve); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.category-list:hover .hub-wrapper:not(:hover) .hub-card {
    opacity: 0.4; filter: blur(4px) grayscale(80%); transform: scale(0.96); border-color: transparent;
}

.hub-wrapper { position: relative; height: 106px; z-index: 1; transition: z-index 0.1s; }
.hub-wrapper:hover { z-index: 50; }

.hub-card {
    position: absolute; left: 0; right: 0;
    background-color: #fafafa; border: 1px solid var(--border-light); border-radius: 16px;
    transition: all 0.6s var(--smooth-curve);
    text-decoration: none; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.01);
    display: flex; flex-direction: column;
}

.expand-down { top: 0; height: 106px; transform-origin: top; }
.expand-down:hover { height: 250px; background-color: #ffffff; border-color: #bae6fd; box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15); }
.expand-up { bottom: 0; height: 106px; transform-origin: bottom; }
.expand-up:hover { height: 250px; background-color: #ffffff; border-color: #bae6fd; box-shadow: 0 -20px 40px -10px rgba(14, 165, 233, 0.15); }
.expand-center { top: 50%; transform: translateY(-50%); height: 106px; }
.expand-center:hover { height: 250px; background-color: #ffffff; border-color: #bae6fd; box-shadow: 0 0 40px -10px rgba(14, 165, 233, 0.15); }

.hub-header { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; height: 106px; flex-shrink: 0; }

.hub-icon-box {
    width: 3rem; height: 3rem; border-radius: 10px; background-color: #ffffff; border: 1px solid #e2e8f0;
    color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    transition: all 0.4s ease; flex-shrink: 0; will-change: transform;
}
.hub-card:hover .hub-icon-box { background-color: #f0f9ff; border-color: #7dd3fc; color: var(--brand-blue); }

.hub-text { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.hub-title-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.hub-text h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--brand-dark); transition: color 0.3s ease; letter-spacing: -0.01em; margin: 0; }
.hub-card:hover .hub-text h4 { color: var(--brand-blue); }
.hub-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.micro-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.5rem; border-radius: 6px; }
.badge-popular { background-color: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.badge-eco { background-color: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.badge-strong { background-color: #fdf2f8; color: #e11d48; border: 1px solid #ffe4e6; }

.hub-action { width: 36px; height: 36px; border-radius: 50%; background-color: #f1f5f9; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all 0.4s var(--smooth-curve); flex-shrink: 0; border: 1px solid transparent; }
.hub-card:hover .hub-action { background-color: var(--brand-blue); color: #ffffff; border-color: #0ea5e9; transform: scale(1.1); box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25); }
.hub-card:hover .hub-action i { transform: translateX(2px); }

.hub-body { padding: 0 1.25rem 1.25rem 1.25rem; display: flex; gap: 1.25rem; opacity: 0; transform: translateY(15px); transition: all 0.6s var(--smooth-curve); pointer-events: none; }
.hub-card:hover .hub-body { opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: 0.15s; }

.hub-body-img { width: 100px; height: 100px; border-radius: 12px; object-fit: cover; border: 1px solid #e2e8f0; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); filter: blur(10px) scale(1.1); opacity: 0; transition: all 0.8s var(--smooth-curve) 0.1s; }
.hub-card:hover .hub-body-img { filter: blur(0px) scale(1); opacity: 1; }

.hub-body-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* --- SIKÇA SORULAN SORULAR (AKILLI AKORDEON) --- */
.bm-faq-container {
    background-color: #ffffff; border-radius: 24px; padding: 3.5rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05); border: 1px solid var(--border-light);
    margin-top: 2rem; position: relative; overflow: hidden;
}

.faq-filters {
    display: flex; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; position: relative; z-index: 2;
}
.faq-filter-btn {
    background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b; padding: 0.6rem 1.5rem;
    border-radius: 99px; font-size: 0.9rem; font-weight: 600; font-family: 'Inter', sans-serif;
    cursor: pointer; transition: all 0.3s ease;
}
.faq-filter-btn.active, .faq-filter-btn:hover {
    background: var(--brand-dark); color: #fff; border-color: var(--brand-dark);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.faq-list { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 2; }
.faq-item { background: #fafafa; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: all 0.4s var(--smooth-curve); }
.faq-item.active { background: #ffffff; border-color: #bae6fd; box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.1); }

.faq-question {
    width: 100%; text-align: left; padding: 1.5rem 1.75rem; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--brand-dark);
    transition: color 0.3s ease;
}
.faq-item:hover .faq-question { color: var(--brand-blue); }
.faq-item.active .faq-question { color: var(--brand-blue-dark); padding-bottom: 0.5rem; }

.faq-icon {
    width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; color: #64748b;
    display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
    transition: all 0.4s var(--smooth-curve); flex-shrink: 0;
}
.faq-item.active .faq-icon { background: var(--brand-blue); color: #fff; transform: rotate(180deg); box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--smooth-curve); }
.faq-answer-inner { padding: 0 1.75rem 1.5rem 1.75rem; color: var(--text-main); font-size: 0.95rem; line-height: 1.7; }

.highlight-text {
    background-color: #f0f9ff;
    color: var(--brand-blue-dark);
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(14, 165, 233, 0.1);
}

.faq-callout { margin-top: 1.25rem; padding: 1.25rem; border-radius: 12px; display: flex; align-items: flex-start; gap: 1rem; }
.faq-callout-whatsapp { background: #f0fdf4; border: 1px solid #bbf7d0; }
.faq-callout-whatsapp .fa-whatsapp { color: #16a34a; font-size: 1.5rem; }
.faq-callout-ai { background: #f5f3ff; border: 1px solid #fbcfe8; }
.faq-callout-ai .fa-robot, .faq-callout-ai .fa-wand-magic-sparkles, .faq-callout-ai .fa-calculator { color: #d946ef; font-size: 1.5rem; }

.faq-callout-content strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--brand-dark); }
.faq-callout-content p { margin: 0 0 0.75rem 0; font-size: 0.85rem; color: var(--text-muted); }

.faq-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem;
    border-radius: 8px; font-weight: 600; font-size: 0.85rem; transition: all 0.2s ease; text-decoration: none;
}
.btn-whatsapp { background: #22c55e; color: #fff; box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2); }
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-1px); }
.btn-ai { background: #d946ef; color: #fff; box-shadow: 0 2px 4px rgba(217, 70, 239, 0.2); }
.btn-ai:hover { background: #c026d3; transform: translateY(-1px); }

.faq-answer-inner ul { margin: 1rem 0; padding-left: 1.5rem; }
.faq-answer-inner li { margin-bottom: 0.5rem; position: relative; }
.faq-answer-inner li::before { content: "\f111"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.35rem; position: absolute; left: -1.2rem; top: 0.55rem; color: var(--brand-blue); }

/* --- ALT CTA BANDI --- */
.cta-dark {
    background-color: var(--brand-dark); border-radius: 24px; padding: 5rem 2rem;
    text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5); margin-top: 2rem;
}
.cta-dark::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 60%); pointer-events: none;
}

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background-color: #ffffff; color: var(--brand-dark); font-weight: 700; font-size: 1rem;
    padding: 1rem 2rem; border-radius: 12px; transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); background-color: #f8fafc; }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background-color: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600; font-size: 1rem; padding: 1rem 2rem; border-radius: 12px;
    transition: all 0.2s ease; font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
}
.btn-secondary:hover { background-color: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.4); }

.btn-magnetic-wrapper { display: inline-block; padding: 10px; margin: -10px; will-change: transform; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .contact-header .main-title { font-size: 2.8em; }
    .category-card, .bm-faq-container { padding: 1.5rem; }
    .hub-wrapper { height: auto !important; margin-bottom: 0.5rem; }
    .hub-card { position: relative !important; top: auto !important; bottom: auto !important; transform: none !important; height: auto !important; }
    .hub-card:hover { height: auto !important; transform: translateY(-2px) !important; }
    .hub-header { padding: 1rem; height: auto; gap: 1rem; }
    .hub-body { display: none !important; }
    .hub-action { display: none; }
    .badge-modern { margin-bottom: 1rem; }
    .category-list:hover .hub-wrapper:not(:hover) .hub-card { opacity: 1; filter: none; transform: none; }
    .faq-question { padding: 1.25rem 1rem; font-size: 1rem; }
    .faq-answer-inner { padding: 0 1rem 1.25rem 1rem; }
}
