/*
 * TÜRKONFED - Why TÜRKONFED Page
 * Clean. Impactful. Professional.
 */

/* ============================================
   HERO SECTION
   ============================================ */

.why-hero {
    position: relative;
    padding: 10rem 0 4.0rem;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.why-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(237, 27, 47, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(237, 27, 47, 0.05) 0%, transparent 40%);
}

.why-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.why-hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    background: rgba(237, 27, 47, 0.1);
    margin-bottom: 1.5rem;
}

.why-hero-title {
    font-family: var(--font-family-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

.why-hero-title span {
    color: rgba(255, 255, 255, 0.6);
}

.why-hero-title .accent {
    color: var(--color-accent);
}

.why-hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   STATS BAR
   ============================================ */

.why-stats {
    background: var(--color-bg-dark);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.why-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.why-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 4rem;
    position: relative;
}

.why-stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.why-stat:last-child::after {
    display: none;
}

.why-stat-value {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.why-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.35rem;
}

/* ============================================
   REASONS SECTION
   ============================================ */

.why-reasons {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.why-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.why-section-title {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem;
}

.why-section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   REASONS GRID
   ============================================ */

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reason-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: reasonReveal 0.6s ease forwards;
}

@keyframes reasonReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.reason-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-family-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(237, 27, 47, 0.15);
    letter-spacing: -0.02em;
}

.reason-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #c41428 100%);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
    transform: scale(1.05);
}

.reason-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.reason-title {
    font-family: var(--font-family-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.reason-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   VISUAL SECTION
   ============================================ */

.why-visual {
    padding: 4rem 0;
    background: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.why-visual-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-infographic {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CTA SECTION
   ============================================ */

.why-cta {
    padding: 4rem 0;
    background: var(--color-bg-dark);
}

.why-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.why-cta-text h2 {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}

.why-cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.why-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 27, 47, 0.3);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RELATED SECTION
   ============================================ */

.why-related {
    padding: 4rem 0;
    background: var(--color-bg-light);
}

.why-related .related-title {
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.why-related .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.related-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.related-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.related-card-content {
    flex: 1;
}

.related-card-content h4 {
    font-family: var(--font-family-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.15rem;
}

.related-card-content p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

.related-card-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.related-card-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.related-card:hover .related-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .why-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .why-cta-text p {
        max-width: 100%;
    }

    .why-related .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .why-hero {
        padding: 8rem 0 3.0rem;
    }

    .why-hero-title {
        font-size: 2.25rem;
    }

    .why-hero-desc {
        font-size: 1rem;
    }

    .why-stats-grid {
        flex-direction: column;
        padding: 1.5rem 0;
    }

    .why-stat {
        padding: 1rem 2rem;
    }

    .why-stat::after {
        display: none;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .why-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .why-hero-title {
        font-size: 1.875rem;
    }

    .why-section-title {
        font-size: 1.5rem;
    }

    .reason-card {
        padding: 1.5rem 1.25rem;
    }

    .reason-icon {
        width: 48px;
        height: 48px;
    }

    .reason-icon svg {
        width: 22px;
        height: 22px;
    }

    .reason-title {
        font-size: 1rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .reason-card,
    .related-card,
    .btn-primary,
    .btn-secondary {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reason-card:hover,
    .related-card:hover,
    .btn-primary:hover {
        transform: none;
    }
}
