/* ============================================================
   HOMEPAGE — Showcase Section (Makine Parkuru & YZ Modülleri)
   Sadece anasayfaya özel stiller
   ============================================================ */

/* ── Section Wrapper ── */
.hp-showcase-section {
    padding: 90px 0 110px;
    background: #f8fafc;
}

/* ── Başlık Bloğu ── */
.hp-showcase-header {
    text-align: center;
    margin-bottom: 64px;
}

.hp-showcase-header .section-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e63946;
    margin-bottom: 12px;
}

.hp-showcase-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.hp-showcase-header p {
    font-size: 16px;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Her blok (Makine / Ürün) ── */
.hp-showcase-block {
    margin-bottom: 80px;
}

.hp-showcase-block:last-child {
    margin-bottom: 0;
}

/* ── Blok etiketi (Makine Parkuru / YZ Modülleri) ── */
.hp-showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e63946;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.18);
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.hp-showcase-label i {
    font-size: 14px;
}

/* ── 3'lü Grid ── */
.hp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Kart ── */
.hp-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}

/* ── Kart Görsel Alanı ── */
.hp-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.hp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-card:hover .hp-card-image img {
    transform: scale(1.05);
}

/* Görsel yokken placeholder ikon */
.hp-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.hp-card-image-placeholder i {
    font-size: 52px;
    color: #94a3b8;
}

/* Hover overlay */
.hp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-card:hover .hp-card-overlay {
    opacity: 1;
}

.hp-card-view-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s;
}

.hp-card-view-btn:hover {
    background: #e63946;
    color: #fff;
}

/* Rozet */
.hp-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

/* ── Kart İçerik ── */
.hp-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-card-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e63946;
    margin-bottom: 8px;
    display: block;
}

.hp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.35;
}

.hp-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

/* Spec satırları (makineler için) */
.hp-card-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.hp-card-spec {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #475569;
}

.hp-card-spec i {
    color: #e63946;
    font-size: 13px;
    width: 14px;
    flex-shrink: 0;
}

/* Kart Alt Satır */
.hp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.hp-card-brand {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-card-link {
    font-size: 12px;
    font-weight: 700;
    color: #e63946;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.hp-card-link:hover {
    gap: 8px;
    color: #c8102e;
}

/* ── "Tümünü Gör" butonu ── */
.hp-showcase-more {
    text-align: center;
    margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hp-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-showcase-section {
        padding: 70px 0 90px;
    }
    .hp-showcase-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .hp-card-grid {
        grid-template-columns: 1fr;
    }
    .hp-showcase-header h2 {
        font-size: 24px;
    }
    .hp-card-image {
        height: 180px;
    }
}