/**
 * Page Title ve Breadcrumb Özelleştirmeleri
 */

/* Page Title Koyu Desenli Arkaplan - Sadece dinamik arka plan yoksa */
.page-title:not([style*="background-image"]):not(.has-dynamic-background) {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 8s ease infinite;
}

/* Desenli Overlay - Sadece dinamik arka plan yoksa */
.page-title:not([style*="background-image"]):not(.has-dynamic-background)::before {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.15) 10px,
            rgba(0, 0, 0, 0.15) 20px
        ) !important;
    z-index: 1;
}

/* Nokta Deseni - Sadece dinamik arka plan yoksa */
.page-title:not([style*="background-image"]):not(.has-dynamic-background)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    pointer-events: none;
    z-index: 1;
}

/* Gradient Animasyonu */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Breadcrumb Özelleştirme */
.breadkcum {
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    z-index: 2;
    gap: 12px !important;
}

.breadkcum a,
.breadkcum span.caption-1 {
    color: #333 !important;
    position: relative;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Sadece Home (Anasayfa) ikonu */
.breadkcum a.home {
    padding-left: 32px !important;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.breadkcum a.home::before {
    content: '\f015';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadkcum a:hover {
    color: #000 !important;
    border-color: #bbb !important;
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

.breadkcum a.home:hover::before {
    color: #000;
    transform: translateY(-50%);
}

/* Breadcrumb Ayırıcı */
.breadkcum span:not(.caption-1) {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.breadkcum span:not(.caption-1) i {
    font-size: 12px !important;
}

/* Son Eleman (Aktif Sayfa) */
.breadkcum span.caption-1:last-child {
    color: #000 !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 1) !important;
    border: 1px solid #999 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Page Title Boşluk Düzeltmesi */
.page-title.style-1 {
    padding: 50px 0 !important;
    min-height: 200px !important;
}

.page-title.style-1 .breadkcum {
    padding-bottom: 0 !important;
}

/* Başlık ve Alt Başlığı Gizle */
.page-title .title-page-title,
.page-title .sub-title {
    display: none !important;
}

/* Page Title İçeriği */
.page-title-content {
    z-index: 2;
}


/* Resim Yok Placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.no-image-placeholder:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.no-image-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #ccc;
}

.no-image-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

/* Ürün kartları için */
.product-item .no-image-placeholder,
.service-block .no-image-placeholder {
    min-height: 250px;
}

.product-item .no-image-placeholder i,
.service-block .no-image-placeholder i {
    font-size: 64px;
}

/* Liste öğeleri için */
.related-products .no-image-placeholder {
    min-height: 200px;
}

/* Detay sayfaları için */
.gallery-main .no-image-placeholder {
    min-height: 400px;
}

/* WhatsApp Butonu Yeşil */
.btn-outline {
    background: #25d366 !important;
    color: white !important;
    border: 2px solid #25d366 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1ea952 !important;
    color: white !important;
    border-color: #1ea952 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Action Buttons Container Override - Daha Güçlü Selector */
.product-main .action-buttons .btn-outline,
.action-buttons .btn.btn-outline,
a.btn-outline[href*="whatsapp"] {
    background: #25d366 !important;
    color: white !important;
    border: 2px solid #25d366 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.product-main .action-buttons .btn-outline:hover,
.action-buttons .btn.btn-outline:hover,
a.btn-outline[href*="whatsapp"]:hover {
    background: #1ea952 !important;
    color: white !important;
    border-color: #1ea952 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

/* WhatsApp İkonu için Özel Stil */
.btn-outline .fab.fa-whatsapp {
    color: white !important;
    margin-right: 8px;
}

/* Benzer Ürünler - Buton Yazı Renkleri */
.item-detail-btn span,
.item-info-btn span {
    color: #333 !important;
    font-weight: 500;
}

.item-detail-btn:hover span,
.item-info-btn:hover span {
    color: #000 !important;
}

/* Benzer Ürünler - Buton İkonları */
.item-detail-btn i,
.item-info-btn i {
    color: #666 !important;
}

.item-detail-btn:hover i,
.item-info-btn:hover i {
    color: #333 !important;
}
