/* Bozkurt Elektronik - Modern Tasarım Stilleri */

/* ==========================================
   Kategori Sayfası Özel Tasarım
   ========================================== */

/* Kategori Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    padding: 5rem 0 5rem !important;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.page-title {
    color: #DC143C !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Breadcrumb Modernization */
.breadcrumb-nav {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    margin-bottom: 2rem !important;
}

.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-item {
    font-weight: 500;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #DC143C;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-item a:hover {
    color: #B22222;
}

.breadcrumb-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #DC143C;
    transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: #666;
    font-weight: 600;
}

/* Kategori Filtreleme Sidebar */
.kategori_sol {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.kategori_sol h2,
.kategori_sol h6 {
    color: #DC143C;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #DC143C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kategori_sol ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kategori_sol ul li {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.kategori_sol ul li a {
    color: #444;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.kategori_sol ul li a:hover {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff !important;
    padding-left: 20px;
    transform: translateX(5px);
}

.kategori_sol ul li i {
    margin-right: 8px;
    color: #DC143C;
}

/* Filtreleme Butonları */
#kategorifiltrelemegg,
#kategorigg {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

#kategorifiltrelemegg:hover,
#kategorigg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* Sıralama Dropdown */
.dropdown .btn {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.dropdown .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, #B22222 0%, #DC143C 100%);
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff !important;
    transform: translateX(5px);
}

/* ==========================================
   Ürün Kartları Modern Tasarım
   ========================================== */

.product {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-bottom: 30px;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.product:hover::before {
    opacity: 0.05;
}

.product-media {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #f8f9fa;
}

.product-media img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: auto;
}

.product:hover .product-media img {
    transform: scale(1.15) rotate(2deg);
}

/* Ürün Aksiyonları */
.product-action-vertical {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product:hover .product-action-vertical {
    opacity: 1;
    transform: translateX(0);
}

.btn-product-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #DC143C;
}

.btn-product-icon:hover {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff;
    transform: scale(1.1);
}

.product-action {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.product:hover .product-action {
    transform: translateY(0);
}

.btn-product {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-product:hover {
    background: linear-gradient(135deg, #B22222 0%, #DC143C 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

/* Ürün Detayları */
.product-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.product-title {
    font-weight: 900 !important;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 42px;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-weight: 900 !important;
}

.product-title a:hover {
    color: #DC143C;
}

.product-price {
    font-weight: 700;
    font-size: 18px;
}

.product-price .new-price {
    color: #DC143C;
    font-size: 20px;
}

.product-price .old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
    margin-left: 10px;
}

/* Etiketler */
.etiket,
.yeni_etiketi {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.yeni_etiketi {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

/* ==========================================
   Ana Sayfa Slider
   ========================================== */

.intro-slider-container {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.intro-slide {
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

/* Product-7 Buton Düzenlemeleri */
.product.product-7 .btn-product {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease;
}

.product.product-7 .btn-product:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    color: #fff !important;
}

.product.product-7 .btn-product span {
    color: #fff !important;
}

/* Ürün Kartlarındaki İconlar */
.product .btn-product-icon i,
.product-action i,
.product-action-vertical i {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Filtreleme Bölümü İconları */
.kategori_sol i,
.kategori_sag i,
#kategorifiltrelemegg i {
    font-family: "Line Awesome Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* ==========================================
   Sol Menü (Kategoriler)
   ========================================== */

.side-nav {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidenav-title {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff !important;
    padding: 20px !important;
    font-weight: 700;
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-vertical {
    background: #fff;
}

.menu-vertical li > a {
    padding: 15px 20px !important;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-vertical li > a:hover {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #fff !important;
    padding-left: 30px !important;
    border-left: 5px solid #fff;
}

/* ==========================================
   Daha Fazla Ürün Butonu
   ========================================== */

#dahaFazla {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#dahaFazla:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, #B22222 0%, #DC143C 100%);
}

/* ==========================================
   Alert ve Bildirimler
   ========================================== */

.alert-info {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    border: none;
    border-radius: 15px;
    color: #fff !important;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.alert-info p {
    margin: 0;
    font-weight: 600;
}

/* ==========================================
   Responsive Düzenlemeler
   ========================================== */

@media screen and (max-width: 991px) {
    .page-title {
        font-size: 24px !important;
    }
    
    .kategori_sol {
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .page-header {
        padding: 3rem 0 3rem !important;
    }
    
    .page-title {
        font-size: 20px !important;
    }
    
    .product {
        margin-bottom: 20px;
    }
}

/* ==========================================
   Loading ve Animasyonlar
   ========================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* ==========================================
   Form Elemanları
   ========================================== */

.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #DC143C;
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.25);
}

select.form-control {
    cursor: pointer;
}

/* ==========================================
   Scroll to Top Button
   ========================================== */

#scroll-top {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
}

#scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
}

