/* === ORTAK SEO İÇERİK STİLLERİ - TÜM HESAPLAMA SAYFALARI İÇİN === */
:root {
    --primary-color: #4a6cf7;
    --bg-color: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 6px 6px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 🔹 Firefox için */
input[type=number] {
  -moz-appearance: textfield;
}

.dark-mode {
    --primary-color: #6b8aff;
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --border-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* Temel SEO İçerik Konteyneri */
.seo-content {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    border-left: 5px solid #4CAF50;
    position: relative;
    overflow: hidden;
}

.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
}

/* İçerik Başlıkları */
.content-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ecf0f1;
    padding-bottom: 0.8rem;
    font-weight: 700;
}

.content-section h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 2rem 0 1.2rem 0;
    padding-left: 0.8rem;
    border-left: 4px solid #3498db;
}

.content-section h4 {
    color: #16a085;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

/* Özellik Listesi - Tüm Sayfalarda Kullanılabilir */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grid Sistemleri - Sayılar, Örnekler vb. */
.prime-grid,
.number-grid,
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.prime-number,
.grid-item,
.example-item {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.prime-number:hover,
.grid-item:hover,
.example-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Kullanım Alanları Kartları */
.usage-areas,
.application-areas,
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card,
.application-card,
.use-case-card {
    background: var(--bg-color);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 5px solid #27ae60;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.usage-card:hover,
.application-card:hover,
.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.usage-card h4,
.application-card h4,
.use-case-card h4 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.3rem;
}

/* Bilgi ve Açıklama Kutuları */
.check-method,
.info-box,
.explanation-box {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid #2196F3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.check-method ol,
.info-box ol,
.explanation-box ol {
    margin: 1.2rem 0;
    padding-left: 2rem;
}

.check-method li,
.info-box li,
.explanation-box li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* SSS Bölümü - Tüm Sayfalarda Kullanılabilir */
.seo-faq,
.faq-section,
.common-questions {
    margin: 2.5rem 0;
}

.faq-item,
.question-item {
    background: var(--bg-color);
    padding: 1.8rem;
    margin: 1.2rem 0;
    border-radius: 12px;
    border-left: 5px solid #ff9800;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-item:hover,
.question-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.faq-item h4,
.question-item h4 {
    color: #e65100;
    margin-top: 0;
    font-size: 1.2rem;
}

/* Sonuç ve Özet Bölümleri */
.conclusion,
.summary,
.key-points {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    border-left: 5px solid #9c27b0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.conclusion h3,
.summary h3,
.key-points h3 {
    color: #7b1fa2;
    border-bottom: 2px solid #e1bee7;
    padding-bottom: 0.5rem;
}

/* Tablo Stilleri - İstatistikler için */
.info-table,
.stats-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-table th,
.stats-table th,
.comparison-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

.info-table td,
.stats-table td,
.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.info-table tr:nth-child(even),
.stats-table tr:nth-child(even),
.comparison-table tr:nth-child(even) {
    background: var(--bg-color);
}

.info-table tr:hover,
.stats-table tr:hover,
.comparison-table tr:hover {
    background: var(--bg-color);
}

/* Önemli Vurgu Stilleri */
.important-note,
.warning-box,
.tip-box {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 5px solid;
}

.important-note {
    background: var(--bg-color);
    border-color: #ffc107;
}

.warning-box {
    background: var(--bg-color);
    border-color: #dc3545;
}

.tip-box {
    background: var(--bg-color);
    border-color: #17a2b8;
}
/* Basamak örnekleri için özel stil */
.prime-grid .prime-number {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    line-height: 1.3;
}

.prime-grid .prime-number::before {
    content: attr(data-number);
    font-weight: bold;
    font-size: 1rem;
}

.prime-grid .prime-number::after {
    content: "→ " attr(data-result);
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Kod Blokları - Formüller için */
.code-block,
.formula-box {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    border-left: 4px solid #4CAF50;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 10px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .feature-list,
    .usage-areas,
    .application-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prime-grid,
    .number-grid,
    .example-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .check-method,
    .info-box,
    .conclusion {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .seo-content {
        padding: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .prime-grid,
    .number-grid {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
    
    .prime-number,
    .grid-item {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

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

.seo-content {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item,
.usage-card,
.faq-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Karanlık Tema Desteği */
@media (prefers-color-scheme: dark) {
    .seo-content {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .content-section h2,
    .content-section h3 {
        color: #f7fafc;
    }
    
    .feature-item,
    .usage-card,
    .check-method {
        background: #4a5568;
        color: #e2e8f0;
    }
}