/* Ana Banner Stili */
.main-banner {
    width: 100%;
    background-color: #1a1a1a;
    margin-bottom: 50px;
}

.banner-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ürün Vitrin Bölümü */
.product-showcase {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 20px;
    width: 95%;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Büyük Ürün Görseli */
.item-large {
    grid-row: span 2;
    height: 550px;
}

/* Sağdaki Grid Yapısı */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.top-grid, .bottom-grid {
    height: 260px;
}

/* Ürün Öğeleri */
.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

/* Ürün İçerik Stili */
.item-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 2;
}

.discount-tag {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.item-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0;
}

.view-link {
    display: inline-block;
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    text-transform: lowercase;
    margin-top: 10px;
}

/* Yeni Ürünler Düzeni */
.products-layout {
    display: flex;
    flex-direction: row; /* Sidebar solda kalacak */
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 20px;
    width: 95%;
    align-items: flex-start; /* Üst hizalama */
}

/* Sidebar Stilleri */
.products-sidebar {
    width: 250px;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
    height: fit-content;
    margin-right: 30px; /* Sol pozisyonda olduğu için sağdan boşluk */
    flex-shrink: 0; /* Sidebar'ın küçülmesini engelle */
    order: -1; /* Her zaman en solda olmasını sağla */
}

/* Ürün Container Stilleri */
.products-container {
    flex: 1;
    padding: 20px;
    min-width: 0; /* Taşma sorunlarını önler */
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .products-layout {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
        min-width: 100%;
        position: static;
        margin-bottom: 30px;
        margin-right: 0;
        order: -1; /* Mobilde de üstte kalmasını sağla */
    }
}

.product-search {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.product-categories h2 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: color 0.3s ease;
}

.category-item:hover {
    color: #1B365D;
}

.category-item.active {
    color: #1B365D;
    font-weight: bold;
}

/* Ürün Container Stilleri */
.products-container {
    flex: 1;
    padding: 20px;
}

.products-title {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

/* Ürün Grid Düzeni */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 56px 56px !important;
    justify-items: center;
}

/* Ürün Kartı Stilleri */
.product-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    width: 320px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    border: none;
    padding: 0;
    gap: 32px;
}

.product-image {
    width: 100%;
    height: 220px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 18px 0 10px 0;
    margin-bottom: 0;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-info {
    width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.3;
    text-align: left;
    width: 100%;
    letter-spacing: 0.01em;
    background: transparent;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #1B365D;
    border: 1.5px solid #1B365D;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-top: 32px;
    margin-bottom: 0;
    align-self: flex-start;
    box-shadow: none;
}

.read-more-btn:hover {
    background: #1B365D;
    color: #fff;
    border-color: #1B365D;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 36px;
    }
    .product-card {
        width: 90vw;
        max-width: 340px;
    }
}

@media (max-width: 992px) {
    .showcase-container {
        grid-template-columns: 1fr;
    }
    
    .item-large {
        height: 400px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .products-layout {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
        min-width: 100%;
        position: static;
        margin-bottom: 30px;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .top-grid, .bottom-grid {
        height: auto;
    }
    
    .showcase-item {
        height: 250px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        width: 98vw;
        max-width: 340px;
        min-height: 380px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 16px 8px 12px 8px;
    }
}

