/* Bilgi Bankası - Full Styles */

/* Results & Content Styles */
.result {
    background: #f0fdf4;
    border-left: 4px solid #059669;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.result.error {
    background: #fef2f2;
    border-color: #dc2626;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: 0; }
}

/* Content Pages */
.content-page {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.content-page h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.quick-answer {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 6px solid #3b82f6;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1e3a8a;
}

.quick-answer strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.details {
    margin: 2rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.details h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
}

.details h3 {
    color: var(--dark);
    font-size: 1.35rem;
    margin: 1.5rem 0 0.75rem 0;
}

.details p {
    margin-bottom: 1rem;
}

.details ul, .details ol {
    margin: 1rem 0 1rem 2rem;
}

.details li {
    margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
    background: #fef3c7;
    border-left: 6px solid #d97706;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #92400e;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    background: white;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: #f8fafc;
}

.pro {
    color: #059669;
    font-weight: 600;
}

.pro::before {
    content: "✓ ";
}

.con {
    color: #dc2626;
    font-weight: 600;
}

.con::before {
    content: "✗ ";
}

/* Similar Questions */
.similar-questions {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.similar-questions h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.similar-questions a {
    display: block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.similar-questions a:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateX(5px);
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Category List Page */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.list-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.list-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.list-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.list-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Person Card (for Kim Kaç Yaşında) */
.person-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.person-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Income Calculator */
.income-calculator {
    background: #f0fdf4;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.income-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.scenario {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid var(--success);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.scenario h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.scenario .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin: 1rem 0;
}

.scenario .details-list {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scenario .details-list li {
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #3b82f6;
    border-radius: 50%;
}

.timeline-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Print Styles */
@media print {
    header, footer, .similar-questions, .breadcrumb {
        display: none;
    }
    
    .content-page {
        box-shadow: none;
        padding: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content-page {
        padding: 2rem 1.5rem;
    }
    
    .content-page h1 {
        font-size: 1.75rem;
    }
    
    .quick-answer {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    .person-info,
    .income-scenarios {
        grid-template-columns: 1fr;
    }
    
    .category-list {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
a:focus, button:focus, input:focus, select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Box */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

