/* ================= تنظیمات پایه و راست‌چین ================= */
:root {
    --neon-pink: #ff007f; /* رنگ صورتی نئونی */
    --dark-bg: #080808;   /* رنگ پس زمینه تیره */
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
}

body {
    direction: rtl; /* راست‌چین کردن کل صفحه */
    margin: 0;
    padding: 0;
}

/* ================= استایل هدر ================= */
.main-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 0, 127, 0.2);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================= لوگو ================= */
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}
.logo-pink {
    color: var(--neon-pink);
}
.logo-white {
    color: var(--text-light);
}

/* ================= منوی نویگیشن ================= */
.main-nav {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

/* افکت هاور و انیمیشن زیرخط منو (دقیقاً مشابه عکس) */
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-light);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* شروع از راست به دلیل RTL */
    width: 0;
    height: 2px;
    background-color: var(--neon-pink);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--neon-pink);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* ================= دکمه‌ها ================= */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-outline, .btn-solid {
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 25px; /* شکل بیضی/کپسولی */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.btn-solid {
    background: var(--neon-pink);
    color: var(--text-light);
    border: 1px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.btn-solid:hover {
    background: #e60073;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.7);
    transform: translateY(-2px); /* انیمیشن حرکت به بالا */
}

/* ================= منوی موبایل ================= */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .header-actions {
        display: none; /* در موبایل دکمه ها را مخفی میکند */
    }
    .hamburger-menu {
        display: flex;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--dark-bg);
        border-bottom: 2px solid var(--neon-pink);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .main-nav.active {
        max-height: 400px;
    }
    .nav-links {
        flex-direction: column;
        padding: 20px;
        align-items: center;
        gap: 20px;
    }
}
/* =========================================
   استایل‌های فوتر نئونی
========================================= */
.neon-footer {
    background-color: #050208; /* رنگ پس‌زمینه بسیار تاریک */
    border-top: 2px solid #ff107a;
    box-shadow: 0 -5px 20px rgba(255, 16, 122, 0.2);
    color: #e0e0e0;
    padding: 50px 0 0 0;
    font-family: Tahoma, Arial, sans-serif; /* فونت خود را جایگزین کنید */
    position: relative;
    overflow: hidden;
}

/* افکت درخشش نئونی در بالای فوتر */
.neon-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: #ff107a;
    box-shadow: 0 0 20px 2px #ff107a;
    opacity: 0.7;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* خط زیر تایتل ها */
.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff107a;
    box-shadow: 0 0 10px #ff107a;
    transition: width 0.3s ease;
}

.footer-col:hover .footer-title::after {
    width: 80px; /* انیمیشن بزرگ شدن خط */
}

.footer-desc {
    line-height: 1.8;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.neon-text {
    color: #ff107a;
    text-shadow: 0 0 5px rgba(255, 16, 122, 0.5);
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

/* انیمیشن هاور لینک‌ها */
.footer-links a:hover {
    color: #ff107a;
    transform: translateX(-8px); /* حرکت به سمت چپ در حالت RTL */
    text-shadow: 0 0 8px rgba(255, 16, 122, 0.6);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    color: #ff107a;
    text-decoration: none;
    border: 1px solid #ff107a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(255, 16, 122, 0.1);
}

/* انیمیشن شبکه‌های اجتماعی */
.social-icon:hover {
    background-color: #ff107a;
    color: #050208;
    box-shadow: 0 0 15px #ff107a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #020104;
    border-top: 1px solid rgba(255, 16, 122, 0.2);
    font-size: 0.85rem;
    color: #777;
}

/* =========================================
   ریسپانسیو (موبایل و تبلت)
========================================= */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .footer-col:hover .footer-title::after {
        width: 60px;
    }

    .footer-links a:hover {
        transform: translateY(-3px); /* تغییر جهت انیمیشن در موبایل */
    }

    .social-icons {
        justify-content: center;
    }
}
