
.footer-historical {
    /* دمج تدرج لوني (ظل) مع الصورة */
    background-image: linear-gradient(rgba(0, 0, 0, 0.842), rgba(0, 0, 0, 0.836)), url('./../images/Footer.jpg');
    background-size: cover; /* لضمان أن الصورة تغطي المساحة بالكامل */
    background-position: center; /* لتوسيط الصورة */
    background-repeat: no-repeat; /* لمنع تكرار الصورة */
    
    /* لون احتياطي */
    background-color: #0da79a; 

    color: #f5f5dc;
    padding: 25px 20px; /* تم تقليل الهوامش لجعل الحجم أصغر */
    text-align: center;
    position: relative;
    /* إضافة الظل */
    box-shadow: 0 0 15px #0da79a;
}

/* لضمان التجاوب بشكل أفضل على الشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-historical {
        padding: 20px 10px; /* تقليل الهوامش أكثر على الهواتف */
    }
}

/* Background Texture Effect */
.footer-historical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
}

/* Content Container */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Logo */
.footer-logo {
    width: 200px;
    height: auto;
}

/* Titles */
.footer-title-container {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
}

.tagline {
    font-family: 'cairo', serif;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: -10px;
}

/* Links and Icons */
.social-links-container,
.contact-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-icons,
.contact-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link,
.contact-link {
    background-color: #d81a5c; /* Darker brown for icons */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-link:hover,
.contact-link:hover {
    background-color: #d81a5c; /* Lighter on hover */
    box-shadow: 0 0 15px rgba(212, 167, 127, 0.5);
}

.social-link i,
.contact-link i {
    font-size: 2rem;
    color: #f5f5dc;
}

/* Divider */
.footer-divider {
    width: 70%;
    max-width: 400px;
    height: 2px;
    background-color: #0da79a;
    border: none;
    margin: 20px 0;
}

/* Text elements */
.follow-text,
.contact-text,
.info-text,
.legal-text {
    font-size: 1rem;
    line-height: 1.6;
}

.developer-name {
    color: #0da79a;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s ease;
}

.developer-name:hover {
    color: #f5f5dc;
}

.code-brackets {
    color: #d81a5c;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .social-links-container,
    .contact-links-container {
        flex-direction: row;
        gap: 20px;
    }
}
@media (max-width: 767px) {
  .legal-text {
    font-size: 10px; /* أصغر شوية من 1rem */
    line-height: 1.4;
  }
}