/* ===== PAGES.CSS - Alt Sayfa Stilleri ===== */

/* Active nav link */
.active-link {
    color: var(--primary-dark) !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 90px 0 0;
    background: var(--gray-50);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.85rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb-list li a {
    color: var(--primary-dark);
    font-weight: 500;
}

.breadcrumb-list li a:hover {
    text-decoration: underline;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 48px 0 56px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PRICE SECTION ===== */
.price-section {
    padding: 60px 0 40px;
}

.price-update-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 48px;
    font-size: 0.9rem;
    color: #92400e;
}

.price-update-info svg {
    flex-shrink: 0;
    color: #f59e0b;
}

/* Price Block */
.price-block {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}

.price-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.price-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 800px;
}

.price-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.price-table thead {
    background: var(--secondary);
    color: var(--white);
}

.price-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.price-table tbody tr:hover {
    background: rgba(46, 204, 113, 0.04);
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.price-range {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.price-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.price-block .btn {
    margin-top: 8px;
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

.info-section.alt-bg {
    background: var(--gray-50);
}

.info-block {
    max-width: 900px;
    margin: 0 auto;
}

.info-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.info-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.info-block ul {
    margin: 16px 0 24px;
}

.info-block li {
    padding: 8px 0 8px 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.info-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Factors Grid */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.factor-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.info-section.alt-bg .factor-card {
    background: var(--white);
}

.factor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.factor-card h3 {
    font-size: 1.05rem;
    margin: 0 0 8px !important;
}

.factor-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ===== PAGE CTA ===== */
.page-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    text-align: center;
}

.page-cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.page-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.page-cta .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ARTICLE LAYOUT ===== */
.article-section {
    padding: 60px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.article-content section {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}

.article-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 24px 0 10px;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* TOC Box */
.toc-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.toc-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.toc-box ol {
    counter-reset: toc;
    list-style: none;
}

.toc-box li {
    counter-increment: toc;
    padding: 6px 0;
}

.toc-box li a {
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-box li a::before {
    content: counter(toc) ".";
    color: var(--text-muted);
    font-weight: 600;
    min-width: 20px;
}

.toc-box li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Feature List */
.feature-list {
    margin: 16px 0 24px;
}

.feature-list li {
    padding: 10px 0 10px 28px;
    font-size: 0.93rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

/* Type Cards */
.type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.type-card {
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.type-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.type-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--primary-dark);
}

.type-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Info Callout */
.info-callout {
    background: rgba(46, 204, 113, 0.08);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.info-callout strong {
    color: var(--primary-dark);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.comparison-table thead {
    background: var(--secondary);
    color: var(--white);
}

.comparison-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody tr:hover {
    background: rgba(46, 204, 113, 0.04);
}

/* Steps Inline */
.steps-inline {
    margin: 24px 0 32px;
}

.step-inline {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.step-inline:last-child {
    border-bottom: none;
}

.step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-inline h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.step-inline p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ===== SIDEBAR ===== */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    padding: 6px 0;
}

.sidebar-links a {
    font-size: 0.88rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.sidebar-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Sidebar Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== SEO CONTENT SECTION (Homepage) ===== */
.seo-content-section {
    padding: 80px 0;
    background: var(--white);
}

.seo-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.seo-link-card {
    display: block;
    padding: 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.seo-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.seo-link-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.seo-link-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.seo-link-arrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.seo-link-card:hover .seo-link-arrow {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-links-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .type-cards {
        grid-template-columns: 1fr;
    }

    .factors-grid {
        grid-template-columns: 1fr;
    }

    .page-cta-content h2 {
        font-size: 1.7rem;
    }

    .price-block h2 {
        font-size: 1.4rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 32px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .breadcrumb-list {
        font-size: 0.8rem;
    }

    .price-table th,
    .price-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}
