/* ملف: css/sticky-bar.css - النسخة المحسنة */

/* أنماط الشريط الثابت */

/* الشريط الثابت المحدث - دائم الظهور */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(160,122,77,0.9) 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    border-top: 3px solid rgba(255,255,255,0.2);
}

.sticky-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* قسم التحكم في الخط */
.sticky-font-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-font-controls {
    display: flex;
    gap: 5px;
}

.sticky-font-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.sticky-font-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* قسم المشاركة المنسدل مع النص */
.sticky-share-section {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-share-label {
    font-size: 0.9em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-family: 'Cairo', sans-serif;
}

.sticky-share-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.sticky-share-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.sticky-share-dropdown {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: none;
    flex-direction: row;
    gap: 5px;
    border: 2px solid var(--primary-color);
}

.sticky-share-dropdown.active {
    display: flex;
}

.sticky-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
    background: var(--primary-color);
}

.sticky-share-btn:hover {
    background: #a07a4d;
    transform: scale(1.1);
}

/* قسم القنوات الاجتماعية المنسدل مع النص */
.sticky-social-section {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-social-label {
    font-size: 0.9em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-family: 'Cairo', sans-serif;
}

.sticky-social-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.sticky-social-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.sticky-social-dropdown {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: none;
    flex-direction: row;
    gap: 5px;
    border: 2px solid var(--primary-color);
}

.sticky-social-dropdown.active {
    display: flex;
}

.sticky-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.sticky-social-btn:hover {
    background: #a07a4d;
    transform: scale(1.1);
}

/* تحسينات متجاوبة */
@media (max-width: 768px) {
    .sticky-bar-content {
        gap: 15px;
        padding: 0 10px;
    }

    .sticky-font-btn,
    .sticky-share-toggle,
    .sticky-social-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.8em;
    }

    .sticky-share-label,
    .sticky-social-label {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .sticky-bar-content {
        gap: 10px;
        flex-wrap: wrap;
    }

    .sticky-share-label,
    .sticky-social-label {
        display: none; /* إخفاء النصوص في الشاشات الصغيرة جداً */
    }
}
