/* category page styles */
/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%), url('https://www.rotareklamajansi.com/images/secili.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1) 0%, transparent 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 56px;
    font-weight: 900;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li:not(:last-child)::after {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
}

.breadcrumb .active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Category Info */
.category-info {
    text-align: center;
    margin-bottom: 50px;
}

.category-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.category-description {
    font-size: 17px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(204, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay svg {
    width: 50px;
    height: 50px;
    fill: white;
    margin-bottom: 15px;
}

.overlay-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-content {
    padding: 25px;
    text-align: center;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #990000 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.btn-detail {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products svg {
    width: 80px;
    height: 80px;
    fill: var(--primary-color);
    margin-bottom: 25px;
}

.no-products h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.no-products p {
    font-size: 17px;
    color: #666;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #990000 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .products-section {
        padding: 50px 0;
    }
    
    .category-info h2 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 16px;
        min-height: 45px;
    }
    
    .btn-detail {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* Responsive - Küçük Mobil */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .category-info h2 {
        font-size: 24px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-category {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .product-title {
        font-size: 14px;
        min-height: 40px;
        margin-bottom: 10px;
    }
    
    .btn-detail {
        padding: 7px 15px;
        font-size: 11px;
    }
}
