/* ==========================================================================
   DEKORAF SAMSUN - ORTAK PREMIUM STİLLER
   ========================================================================== */

.galeri-page .card.position-relative {
    cursor: pointer;
}

.galeri-page .card.position-relative:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.12) !important;
}

/* Sayfa Arka Planları */
.products-page,
.product-detail-page {
    background-color: #f8fafc;
}

/* Premium Kart - Ortak Temel Yapı */
.premium-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(13, 110, 253, 0.15); /* Bootstrap Primary */
}

/* Kart Kapak Görselleri (Ürünler ve Galeri Kategorileri Birleştirildi) */
.product-card-cover,
.galeri-card-cover {
    height: 240px; /* Standart premium görünüm için eşitlendi */
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
}
.product-card-img,
.galeri-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.premium-card:hover .product-card-img,
.premium-card:hover .galeri-card-cover img {
    transform: scale(1.08);
}

/* Kapak Görseli Olmadığında (Empty State) */
.galeri-card-cover-empty {
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #cbd5e1;
    height: 240px;
}

/* ==========================================================================
   Ürün Listeleme & Filtreleme (Pill Tags)
   ========================================================================== */
.filter-pill {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.filter-pill-active {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}
.filter-pill-inactive {
    background-color: #fff;
    color: #475569;
    border-color: #e2e8f0;
}
.filter-pill-inactive:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ==========================================================================
   Ürün Detay Sayfası Stilleri
   ========================================================================== */
.product-gallery-main {
    position: relative;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.product-gallery-main img {
    object-fit: cover;
    width: 100%;
    max-height: 500px;
    transition: transform 0.5s ease;
}
.product-gallery-main:hover img {
    transform: scale(1.02);
}

.product-gallery-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}
.product-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}
.product-gallery-thumbs::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
.product-gallery-thumb {
    flex: 0 0 calc(25% - 0.75rem); /* 4'lü dizilim */
    cursor: pointer;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}
.product-gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    opacity: 1;
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Teknik Özellikler Tablosu */
.premium-spec-table th {
    width: 35%;
    color: #64748b;
    font-weight: 500;
    background-color: transparent !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
}
.premium-spec-table td {
    color: #0f172a;
    font-weight: 600;
    background-color: transparent !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
}
.premium-spec-table tr:last-child th,
.premium-spec-table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Masonry Galeri (Alt Kategoriler / Fotoğraflar)
   ========================================================================== */
.galeri-photo {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem; /* Masonry dikey boşluk */
}
.galeri-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
}
.galeri-photo img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}
.galeri-photo:hover img {
    transform: scale(1.05);
}
.galeri-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0) 100%);
    color: white;
    padding: 2rem 1.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.galeri-photo:hover .galeri-photo-caption {
    opacity: 1;
    transform: translateY(0);
}