/**
 * Footer Styles
 * @package Kora_Plus_Pro
 */

/* Categories Bar Before Footer */
.categories-bar-before-footer {
    background: linear-gradient(135deg, #00A859, #00c46e);
    padding: 25px 0;
    margin-top: 60px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.categories-bar-title {
    text-align: center;
    margin-bottom: 20px;
}

.categories-bar-title span {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: rgba(0,0,0,0.15);
    padding: 10px 30px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-bar-nav {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.categories-bar-nav::-webkit-scrollbar {
    height: 6px;
}

.categories-bar-nav::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.categories-bar-nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.categories-bar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.5);
}

.categories-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.categories-list .cat-item {
    flex-shrink: 0;
}

.categories-list .cat-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

.categories-list .cat-item a:hover {
    background: #fff;
    color: #00A859;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-color: #fff;
}

.cat-name {
    font-weight: 700;
}

.cat-count {
    background: rgba(0,0,0,0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
}

.categories-list .cat-item a:hover .cat-count {
    background: #00A859;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .categories-bar-before-footer {
        padding: 20px 0;
    }
    
    .categories-bar-title {
        margin-bottom: 15px;
    }
    
    .categories-bar-title span {
        font-size: 16px;
        padding: 8px 20px;
    }
    
    .categories-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .categories-list .cat-item a {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.site-footer {
    background: var(--secondary, #1a1a1a);
    color: #e0e0e0;
    padding: 40px 0 0;
    margin-top: 0; /* إزالة المسافة - سيتم ملؤها بلون الفوتر */
    border-top: 5px solid var(--primary, #00A859);
}

/* الفراغ بين قائمة الأقسام والفوتر - نفس لون الفوتر */
.categories-bar-before-footer {
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

.categories-bar-before-footer::after {
    content: '';
    display: block;
    height: 60px;
    background: var(--secondary, #1a1a1a);
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

/* About */
.footer-about {}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 15px;
}

.footer-description {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 600;
}

/* Menu */
.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary, #00A859);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
    padding-right: 10px;
}

/* Social */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-social .social-link:hover {
    background: rgba(255,255,255,0.1);
}

.footer-social .social-link.facebook:hover {
    background: #1877f2;
}

.footer-social .social-link.twitter:hover {
    background: #000;
}

.footer-social .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.footer-social .social-link.youtube:hover {
    background: #ff0000;
}

/* Copyright */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.copyright {
    margin: 0;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Design Credits Styles */
.design-credits {
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.design-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.design-icon {
    display: inline-block;
    font-size: 22px;
}

.heart-icon {
    display: inline-block;
    font-size: 20px;
    margin: 0 5px;
    color: #ff6b9d;
}

.team-name {
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    padding: 0 8px;
    font-size: 19px;
    text-decoration: none;
    display: inline-block;
}

.team-name:hover {
    color: #fff;
    text-decoration: underline;
}

/* Design Credits Responsive */
@media (max-width: 768px) {
    .design-credits {
        padding: 15px;
    }
    
    .design-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .team-name {
        font-size: 17px;
    }
}

