﻿/* ============================================
   Site.Master.Footer.css - تنسيقات الفوتر والجانب الأيمن
   ============================================ */

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #0a0f1e 100%);
    padding: 50px 20px 25px;
    margin-top: 60px;
    border-top: 1px solid rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, #fbbf24, transparent);
        animation: shimmer 3s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-section {
    padding: 0 15px;
    transition: all 0.3s ease;
}

    .footer-section:hover {
        transform: translateY(-5px);
    }

    .footer-section h3 {
        color: #fbbf24;
        margin-bottom: 20px;
        font-size: 18px;
        font-weight: 600;
        position: relative;
        display: inline-block;
    }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, #fbbf24, #f59e0b);
            border-radius: 2px;
        }

        .footer-section h3 i {
            margin-left: 8px;
            font-size: 16px;
        }

    .footer-section p {
        color: #94a3b8;
        font-size: 13px;
        line-height: 1.8;
        margin: 8px 0;
    }

        .footer-section p i {
            margin-left: 6px;
            color: #fbbf24;
            width: 20px;
        }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    margin: 12px auto;
    width: 80%;
}

/* Version Badge */
.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    border: 1px solid #fbbf24;
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    color: #fbbf24;
}

    .version-badge i {
        margin-left: 5px;
    }

/* Last Update Time */
.last-update-time {
    direction: ltr;
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 13px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

        .footer-links a i {
            color: #fbbf24;
            font-size: 12px;
        }

        .footer-links a:hover {
            color: #fbbf24;
            transform: translateX(-5px);
        }

/* Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0 10px;
}

    .footer-social a {
        color: #94a3b8;
        font-size: 18px;
        transition: all 0.3s ease;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        text-decoration: none;
    }

        .footer-social a:hover {
            color: #fbbf24;
            transform: translateY(-3px);
            background: rgba(251, 191, 36, 0.2);
        }

.social-note {
    font-size: 11px !important;
    color: #64748b !important;
    margin-top: 10px !important;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

    .footer-bottom i {
        color: #fbbf24;
        margin: 0 3px;
    }

.footer-motto {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: #475569;
    letter-spacing: 0.5px;
}

/* Developer Credit Section */
.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.separator {
    color: #fbbf24;
    font-weight: bold;
}

.company-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.1);
    padding: 3px 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .company-logo-wrapper:hover {
        background: rgba(251, 191, 36, 0.2);
        transform: translateY(-2px);
    }

.company-logo-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.5));
}

.company-logo-wrapper span {
    font-size: 12px;
    color: #94a3b8;
}

.company-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    direction: ltr;
    display: inline-block;
}

    .company-link:hover {
        color: #f59e0b;
        text-decoration: underline;
        transform: translateY(-2px);
    }

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-section {
        padding: 0;
    }

        .footer-section h3 {
            font-size: 16px;
        }

        .footer-section p {
            font-size: 12px;
        }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

        .footer-links a {
            font-size: 12px;
        }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .footer-motto {
        font-size: 9px;
    }

    .developer-credit {
        flex-direction: column;
        gap: 12px;
    }

    .separator {
        display: none;
    }

    .company-logo-wrapper {
        padding: 4px 12px;
    }

    .company-logo-small {
        width: 18px;
        height: 18px;
    }

    .company-logo-wrapper span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 10px;
    }

        .footer-links a {
            font-size: 11px;
        }

    .footer-social {
        gap: 8px;
    }

        .footer-social a {
            width: 28px;
            height: 28px;
            font-size: 14px;
        }
}
