/* =========================================
   E-KATALOG SAYFASI ÖZEL TASARIMI
========================================= */

.ek-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO ALANI */
.ek-hero {
    position: relative;
    height: 350px;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ek-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.ek-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    animation: fadeUp 0.8s ease forwards;
}

.ek-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--vurgu-duz); /* Kırmızı renk */
}

.ek-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

/* KATALOG LİSTESİ ALANI */
.ek-kataloglar {
    padding: 80px 0;
    background: var(--zemin-beyaz); /* Temanızdaki genel arkaplan rengi */
}

.ek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* KATALOG KARTI */
.ek-kart {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.ek-kart:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(220, 38, 38, 0.15);
}

.ek-kart-gorsel {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--zemin-gri);
}

.ek-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ek-kart:hover .ek-kart-gorsel img {
    transform: scale(1.08); /* Resim üzerine gelince hafifçe büyür */
}

.ek-rozeti {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--vurgu-gradient);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    z-index: 2;
}

.ek-kart-icerik {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ek-kart-icerik h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--yazi-koyu);
    margin-bottom: 12px;
}

.ek-kart-icerik p {
    font-size: 0.95rem;
    color: var(--yazi-acik);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Butonların her kartta en alta hizalanmasını sağlar */
}

/* BUTONLAR */
.ek-butonlar {
    display: flex;
    gap: 15px;
}

.btn-ek-incele,
.btn-ek-indir {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ek-incele {
    background: var(--zemin-gri);
    color: var(--yazi-koyu);
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-ek-incele:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-ek-indir {
    background: #111827; /* Kurumsal lacivert/siyah */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-ek-indir:hover {
    background: var(--vurgu-duz); /* Kırmızı renk */
    color: #fff;
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .ek-hero {
        height: 280px;
    }
    .ek-hero-content h1 {
        font-size: 2.2rem;
    }
    .ek-grid {
        gap: 30px;
    }
    .ek-butonlar {
        flex-direction: column;
    }
}