/**
 * Post Sidebar - Kurumsal ve Ferah Tasarım
 * Daha geniş, daha profesyonel
 */

.sidebar {
    position: sticky;
    top: 20px;
    background: transparent;
    /* Beyaz background yok */
    padding: 0;
    /* Padding kaldır */
}

/* İletişim Kartı - Ana Özellik */
.sidebar-contact-card {
    background: linear-gradient(135deg, #043366 0%, #065a9e 100%);
    border-radius: 16px;
    padding: 30px 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(4, 51, 102, 0.15);
    color: #fff;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: #fff;
}

.contact-info h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.contact-info p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    text-decoration: none;
    color: #043366;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.contact-action:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-action i {
    font-size: 18px;
    color: #043366;
}

.contact-action.blue i {
    color: #043366;
}

.contact-action.green i {
    color: #25D366;
}

.contact-action.orange i {
    color: #EA9C00;
}

.contact-action.green:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.contact-action.green:hover i {
    color: #fff;
}

.contact-action.orange:hover {
    background: #EA9C00;
    border-color: #EA9C00;
    color: #fff;
}

.contact-action.orange:hover i {
    color: #fff;
}

/* CTA Kart - Teklif Al */
.sidebar-cta-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EA9C00 0%, #d88b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(234, 156, 0, 0.3);
}

.cta-icon i {
    font-size: 30px;
    color: #fff;
}

.sidebar-cta-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #043366;
    margin: 0 0 12px 0;
}

.sidebar-cta-card p {
    font-size: 14px;
    color: #555;
    /* Daha koyu - daha iyi kontrast */
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #EA9C00;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(234, 156, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 156, 0, 0.4);
    background: #d88b00;
    color: #fff;
}

/* Link Kartı - Galeri */
.sidebar-link-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #043366;
}

.link-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.link-card-icon.purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.link-card-icon i {
    font-size: 24px;
    color: #043366;
}

.link-card-content {
    flex: 1;
}

.link-card-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: #043366;
}

.link-card-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    /* Daha koyu - daha iyi kontrast */
}

.link-card-arrow {
    width: 35px;
    height: 35px;
    background: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    color: #043366;
}

.sidebar-link-card:hover .link-card-arrow {
    background: #043366;
    color: #fff;
}

/* Popüler Yazılar */
.sidebar-popular {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #043366;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section-title i {
    color: #EA9C00;
    font-size: 20px;
}

.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.popular-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.popular-item:hover {
    opacity: 0.8;
}

.popular-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-item:hover .popular-thumb img {
    transform: scale(1.1);
}

.popular-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-title {
    display: block;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    /* Daha koyu - daha iyi kontrast */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-date {
    font-size: 12px;
    color: #666;
    /* Daha koyu - WCAG AA uyumlu */
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-date i {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        position: static;
        margin-top: 50px;
    }

    .sidebar-contact-card {
        padding: 25px 20px;
    }

    .contact-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

@media (max-width: 576px) {

    .sidebar-contact-card,
    .sidebar-cta-card,
    .sidebar-link-card,
    .sidebar-popular {
        border-radius: 12px;
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .contact-action {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
    }

    .cta-icon i {
        font-size: 26px;
    }

    .sidebar-cta-card h3 {
        font-size: 18px;
    }

    .popular-thumb {
        width: 60px;
        height: 60px;
    }
}