/* Genel Ayarlar */
body {
    background-color: #0a0a0a; /* Koyu siyah arka plan */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    padding: 25px 20px;
    max-width: 1200px; /* Mobilde tam, bilgisayarda dar görünmesi için */
    margin: 0 auto;
}

/* Başlık Kısımları */
header {
    margin-bottom: 25px;
}

.subtitle {
    color: #d48135; /* Görseldeki turuncu/altın rengi */
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.title {
    font-family: 'Playfair Display', serif; /* Şık tırnaklı font */
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

/* Kategori Kartları */
.category-card {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.category-card:active {
    transform: scale(0.97); /* Dokunma efekti */
}

/* Resim Üzeri Karartma (Gradient) */
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.category-card h2 {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* Yazının daha iyi okunması için */
}

/* --- ÜRÜNLER SAYFASI EKLENTİLERİ --- */

.products-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.back-btn {
    background: none;
    border: none;
    color: #d48135;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-right: 15px;
    padding: 0;
}

/* --- YENİ ÜRÜN KARTLARI --- */
#product-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Kartlar arası boşluk */
}

.product-card {
    background-color: #0f0f0f; /* Ana arka plandan bir tık daha açık siyah */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Çok hafif bir çerçeve */
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 220px; /* Resmin büyüklüğü */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.product-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 0;
    color: #fff;
    flex: 1;
    padding-right: 15px;
}

.product-card-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.new-price {
    font-size: 22px;
    color: #d48135; /* Turuncu/Altın rengimiz */
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin-top: 5px;
}

.product-card-desc {
    font-size: 13px;
    color: #aaaaaa;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.product-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-text {
    font-size: 10px;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.detail-arrow {
    color: #666;
    font-size: 16px;
}
/* --- MASAÜSTÜ İÇİN RESPONSIVE AYARLARI --- */

@media (min-width: 768px) {
    /* Tablet ve küçük dizüstü bilgisayarlar için 2'li sütun */
    #category-list, 
    #product-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    /* Geniş PC ekranları için 3'lü sütun */
    #category-list, 
    #product-list {
        grid-template-columns: repeat(3, 1fr); 
    }
}