/* Ürünlerimiz Sayfası - Özel CSS */

/* Ana Container */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 380px 20px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Kategori Navbar */
.category-navbar {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    border-radius: 50px;
    padding: 8px;
    margin-bottom: 60px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.category-nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 5px;
}

.category-nav-item {
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.category-nav-link {
    display: block;
    padding: 12px 8px;
    color: #8b4513;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-nav-link:hover,
.category-nav-link.active {
    background-color: rgba(255, 255, 255, 0.9);
    color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Kategori Başlığı */
.category-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    color: #6c757d;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* Dekoratif Elementler */
.decorative-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.8;
}

.decorative-element.left {
    left: 10%;
    top: 20%;
    background: radial-gradient(circle, #ff6b6b, #ee5a52);
}

.decorative-element.right {
    right: 10%;
    top: 25%;
    background: radial-gradient(circle, #4a4a4a, #2c2c2c);
}

/* Ürün Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ürün Kartı */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    min-height: 180px;
}

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

/* Ürün Resmi */
.product-image-container {
    position: relative;
    width: 150px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
    margin-right: 20px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Ürün Bilgileri */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-name.purple {
    color: #8e44ad;
}

.product-name.blue {
    color: #3498db;
}

.product-description {
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Ürün Fiyatı */
.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Sipariş Butonu */
.order-button {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    border: none;
    color: #8b4513;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f4e4a6 0%, #d4af37 50%, #f4e4a6 100%);
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .category-nav-list {
        justify-content: center;
    }
    
    .category-nav-item {
        min-width: 90px;
    }
    
    .category-nav-link {
        font-size: 0.8rem;
        padding: 10px 6px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
    }
    
    .product-card {
        min-height: 160px;
        padding: 15px;
    }
    
    .product-image-container {
        width: 120px;
        height: 100px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .products-container {
        padding: 20px 15px 340px 15px;
    }
    
    .category-navbar {
        padding: 6px;
        margin-bottom: 40px;
    }
    
    .category-nav-list {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .category-nav-item {
        min-width: 80px;
        flex: 0 0 calc(25% - 3px);
    }
    
    .category-nav-link {
        font-size: 0.7rem;
        padding: 8px 4px;
    }
    
    .category-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .product-card {
        min-height: 140px;
        padding: 15px;
    }
    
    .product-image-container {
        width: 100px;
        height: 80px;
        margin-right: 15px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    .decorative-element {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .category-nav-item {
        flex: 0 0 calc(50% - 3px);
        min-width: unset;
    }
    
    .category-nav-link {
        font-size: 0.75rem;
        padding: 10px 8px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
}

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

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

.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }

/* Loading State */
.products-loading {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.products-loading i {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Products State */
.no-products-message {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.no-products-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.no-products-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #95a5a6;
}

.no-products-message p {
    font-size: 1rem;
    color: #bdc3c7;
}
