.products-container {
    padding-top: 30px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
    position: relative;
}

.products-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.03;
    animation: patternMove 20s linear infinite;
}

/* Filtreler */
.filters {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.search-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.search-container .input-group {
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e8e8e8;
    margin: 0 auto;
}

.search-container .input-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #e31837;
}

.search-icon {
    background: linear-gradient(45deg, #e31837, #ff4a6d);
    border: none !important;
    color: white;
    padding: 0 25px !important;
    font-size: 20px;
}

.search-input {
    border: none !important;
    padding: 20px 25px !important;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fff !important;
    letter-spacing: 0.5px;
}

.search-input:focus {
    box-shadow: none !important;
}

.search-container .input-group:focus-within {
    border-color: #e31837;
    box-shadow: 0 15px 30px rgba(227, 24, 55, 0.2);
}

.search-input::placeholder {
    color: #999;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-input:focus::placeholder {
    opacity: 0.7;
    transform: translateX(10px);
}

/* Ürün Kartları */
.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    background: linear-gradient(45deg, #e31837, #ff4a6d);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.product-overlay .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff4a6d, #e31837);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-overlay .btn:hover {
    transform: translateY(20px) scale(1.05);
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.6);
}

.product-overlay .btn:hover::before {
    opacity: 1;
}

.product-overlay .btn i {
    margin-right: 8px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.product-overlay .btn span {
    position: relative;
    z-index: 1;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-category {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.product-category::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
}

.product-stock {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

/* Modal Styles */
.modal-dialog {
    max-width: 90%;
    width: 900px;
    margin: 1.75rem auto;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.product-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-detail-image img:hover {
    transform: scale(1.02);
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-detail-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.product-detail-specs {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 15px;
}

.product-detail-specs .row {
    position: relative;
}

.product-detail-specs .row:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .products-container {
        padding: 30px 0;
    }
    
    .filters {
        margin-bottom: 30px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .filters {
        padding: 30px 0;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
    
    .search-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
    
    .modal-dialog {
        width: 95%;
        margin: 1rem auto;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .product-detail-specs {
        margin-top: 20px;
    }
    
    .search-input {
        padding: 15px 20px !important;
        font-size: 14px;
    }
    
    .search-icon {
        padding: 0 20px !important;
        font-size: 18px;
    }
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Sayfalama */
.pagination {
    margin-top: 30px;
}

.page-link {
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-item.active .page-link {
    background: #007bff;
    border-color: #007bff;
}

.page-item.disabled .page-link {
    color: #999;
    pointer-events: none;
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 991px) {
    .product-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .products-container {
        padding-top: 60px;
    }
    
    .search-input {
        margin-bottom: 20px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-description {
        font-size: 13px;
    }
} 