/* Footer Styles for Ahdjez */

.footer {
    background-color: #1e293b;
    color: #e2e8f0;
    padding-top: 4rem;
    font-family: 'Tajawal', sans-serif;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #3b82f6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #3b82f6;
    opacity: 1;
    transform: translateX(-5px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(5px);
}

.footer-newsletter-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-newsletter .input-group {
    border-radius: 0.5rem;
    overflow: hidden;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-newsletter .btn {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.footer-contact {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-item i {
    margin-left: 0.75rem;
    color: #3b82f6;
    font-size: 1.1rem;
}

[dir="ltr"] .contact-item i {
    margin-left: 0;
    margin-right: 0.75rem;
}

.footer-bottom {
    background-color: #0f172a;
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.payment-methods span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.payment-methods img {
    height: 24px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-bottom {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
    
    .footer-title {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 2rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding: 1rem 0;
    }
}
