/* Boya Ürün Filtreleme Stilleri - Yeni Tasarım */

.boya-urun-filtreleme {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Filtre Alanı - Yeni Tasarım */
.filtre-alani {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.2);
    position: relative;
    overflow: hidden;
}

.filtre-alani::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #2196f3, #4a90e2);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Filtre Header */
.filtre-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.filtre-baslik {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.filtre-aciklama {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

/* Dropdown'lar - Yeni Tasarım */
.filtre-dropdownlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.dropdown-grup {
    position: relative;
}

.dropdown-label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.95;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.dropdown-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #4a90e2;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}

/* Disabled dropdown'lar için label opacity */
.dropdown-grup.disabled .dropdown-label {
    opacity: 0.5;
}

.dropdown-grup.disabled .dropdown-label::before {
    background: #999;
    box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.3);
}

.filtre-dropdown {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filtre-dropdown:hover {
    border-color: #4a90e2;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
    transform: translateY(-2px);
}

.filtre-dropdown:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
    background: #ffffff;
}

.filtre-dropdown:disabled {
    background: rgba(245, 245, 245, 0.8);
    color: #999;
    cursor: not-allowed;
    border-color: rgba(221, 221, 221, 0.5);
    transform: none;
}

/* Butonlar - Yeni Tasarım */
.filtre-butonlar {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
}

.filtre-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.filtre-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.filtre-btn:hover::before {
    left: 100%;
}

.filtre-btn.sorgula {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.filtre-btn.sorgula:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.filtre-btn.temizle {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.filtre-btn.temizle:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.filtre-btn i {
    font-size: 16px;
}

/* Arama Alanı - Yeni Tasarım */
.arama-alani {
    margin-top: 20px;
}

.arama-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.arama-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    color: #1e3c72;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.arama-input:focus {
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.arama-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

.arama-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.arama-btn:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.arama-btn i {
    font-size: 16px;
}

/* Sonuç Listesi */
.sonuc-listesi {
    min-height: 200px;
}

.urun-item {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.1);
}

.urun-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.2);
}

.urun-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.urun-item a:hover {
    color: #4a90e2;
}

/* Sonuç Bilgisi */
.sonuc-bilgisi {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    color: #0d47a1;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

/* Sonuç Yok Uyarısı */
.sonuc-yok {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

/* Responsive Tasarım - Yeni */
@media (max-width: 768px) {
    .filtre-dropdownlar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filtre-butonlar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filtre-btn {
        width: 100%;
        justify-content: center;
    }
    
    .arama-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .arama-btn {
        width: 100%;
        justify-content: center;
    }
    
    .filtre-baslik {
        font-size: 24px;
    }
    
    .filtre-aciklama {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .boya-urun-filtreleme {
        padding: 15px;
    }
    
    .filtre-alani {
        padding: 20px;
    }
    
    .filtre-dropdown {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .filtre-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Loading Animasyonu */
.loading {
    text-align: center;
    padding: 40px;
    color: #1e3c72;
    font-size: 16px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e3c72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dropdown Ok İkonu - Yeni */
.filtre-dropdown {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3c72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

/* Ürün Detay Sayfası Stilleri */
.urun-detay-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.urun-detay-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
}

.urun-bilgileri {
    flex: 0 0 65%;
    padding-right: 20px;
}

.urun-baslik {
    color: #0d47a1;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.urun-aciklama {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.urun-aciklama p {
    margin-bottom: 15px;
}

.urun-aciklama h2,
.urun-aciklama h3,
.urun-aciklama h4 {
    color: #0d47a1;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Dinamik İçerik Stilleri */
.urun-dinamik-icerik {
    margin-bottom: 30px;
}

.urun-icerik-bolumu {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3f2fd;
}

.urun-icerik-bolumu:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.urun-icerik-baslik {
    color: #0d47a1;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urun-icerik-aciklama {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.urun-icerik-aciklama p {
    margin-bottom: 12px;
}

.urun-icerik-aciklama p:last-child {
    margin-bottom: 0;
}

.iletisim-buton-alani {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e3f2fd;
}

.iletisim-butonu {
    display: inline-block;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    border: none;
    cursor: pointer;
}

.iletisim-butonu:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.urun-gorsel {
    flex: 0 0 35%;
    position: sticky;
    top: 20px;
}

.urun-gorsel-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.urun-gorsel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.urun-gorsel-img:hover {
    transform: scale(1.05);
}

.urun-gorsel-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Ürün Detay Sayfası Responsive */
@media (max-width: 768px) {
    .urun-detay-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .urun-bilgileri {
        flex: none;
        padding-right: 0;
    }
    
    .urun-gorsel {
        flex: none;
        position: static;
    }
    
    .urun-gorsel-wrapper,
    .urun-gorsel-placeholder {
        height: 300px;
    }
    
    .urun-baslik {
        font-size: 24px;
    }
    
    .iletisim-butonu {
        width: 100%;
        padding: 18px 30px;
    }
}
