/* =============================================
   Styled Pagination
   ============================================= */

.blog-list__pagination {
    margin-top: 50px;
    text-align: center;
}

.styled-pagination {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;          /* hafif arka plan – istersen kaldır */
    padding: 10px 20px;
    border-radius: 50px;          /* yuvarlak kutu efekti */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    gap: 8px;                     /* boşluklar */
}

.styled-pagination li {
    list-style: none;
    margin: 0 4px;
}

.styled-pagination a,
.styled-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #333;
    background: transparent;
    border: 1px solid #ddd;
}

.styled-pagination a:hover {
    background: #007bff;         /* ana tema rengi – senin temana göre değiştir */
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,123,255,0.25);
}

.styled-pagination li.active a,
.styled-pagination li.active span {
    background: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
    cursor: default;
}

.styled-pagination li.arrow a,
.styled-pagination li.arrow span {
    width: 45px;
    font-size: 18px;
}

/* Disabled durum */
.styled-pagination li.disabled a,
.styled-pagination li.disabled span {
    color: #aaa;
    background: #f1f1f1;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

/* Responsive – küçük ekranlarda küçült */
@media (max-width: 576px) {
    .styled-pagination {
        padding: 8px 12px;
        gap: 6px;
    }
    .styled-pagination a,
    .styled-pagination span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ==============================================
   Cookie Consent Banner
============================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 25, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f0f0f0;
    z-index: 999999;
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
    transform: translateY(100%);
    opacity: 0;
}

.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-icon {
    font-size: 1.9rem;
    color: var(--theme-color, #0066ff);
    flex-shrink: 0;
}

.cookie-content p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.55;
    flex: 1;
}

.cookie-content a {
    color: var(--theme-color, #0066ff);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-content a:hover,
.cookie-content a:focus {
    color: var(--theme-color2, #00aaff);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.cookie-accept,
.cookie-reject {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--theme-color, #0066ff);
    color: white;
    border: none;
}

.cookie-accept:hover,
.cookie-accept:focus {
    background: var(--theme-color2, #0055dd);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
}

.cookie-reject {
    background: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.cookie-reject:hover,
.cookie-reject:focus {
    background: rgba(255,255,255,0.08);
    color: white;
    border-color: #888;
}

/* Mobil uyum */
@media (max-width: 640px) {
    .cookie-consent {
        padding: 16px 14px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-buttons {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .cookie-accept,
    .cookie-reject {
        flex: 1;
        max-width: 220px;
    }
}

@media (max-width: 380px) {
    .cookie-content p {
        font-size: 0.92rem;
    }
}





/* ==============================================
   WhatsApp Floating Button
============================================== */
/* WhatsApp Floating Button - Hover'da yazı beyaz ve daha belirgin */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    /*right: 25px;*/
    z-index: 9998;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 16px 12px 12px;
    box-shadow: 0 6px 20px rgba(37, 213, 102, 0.35);
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 213, 102, 0.5);
    background: #20b858;
}

.whatsapp-icon {
    width: 44px;
    height: 44px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.15);
}

.whatsapp-icon svg {
    width: 28px;
    height: 28px;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.97rem;
    white-space: nowrap;
    color: #ffffff;               /* Normalde beyaz */
    transition: all 0.25s ease;
}

/* Hover durumunda yazı efekti */
.whatsapp-button:hover .whatsapp-text {
    color: #ffffff;               /* Kesinlikle beyaz kalır */
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);  /* Hafif gölge ile daha belirgin */
    letter-spacing: 0.4px;        /* Opsiyonel: biraz açılır, daha okunaklı olur */
}

/* Mobil görünüm (metin gizlenir) */
@media (max-width: 640px) {
    .whatsapp-button {
        padding: 14px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Eğer scroll-to-top varsa onunla çakışmasın diye (isteğe bağlı) */
.scroll-top ~ .whatsapp-float {
    bottom: 100px;  /* Yukarı çık butonu varsa WhatsApp'ı onun üstüne taşır */
}
.whatsapp-button {
    background: var(--theme-color);
    /* ... */
}

.whatsapp-button:hover {
    background: var(--theme-color2);
    /* ... */
}

.whatsapp-float::after {
    background: var(--theme-color);
    /* ... */
}

.whatsapp-icon {
    background: color-mix(in srgb, var(--theme-color) 80%, black);
}


/*/////////////////////////////*/
/* Tema'nın style.css veya custom.css dosyasına ekle */
.widget .info-box {
    align-items: center;          /* ikon + metin dikeyde ortalanır */
    gap: 1rem;                    /* me-3 yerine daha tutarlı boşluk (Bootstrap gap) */
}

.widget .info-box_icon {
    font-size: 1.5rem;            /* ikon boyutunu sabitle – isteğe göre değiştir */
    color: var(--theme-color);    /* temanın ana rengini kullan – yoksa #014E4E gibi koy */
    min-width: 2.5rem;            /* ikon alanı sabit genişlik → taşma önler */
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget .info-box_icon i {
    line-height: 1;               /* FA ikonlarının baseline sorununu çözer */
}

.widget .info-box_subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;                  /* gri ton – tema ile uyumlu olsun */
    margin-bottom: 0.25rem;
}

.widget .info-box_text {
    font-weight: 600;
    margin: 0;
    color: #222;                  /* koyu metin */
}