:root { 
    --premium-gold: #b3834d; 
}

.gallery-section { 
    padding: 80px 0; 
    background: #121212; 
    color: white; 
}

/* Sınırları Koruyan Taşıyıcı */
.gallery-container { 
    max-width: 1600px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ================== BAŞLIKLAR ================== */
.section-title { 
    text-align: center; 
    font-size: 13px; 
    color: var(--premium-gold); 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
}

.section-subtitle { 
    text-align: center; 
    font-size: 38px; 
    margin: 0 0 15px 0; 
    font-weight: 700; 
    color: #fff; 
}

.section-desc { 
    text-align: center; 
    color: #999; 
    margin-bottom: 60px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.6; 
}

/* ================== GRID (IZGARA) ================== */
.category-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Görseldeki gibi 4 sütun */
    gap: 25px; 
}

@media (max-width: 1200px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .category-grid { grid-template-columns: 1fr; } }

/* ================== ANİMASYON ================== */
.animate-card { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 0.8s ease-out; 
}

.animate-card.fade-in-up { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ================== KART TASARIMI ================== */
.category-card { 
    position: relative;
    height: 480px; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* İçeriği en alta yaslar */
    text-decoration: none; 
    color: white; 
    border: 1px solid #2a2a2a;
}

.category-card:hover { 
    border-color: var(--premium-gold); 
}

/* Arka Plan Resmi (Tüm Kartı Kaplar) */
.cat-img { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: 1; 
}

.cat-img img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s ease; 
}

.category-card:hover .cat-img img { 
    transform: scale(1.08); /* Yumuşak yakınlaşma efekti */
}

/* Aşağıdan Yukarı Siyah Geçiş (Gradient) */
.cat-overlay {
    position: absolute;
    bottom: 0; left: 0; 
    width: 100%; height: 75%;
    background: linear-gradient(to top, rgba(18,18,18, 1) 0%, rgba(18,18,18, 0.6) 50%, transparent 100%);
    z-index: 2;
    transition: height 0.5s ease;
}

.category-card:hover .cat-overlay {
    height: 85%; /* Hover durumunda siyahlık hafif yukarı çıkar */
}

/* ================== KART İÇERİĞİ ================== */
.cat-content { 
    position: relative; 
    z-index: 3; 
    padding: 30px 20px; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-label { 
    font-size: 12px; 
    color: var(--premium-gold); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 600; 
    margin-bottom: 8px; 
}

.cat-content h3 { 
    font-size: 22px; 
    margin: 0 0 20px 0; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}

/* ================== BUTON ================== */
.btn-detay { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    padding: 12px 25px; 
    border: 1px solid #555; 
    color: #ccc; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s ease;
}

.category-card:hover .btn-detay { 
    border-color: var(--premium-gold); 
    color: white; 
}

.btn-detay i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover .btn-detay i {
    transform: translateX(5px); /* Oka tıkla animasyonu */
}