/* ==============================
   فوتر - تمام استایل‌ها scoped هستند
   ============================== */

/* استایل فوتر */
.creative-footer {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
    color: #fff;
    position: relative;
    margin-top: auto;
    overflow: hidden;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.creative-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* بخش هدر فوتر با افکت نور */
.creative-footer .footer-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.creative-footer .footer-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.creative-footer .footer-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* بخش لینک‌ها */
.creative-footer .footer-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.creative-footer .footer-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creative-footer .footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.creative-footer .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.creative-footer .section-title i {
    color: #ffd700;
}

.creative-footer .footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

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

.creative-footer .footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.creative-footer .footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: right 0.5s ease;
}

.creative-footer .footer-links a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    transform: translateX(-5px);
}

.creative-footer .footer-links a:hover::before {
    right: 100%;
}

.creative-footer .footer-links a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* بخش پایین فوتر */
.creative-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.creative-footer .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #FFFFFF;
}

.creative-footer .footer-badges {
    display: flex;
    gap: 1rem;
}

.creative-footer .badge {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* المان‌های تزئینی */
.creative-footer .floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: footer-float 15s infinite linear;
    z-index: 0;
}

.creative-footer .floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    animation-duration: 20s;
}

.creative-footer .floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation-duration: 25s;
}

.creative-footer .floating-element:nth-child(3) {
    bottom: 15%;
    left: 15%;
    width: 60px;
    height: 60px;
    animation-duration: 18s;
}

@keyframes footer-float {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(10px, 10px) rotate(90deg); }
    50%  { transform: translate(0, 20px) rotate(180deg); }
    75%  { transform: translate(-10px, 10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* طراحی واکنش‌گرا */
@media (max-width: 768px) {
    .creative-footer .footer-links-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .creative-footer .footer-links {
        grid-template-columns: 1fr;
    }

    .creative-footer .footer-title {
        font-size: 1.8rem;
    }

    .creative-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .creative-footer .footer-container {
        padding: 0 1rem;
    }

    .creative-footer .footer-section {
        padding: 1rem;
    }

    .creative-footer .footer-title {
        font-size: 1.5rem;
    }

    .creative-footer .section-title {
        font-size: 1.2rem;
    }
}
