/* =====================================================
   ALDALIL EMLAK - DİNAMİK DASHBOARD KARTLARI
   Görseldeki gibi modern gradient tasarım
   ===================================================== */

.stats-card {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 140px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.stats-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.stats-info {
    flex: 1;
}

.stats-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-value {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.stats-icon i {
    font-size: 28px;
    color: #ffffff;
}

/* =====================================================
   GRADIENT RENKLER
   ===================================================== */

/* Yeşil Gradient - Toplam Portföy */
.stats-card-green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.stats-card-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Pembe Gradient - Satılık Portföy */
.stats-card-pink {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

.stats-card-pink:hover {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
}

/* Mor Gradient - Kiralık Portföy */
.stats-card-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.stats-card-purple:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

/* Turuncu Gradient - Kontrat Uyarıları */
.stats-card-orange {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.stats-card-orange:hover {
    background: linear-gradient(135deg, #EA580C 0%, #DC2626 100%);
}

/* Mavi Gradient - Net Kar */
.stats-card-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.stats-card-blue:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

/* Kırmızı Gradient - Bekleyen Ödemeler */
.stats-card-red {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.stats-card-red:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

/* Sarı Gradient - Toplam Müşteri */
.stats-card-yellow {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.stats-card-yellow:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
}

/* Teal Gradient - Resimli Portföy */
.stats-card-teal {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
}

.stats-card-teal:hover {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
}

/* =====================================================
   RESPONSIVE TASARIM
   ===================================================== */

@media (max-width: 768px) {
    .stats-card {
        height: 120px;
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .stats-value {
        font-size: 24px;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
    }
    
    .stats-icon i {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .stats-card {
        height: 100px;
        padding: 16px;
    }
    
    .stats-value {
        font-size: 20px;
    }
    
    .stats-title {
        font-size: 12px;
    }
    
    .stats-subtitle {
        font-size: 10px;
    }
    
    .stats-icon {
        width: 40px;
        height: 40px;
    }
    
    .stats-icon i {
        font-size: 18px;
    }
}

/* =====================================================
   ANİMASYONLAR
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-card {
    animation: fadeInUp 0.6s ease-out;
}

.stats-card:nth-child(1) { animation-delay: 0.1s; }
.stats-card:nth-child(2) { animation-delay: 0.2s; }
.stats-card:nth-child(3) { animation-delay: 0.3s; }
.stats-card:nth-child(4) { animation-delay: 0.4s; }

/* =====================================================
   DARK MODE DESTEĞİ
   ===================================================== */

@media (prefers-color-scheme: dark) {
    .stats-card {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .stats-card:hover {
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.stats-card:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stats-card {
        transition: none;
        animation: none;
    }
    
    .stats-card:hover {
        transform: none;
    }
}
