/* ==========================================================================
   ÜRÜNLER SAYFASI ÖZEL STİLLERİ (urunler.css)
   ========================================================================== */

/* 1. Header Alanı - Anasayfa ile uyumlu Gradyan */
.urunler-header {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #101827 0%, #006687 50%, #2DB84D 100%);
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.urunler-header-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.urunler-header-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
}

/* 2. Ürün Kartları Grid */
.urunler-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 60px 0;
}

@media (min-width: 640px) {
    .urunler-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .urunler-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 3. Tekil Ürün Kartı */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

/* Ürün Görseli */
.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8fafc;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* Kart İçeriği */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
    /* Başlıklar 2 satırı geçmesin */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem;
    font-size: 1.1rem;
}

.product-desc {
    font-size: 0.85rem; /* Daralan sütun için biraz küçültüldü */
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px; /* Boşluk azaltıldı */
    /* Açıklama 3 satırı geçmesin */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buton Tasarımı */
.product-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-card:hover .product-btn {
    background: #007AFF;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.product-btn span {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-btn span {
    transform: translateX(4px);
}
