/* =============================================
   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 */
}


/* Newsletter Widget Genel */
.newsletter-widget {
    background: rgba(255, 255, 255, 0.07);       /* hafif glass efekti - koyu footer varsa güzel durur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
}

.newsletter-widget .widget-title h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-widget small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Form */
#Newsletter-Form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#Newsletter-Form .form-group.position-relative {
    position: relative;
    display: flex;
    align-items: center;
}

#Newsletter-Form input[type="email"] {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;                    /* yuvarlak input */
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

#Newsletter-Form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

#Newsletter-Form input[type="email"]:focus {
    outline: none;
    border-color: #6366f1;                  /* indigo-500 veya tema rengine göre değiştir */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

/* Buton */
#subscribeBtn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #6366f1;                    /* ana tema rengi - #4f46e5, #7c3aed vs. olabilir */
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#subscribeBtn:hover {
    background: #4f46e5;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 25px -8px rgba(99, 102, 241, 0.5);
}

#subscribeBtn:disabled {
    background: #6b7280;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

/* Mesaj alanı */
#newsletter-message {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

#newsletter-message.text-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#newsletter-message.text-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Mobil uyum */
@media (max-width: 576px) {
    .newsletter-widget {
        padding: 1.25rem;
    }
    
    #subscribeBtn {
        width: 48px;
        height: 48px;
        right: 4px;
    }
}


/* =============================================
   Brand / Referans (Client Logo) Carousel
   ============================================= */

.brand-one {
    padding: 60px 0;
    background-color: #f8f9fa;          /* hafif gri arka plan - hoş durur */
    /* Alternatif: background: white; veya gradient kullanılabilir */
}

.brand-one .container {
    max-width: 1400px;                  /* biraz daha geniş alan */
}

/* Carousel genel ayarları */
.brand-one__carousel {
    padding: 20px 0;                    /* üst-alt boşluk */
}

/* Her bir logo kutusu */
.brand-one__single {
    text-align: center;
    padding: 0 15px;                    /* kenarlardan nefes alma alanı */
    transition: all 0.35s ease;
}

/* Logo çerçevesi (inner) */
.brand-one__single-inner {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;                 /* daha ferah iç boşluk */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    height: 180px;                      /* logo için daha büyük alan */
    width: 190px;                      /* logo için daha büyük alan */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.brand-one__single-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

/* Logo resmi */
.brand-one__single img {
    max-width: 100%;
    max-height: 140px;                  /* daha büyük logo görünümü */
    width: 220px;
    height: auto;
    object-fit: contain;                /* oran bozulmasın */
    transition: transform 0.4s ease;
}

.brand-one__single:hover img {
    transform: scale(1.10);             /* hover'da hafif büyüme */
}

/* Owl Carousel navigasyon okları */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    margin: 0 !important;
    font-size: 20px !important;
    transition: all 0.3s;
}

.owl-carousel .owl-nav button.owl-prev  { left: -25px; }
.owl-carousel .owl-nav button.owl-next  { right: -25px; }

.owl-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* ─────────────────────────────────────────────
   Responsive ayarlar
   ───────────────────────────────────────────── */

@media (max-width: 991px) {
    .brand-one {
        padding: 50px 0;
    }
    .brand-one__single-inner {
        height: 160px;
        padding: 20px 15px;
    }
    .brand-one__single img {
        max-height: 130px;
        width: 200px;
    }
}

@media (max-width: 767px) {
    .brand-one {
        padding: 40px 0;
    }
    .brand-one__single-inner {
        height: 140px;
        padding: 15px 10px;
    }
    .brand-one__single img {
        max-height: 110px;
        width: 170px;
    }
    .owl-carousel .owl-nav button.owl-prev  { left: 5px; }
    .owl-carousel .owl-nav button.owl-next  { right: 5px; }
}


/* Sidebar İletişim Kutusu */
.sidebar-contact-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #eef0f4;
    transition: all 0.3s ease;
}

.sidebar-contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* İçerik wrapper */
.sidebar-contact-box .inner {
    display: flex;
    flex-direction: column;
}

/* Üstteki resim kısmı */
.sidebar-contact-box .image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.sidebar-contact-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.sidebar-contact-box:hover .image img {
    transform: scale(1.08);
}

/* Alt metin + ikon + buton kısmı */
.sidebar-contact-box .content {
    padding: 28px 24px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

/* Telefon ikon */
.sidebar-contact-box .icon {
    width: 64px;
    height: 64px;
    background: #e6f0ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0066ff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
}

/* Telefon + email linkleri */
.sidebar-contact-box h2 {
    font-size: 1.45rem;
    margin: 0 0 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a1f36;
}

.sidebar-contact-box h2 a {
    color: #0066ff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sidebar-contact-box h2 a:hover {
    color: #004ccc;
    text-decoration: underline;
}

/* Açıklama metni */
.sidebar-contact-box p {
    font-size: 1rem;
    color: #5a6270;
    margin: 0 0 24px;
    line-height: 1.55;
}

/* Buton */
.sidebar-contact-box .btn-box {
    margin-top: 8px;
}

.thm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #0066ff;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.25);
}

.thm-btn:hover {
    background: #0055dd;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
}

.thm-btn i {
    font-size: 0.9rem;
}

/* Responsive düzenlemeler */
@media (max-width: 991px) {
    .sidebar-contact-box .image {
        height: 140px;
    }
    
    .sidebar-contact-box .content {
        padding: 24px 20px;
    }
    
    .sidebar-contact-box h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    .sidebar-contact-box {
        margin-bottom: 24px;
    }
    
    .thm-btn {
        padding: 13px 28px;
        font-size: 0.95rem;
    }
}