
/* 
   استایل‌های فوتر عریض سراسری - پی سی فایل مارکت
   این استایل‌ها باید به style.css اضافه شوند
*/

/* فوتر اصلی عریض */
.wide-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #e0e0e0;
    padding: 0;
    margin-top: 100px;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 8px solid transparent;
    border-image: linear-gradient(90deg, #11bcb6, #0a9b96, #11bcb6) 1;
    overflow: hidden;
}

.wide-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #11bcb6 20%, 
        #0a9b96 50%, 
        #11bcb6 80%, 
        transparent 100%);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.wide-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(17, 188, 182, 0.3) 50%, 
        transparent 100%);
}

.footer-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* چهار ستون بالایی عریض */
.footer-top-wide {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-columns-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1200px) {
    .footer-columns-wide {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-columns-wide {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
}

.footer-column-wide {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer-column-wide:nth-child(1) { animation-delay: 0.1s; }
.footer-column-wide:nth-child(2) { animation-delay: 0.2s; }
.footer-column-wide:nth-child(3) { animation-delay: 0.3s; }
.footer-column-wide:nth-child(4) { animation-delay: 0.4s; }

.footer-section-wide {
    padding: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.footer-section-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #11bcb6, #0a9b96);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.footer-section-wide:hover {
    background: linear-gradient(145deg, rgba(17, 188, 182, 0.05), rgba(10, 155, 150, 0.02));
    border-color: rgba(17, 188, 182, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 188, 182, 0.15);
}

.footer-section-wide:hover::before {
    transform: scaleX(1);
}

.footer-title-wide {
    font-size: 15px;
    font-weight: 700;
    color: #11bcb6;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(17, 188, 182, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.footer-title-wide::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: #11bcb6;
}

/* لیست لینک‌ها */
.footer-links-wide {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-wide li {
    margin-bottom: 12px;
}

.footer-links-wide a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid transparent;
}

.footer-links-wide a:hover {
    color: #11bcb6;
    background: rgba(17, 188, 182, 0.1);
    border-color: rgba(17, 188, 182, 0.3);
    padding-right: 25px;
    transform: translateX(-5px);
}

.footer-links-wide a i {
    width: 24px;
    text-align: center;
    color: #11bcb6;
    font-size: 18px;
}

/* اطلاعات تماس */
.footer-contact-wide {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-wide li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-wide li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.footer-contact-wide li i {
    color: #11bcb6;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 24px;
}

/* شبکه‌های اجتماعی */
.footer-social-wide {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title-wide {
    font-size: 17px;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-icons-wide {
    display: flex;
    gap: 15px;
}

.social-icon-wide {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.social-icon-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon-wide:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(17, 188, 182, 0.3);
}

.social-icon-wide:hover::before {
    opacity: 1;
}

.social-icon-wide i {
    position: relative;
    z-index: 1;
}

.social-icon-wide:hover i {
    color: white;
}

/* بخش میانی فوتر */
.footer-middle-wide {
    background: rgba(255, 255, 255, 0.01);
    padding: 80px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content-wide {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1100px) {
    .footer-content-wide {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-middle-wide {
        padding: 60px 20px;
    }
}

.footer-about-wide {
    animation: fadeInLeft 0.8s ease forwards;
}

.footer-logo-wide {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo-wide i {
    font-size: 50px;
    color: #11bcb6;
    background: linear-gradient(135deg, rgba(17, 188, 182, 0.1), rgba(10, 155, 150, 0.05));
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-main {
    font-size: 32px;
    font-weight: 800;
    color: #11bcb6;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 16px;
    color: #aaa;
    font-weight: 400;
}

.footer-description-wide {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.footer-text-wide {
    font-size: 17px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    padding-left: 20px;
    border-right: 3px solid rgba(17, 188, 182, 0.3);
}

/* تصویر فوتر */
.footer-image-container-wide {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
    transform: translateX(30px);
}

.footer-image-wide {
    width: fit-content;
    height: 200px !important;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(17, 188, 182, 0.3);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: saturate(0.9) contrast(1.1);
    opacity: 0;
    animation: imageLoad 1s ease 0.5s forwards;
}

.footer-image-wide.loaded {
    opacity: 1;
}

.footer-image-wide:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: #11bcb6;
    box-shadow: 0 30px 60px rgba(17, 188, 182, 0.4);
    filter: saturate(1.2) contrast(1);
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* بخش پایینی فوتر */
.footer-bottom-wide {
    padding: 60px 40px 40px;
    background: rgba(255, 255, 255, 0.005);
}

/* نوار منو */
.footer-nav-wide {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-group-wide {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-nav-divider-wide {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(17, 188, 182, 0.5) 50%, 
        transparent 100%);
    width: 80%;
    margin: 25px auto;
}

.footer-nav-link-wide {
    padding: 15px 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    color: #ccc;
    text-decoration: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 180px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.footer-nav-link-wide.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.footer-nav-link-wide:hover {
    background: linear-gradient(145deg, #11bcb6, #0a9b96);
    color: white;
    transform: translateY(-5px);
    border-color: #11bcb6;
    box-shadow: 0 10px 25px rgba(17, 188, 182, 0.3);
}

.footer-nav-link-wide i {
    font-size: 18px;
}

/* کپی رایت */
.footer-copyright-wide {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright-content-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .copyright-content-wide {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

.copyright-text-wide {
    color: #aaa;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright-main {
    font-size: 15px;
    margin: 0;
}

.copyright-brand {
    color: #11bcb6;
    font-weight: 700;
}

.copyright-sub {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.copyright-link-wide {
    color: #11bcb6;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.copyright-link-wide::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: #11bcb6;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.copyright-link-wide:hover {
    text-decoration: none;
}

.copyright-link-wide:hover::after {
    transform: scaleX(1);
}

/* آیکون‌های پرداخت */
.footer-payment-wide {
    display: flex;
    align-items: center;
    gap: 20px;
}

.payment-text-wide {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
}

.payment-icons-wide {
    display: flex;
    gap: 12px;
}

.payment-icon-wide {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 22px;
    transition: all 0.3s ease;
    cursor: default;
}

.payment-icon-wide:hover {
    background: linear-gradient(145deg, rgba(17, 188, 182, 0.1), rgba(10, 155, 150, 0.05));
    color: #11bcb6;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(17, 188, 182, 0.2);
}

/* دکمه بازگشت به بالا */
.back-to-top-wide {
    position: fixed;
    bottom: 130px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(17, 188, 182, 0.4);
    font-size: 22px;
}

.back-to-top-wide:hover {
    background: linear-gradient(135deg, #0a9b96, #087a76);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(17, 188, 182, 0.6);
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wide-footer.visible .footer-column-wide,
.wide-footer.visible .footer-content-wide > * {
    animation-play-state: running;
}

/* استایل‌های responsive اضافی */
@media (max-width: 480px) {
    .wide-footer {
        margin-top: 60px;
    }
    
    .footer-top-wide {
        padding: 40px 10px;
    }
    
    .footer-columns-wide {
        padding: 0 15px;
        gap: 25px;
    }
    
    .footer-section-wide {
        padding: 25px;
    }
    
    .footer-middle-wide {
        padding: 40px 15px;
    }
    
    .footer-logo-wide i {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
    
    .logo-main {
        font-size: 26px;
    }
    
    .footer-text-wide {
        font-size: 15px;
        padding-left: 15px;
    }
    
    .footer-image-wide {
        height: 200px;
        border-radius: 20px;
    }
    
    .footer-bottom-wide {
        padding: 40px 15px 30px;
    }
    
    .footer-nav-wide {
        padding: 20px;
    }
    
    .footer-nav-link-wide {
        padding: 12px 20px;
        min-width: 150px;
        font-size: 15px;
    }
    
    .back-to-top-wide {
        bottom: 100px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
}

/* استایل برای حالت پرینت */
@media print {
    .wide-footer {
        display: none;
    }
}

/* استایل برای حالت تاریک اضافی */
@media (prefers-color-scheme: dark) {
    .wide-footer {
      /*  background: linear-gradient(135deg, #050505 0%, #0f0f0f 50%, #050505 100%);*/
    }
    
    .footer-section-wide {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
    }
    
    .footer-links-wide a {
        background: rgba(255, 255, 255, 0.01);
    }
}

/* دکمه back-to-top برای RTL */
html[dir="rtl"] .back-to-top-wide {
    right: auto;
    left: 40px;
}

@media (max-width: 480px) {
    html[dir="rtl"] .back-to-top-wide {
        left: 25px;
    }
}

/* اصلاحات برای نمایش تصویر در همه حالت‌ها */
.footer-image-container-wide {
    position: relative;
}

.footer-image-container-wide::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(17, 188, 182, 0.1), transparent);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.5;
}

/* استایل برای لینک‌های فعال */
.footer-links-wide a.active {
    background: rgba(17, 188, 182, 0.15);
    border-color: rgba(17, 188, 182, 0.4);
    color: #11bcb6;
    font-weight: 600;
}

/* استایل برای hover مادربردی */
@media (hover: hover) and (pointer: fine) {
    .footer-section-wide:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .footer-nav-link-wide:hover {
        transform: translateY(-5px) scale(1.05);
    }
}

/* استایل برای دستگاه‌های لمسی */
@media (hover: none) and (pointer: coarse) {
    .footer-section-wide:active {
        background: linear-gradient(145deg, rgba(17, 188, 182, 0.08), rgba(10, 155, 150, 0.04));
        border-color: rgba(17, 188, 182, 0.4);
    }
    
    .footer-links-wide a:active {
        background: rgba(17, 188, 182, 0.15);
        border-color: rgba(17, 188, 182, 0.4);
    }
    
    .footer-nav-link-wide:active {
        background: linear-gradient(145deg, #11bcb6, #0a9b96);
        transform: scale(0.98);
    }
}
	
