/* Proizvodi Page Specific Styles */

/* Modern Grid Layout - 3x4 Format */
.explore-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* households-grid stilovi su prebaceni u enhanced-design.css */

/* Remove Bootstrap column classes styling */
.col-md-4 {
    flex: none !important;
    max-width: none !important;
    width: 100% !important;
}

.single-explore-item {
    background: #ffffff !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid #e5e5e5 !important;
    height: 650px !important;
    min-height: 650px !important;
    max-height: 650px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative !important;
}

.single-explore-item:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2) !important;
    border-color: #d0d0d0 !important;
}

.single-explore-img {
    height: 280px !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

.single-explore-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.6s ease !important;
    filter: contrast(1.1) saturate(1.2) !important;
}

.single-explore-item:hover .single-explore-img img {
    transform: scale(1.1) rotate(1deg) !important;
    filter: contrast(1.2) saturate(1.4) brightness(1.1) !important;
}

.product-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-top: 20px !important;
    position: relative !important;
}

.product-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #007bff, #6c5ce7) !important;
}

.product-card li {
    background: #ffffff !important;
    padding: 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid #007bff !important;
    margin-bottom: 15px !important;
}

.product-card li:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.product-card li:nth-child(even) {
    border-left-color: #28a745 !important;
}

.product-card li:nth-child(3n) {
    border-left-color: #ffc107 !important;
}

.close-btn.open-btn {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3) !important;
}

.close-btn.open-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,123,255,0.4) !important;
    color: white !important;
}

/* Responsive breakpoints */
@media (max-width: 992px) {
    .single-explore-item {
        height: 600px !important;
        min-height: 600px !important;
        max-height: 600px !important;
    }
}

@media (max-width: 768px) {
    .single-explore-item {
        height: auto !important;
        min-height: 500px !important;
        max-height: none !important;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-list {
    list-style: none;
    display: flex;
    gap: 10px;
}

.pagination-link {
    text-decoration: none;
    padding: 12px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 25px;
    color: #333;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-link:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}