﻿/* ============================================
   MudBlazor Extensions - Custom Utilities
   فقط کلاس‌هایی که MudBlazor ندارد
   ============================================ */

/* 1. Font Weights - MudBlazor همه weights را ندارد */
.font-weight-bold {
    font-weight: 700 !important;
}
.font-weight-medium {
    font-weight: 500 !important;
}

.font-weight-semibold {
    font-weight: 600 !important;
}

/* 3. Line Clamp - MudBlazor ندارد */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Sticky Positions با offset دلخواه */
.sticky-top-100 {
    position: sticky;
    top: 100px;
    z-index: 10;
}

@media (max-width: 599px) {
    .sticky-top-100 {
        top: 80px;
    }
}

/* 5. Brand Colors روی Hero */
.hero-text-white {
    color: white !important;
}

/* 6. Hover Lift Effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* 7. Image Filters */
.brightness-95 {
    filter: brightness(0.95);
}

/* 8. Text Shadow for Hero */
.text-shadow-hero {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 9. Background Utilities */
.bg-white-alpha-03 {
    background: rgba(255, 255, 255, 0.03) !important;
}

.bg-white-alpha-05 {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* 10. Border Utilities */
.border-white-alpha-08 {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-white-alpha-1 {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-white-alpha-2 {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* 11. Line Height */
.line-height-18 {
    line-height: 1.8 !important;
}

/* پایان - تنها 11 کلاس utility اضافی! */
