/* 🎨 أنماط الشعارات المخصصة للنظام */

/* الشعار الأساسي */
.logo-container {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

/* شعار الصورة */
.logo-img {
    max-height: 80px;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo-img:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* الشعار النصي */
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.logo-text i {
    margin-left: 10px;
    animation: pulse 2s infinite;
}

/* الشعار الدائري */
.custom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo-circle:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: rotate(5deg) scale(1.1);
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* الشعار المتدرج */
.gradient-logo {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    justify-content: center;
}

.logo-letter {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.logo-letter:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.logo-letter:nth-child(1) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0.1s;
}

.logo-letter:nth-child(2) {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation-delay: 0.2s;
}

/* شعار بتأثير الكتابة */
.typewriter-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    border-right: 3px solid white;
    padding-right: 10px;
    animation: typewriter 4s steps(10) infinite, blink 0.5s infinite alternate;
}

/* شعار ثلاثي الأبعاد */
.logo-3d {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 1px 0 rgba(0,0,0,0.3),
        0 2px 0 rgba(0,0,0,0.2),
        0 3px 0 rgba(0,0,0,0.1),
        0 4px 8px rgba(0,0,0,0.3);
    transform: perspective(500px) rotateX(15deg);
}

.logo-3d:hover {
    transform: perspective(500px) rotateX(0deg) scale(1.05);
    transition: all 0.3s ease;
}

/* شعار مع أيقونات متحركة */
.animated-logo {
    position: relative;
}

.animated-logo::before,
.animated-logo::after {
    content: '♥';
    position: absolute;
    top: -10px;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    animation: float 3s ease-in-out infinite;
}

.animated-logo::before {
    right: -20px;
    animation-delay: 0s;
}

.animated-logo::after {
    left: -20px;
    animation-delay: 1.5s;
}

/* الحركات والتأثيرات */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) opacity(0.7); }
    50% { transform: translateY(-10px) opacity(1); }
}

@keyframes typewriter {
    0%, 90% { width: 0; }
    100% { width: 100%; }
}

@keyframes blink {
    0% { border-color: white; }
    100% { border-color: transparent; }
}

@keyframes slideIn {
    0% { 
        transform: translateY(-30px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* تأثير الدخول */
.logo-container {
    animation: slideIn 0.8s ease-out;
}

/* استجابة للهواتف */
@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .logo-letter {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* ألوان مخصصة لـ BENSA FIT */
.bensa-colors .logo-text {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bensa-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}
