@charset "UTF-8";

/* --- HIZLI MENÜ KARTLARI v2.4.0 CSS --- */

.hmk-grid {
    display: grid;
    width: 100%;
    box-sizing: border-box;
}

.hmk-grid.hmk-grid-fixed {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hmk-grid.hmk-grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.hmk-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    width: 100%;
    padding: 20px 16px 18px 16px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background-color 0.24s ease, border-color 0.24s ease;
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Alt aksiyon yoksa dikeyde doğal akış */
.hmk-card.hmk-no-action {
    justify-content: flex-start;
}

.hmk-card.hmk-no-action .hmk-top-section {
    margin-bottom: 0;
}

.hmk-card.hmk-no-action .hmk-content {
    margin-bottom: 0;
}

.hmk-card.hmk-span-2 {
    grid-column: span 2;
}

/* ==========================================
   İÇERİK YERLEŞİM & HİZALAMA SEÇENEKLERİ
   ========================================== */

/* 1. İkon Üstte (Varsayılan Dikey) */
.hmk-layout-icon-top .hmk-top-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hmk-layout-icon-top .hmk-icon-wrapper {
    margin-bottom: 12px;
}

/* 2. İkon Solda - Metin Sağında (Yatay) */
.hmk-layout-icon-left .hmk-top-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hmk-layout-icon-left .hmk-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* 3. Metin Solda - İkon Sağında (Yatay) */
.hmk-layout-icon-right .hmk-top-section {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hmk-layout-icon-right .hmk-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* 4. Metin Üstte - İkon Altta (Dikey) */
.hmk-layout-icon-bottom .hmk-top-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    width: 100%;
}

.hmk-layout-icon-bottom .hmk-icon-wrapper {
    margin-top: 12px;
    margin-bottom: 0;
}

/* İkon tamamen kaldırıldığında (None) */
.hmk-card.hmk-no-icon .hmk-icon-wrapper {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hmk-card.hmk-no-icon .hmk-top-section {
    margin-top: 0 !important;
}

/* İkon Alanı */
.hmk-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #edf2f7;
    transition: background-color 0.24s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hmk-icon-wrapper i {
    font-size: 22px;
    color: #2b6cb0;
    transition: color 0.24s ease;
}

.hmk-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: #2b6cb0;
    transition: fill 0.24s ease;
}

.hmk-icon-wrapper img {
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Metinler */
.hmk-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hmk-title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a202c;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    transition: color 0.24s ease;
}

.hmk-desc {
    margin: 4px 0 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #718096;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.24s ease;
}

.hmk-action-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.hmk-arrow-elem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2d3748;
    transition: transform 0.24s ease, color 0.24s ease, fill 0.24s ease;
}

.hmk-arrow-elem svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hmk-btn-elem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 6px;
    background-color: #3182ce;
    color: #ffffff;
    transition: all 0.24s ease;
    border: 1px solid transparent;
}

.hmk-btn-elem svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* ==========================================
   KART HOVER ANİMASYONLARI (DEKORLAR)
   ========================================== */
.hmk-fx-translate-up .hmk-card:hover,
.hmk-fx-translate-up .hmk-card:active,
.hmk-custom-fx-translate-up:hover,
.hmk-custom-fx-translate-up:active {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hmk-fx-scale-up .hmk-card:hover,
.hmk-fx-scale-up .hmk-card:active,
.hmk-custom-fx-scale-up:hover,
.hmk-custom-fx-scale-up:active {
    transform: scale(1.035);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
    z-index: 2;
}

.hmk-fx-soft-float .hmk-card:hover,
.hmk-fx-soft-float .hmk-card:active,
.hmk-custom-fx-soft-float:hover,
.hmk-custom-fx-soft-float:active {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.hmk-fx-glow-shadow .hmk-card:hover,
.hmk-fx-glow-shadow .hmk-card:active,
.hmk-custom-fx-glow-shadow:hover,
.hmk-custom-fx-glow-shadow:active {
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.25);
    border-color: #63b3ed !important;
}

.hmk-fx-border-accent .hmk-card:hover,
.hmk-fx-border-accent .hmk-card:active {
    border-color: #3182ce !important;
    box-shadow: inset 0 0 0 1px #3182ce;
}

.hmk-fx-none .hmk-card:hover,
.hmk-fx-none .hmk-card:active,
.hmk-custom-fx-none.hmk-card:hover,
.hmk-custom-fx-none.hmk-card:active {
    transform: none !important;
}

/* İkon Hover */
.hmk-ifx-scale .hmk-card:hover .hmk-icon-wrapper {
    transform: scale(1.12);
}

.hmk-ifx-rotate .hmk-card:hover .hmk-icon-wrapper {
    transform: rotate(8deg) scale(1.08);
}

.hmk-ifx-bounce .hmk-card:hover .hmk-icon-wrapper {
    transform: translateY(-3px);
}

.hmk-ifx-none .hmk-card:hover .hmk-icon-wrapper {
    transform: none !important;
}

/* Alt Ok & Buton */
.hmk-arrow-has-motion .hmk-card:hover .hmk-arrow-elem {
    transform: translateX(4px);
}

.hmk-arrow-has-motion .hmk-card:hover .hmk-btn-elem {
    transform: translateY(-1px);
}

.hmk-arrow-no-motion .hmk-card:hover .hmk-arrow-elem,
.hmk-arrow-no-motion .hmk-card:hover .hmk-btn-elem {
    transform: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .hmk-grid.hmk-grid-fixed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .hmk-card {
        min-height: 125px;
        padding: 16px 14px;
    }
    .hmk-icon-wrapper {
        width: 42px;
        height: 42px;
    }
    .hmk-icon-wrapper i {
        font-size: 19px;
    }
    .hmk-title {
        font-size: 14px;
    }
}

/* Mobil */
@media (max-width: 767px) {
    .hmk-grid.hmk-grid-fixed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hmk-grid.hmk-grid-auto {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }
    .hmk-card {
        min-height: 110px;
        padding: 14px 12px;
        border-radius: 12px;
    }
    .hmk-card.hmk-span-2 {
        grid-column: span 2;
    }
    .hmk-icon-wrapper {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }
    .hmk-icon-wrapper i {
        font-size: 17px;
    }
    .hmk-icon-wrapper svg,
    .hmk-icon-wrapper img {
        max-width: 17px;
        max-height: 17px;
    }
    .hmk-title {
        font-size: 13.5px;
        line-height: 1.3;
    }
    .hmk-desc {
        font-size: 12px;
    }
    .hmk-arrow-elem {
        font-size: 12px;
    }
    .hmk-btn-elem {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .hmk-grid {
        gap: 8px;
    }
    .hmk-card {
        padding: 12px 10px;
        min-height: 95px;
    }
    .hmk-icon-wrapper {
        width: 34px;
        height: 34px;
    }
    .hmk-icon-wrapper i {
        font-size: 15px;
    }
    .hmk-title {
        font-size: 12.5px;
    }
}
