/* تصميم الفوتر */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p,
.footer-section li {
    color: #ecf0f1;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    padding-right: 10px;
    color: #3498db;
}

.footer-section ul li:last-child {
    border-bottom: none;
}

.footer-section ul li i {
    margin-left: 10px;
    color: #3498db;
    width: 20px;
}

/* معلومات الاتصال */
.contact-infoe {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.contact-items {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-items:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateX(-5px);
}

.contact-items i {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.text-tele {
    flex: 1;
    min-width: 0;
}

/* أوقات العمل */
.working-hours {
    background: rgba(46, 204, 113, 0.1);
    padding: 25px;
    border-radius: 15px;
    border-right: 4px solid #2ecc71;
    width: 100%;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.working-day:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #2ecc71;
    flex: 1;
}

.time {
    color: #ecf0f1;
    font-weight: 500;
}

/* روابط التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.whatsapp:hover { background: #25d366; }
.social-link.email:hover { background: #dd4b39; }

/* خط الفاصل */
.footer-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #3498db, transparent);
    margin: 40px 0 20px;
}

/* حقوق النشر */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -20px;
}

.copyright {
    text-align: center;
    font-size: 1rem;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.tagline {
    text-align: center;
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 600;
    letter-spacing: 1px;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

/* تأثير الإضاءة */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12, #9b59b6);
    background-size: 300% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* التصميم المتجاوب */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .contact-infoe,
    .working-hours {
        padding: 20px;
    }

    .contact-items {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        align-items: center;
    }

    .text-tele {
        text-align: center;
        width: 100%;
    }

    .working-day {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 15px 0;
    }

    .day, .time {
        text-align: center;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-section ul li {
        text-align: center;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .contact-infoe,
    .working-hours {
        padding: 15px;
    }

    .contact-items {
        padding: 10px;
        margin-bottom: 15px;
    }

    .contact-items i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .working-day {
        padding: 10px 0;
    }

    .tagline {
        font-size: 1rem;
        padding: 5px 10px;
        line-height: 1.4;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .copyright {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .footer-section h3 {
        font-size: 1.1rem;
    }

    .contact-items {
        padding: 8px;
    }

    .working-hours {
        padding: 12px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.9rem;
    }
}