﻿/* ==============================================
   طراحی جدید با رنگ‌های #00FFFF و #FF4500
   نسخه کامل - با تمام انیمیشن‌ها و بخش‌ها
   ============================================== */

:root {
    --cyan-primary: #00FFFF;
    --orange-primary: #FF4500;
    --orange-dark: #CC3700;
    --cyan-dark: #00CCCC;
    --deep-purple-bg: #0D0B1E;
    --purple-overlay: #1A0A2E;
    --glass-white: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(20, 15, 45, 0.7);
    --text-cyan: #00FFFF;
    --text-orange: #FF4500;
    --text-light: #FFFFFF;
    --text-gray: #C4C4DD;
}

/* ========== انیمیشن‌های اصلی ========== */
@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 5px #00FFFF, 0 0 10px #00FFFF;
        box-shadow: 0 0 5px #00FFFF, 0 0 10px rgba(0, 255, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 15px #00FFFF, 0 0 25px #FF4500;
        box-shadow: 0 0 15px #FF4500, 0 0 25px rgba(255, 69, 0, 0.4);
    }
}

@keyframes glowBorder {
    0% {
        border-color: #00FFFF;
        box-shadow: 0 0 5px #00FFFF;
    }

    100% {
        border-color: #FF4500;
        box-shadow: 0 0 15px #FF4500;
    }
}

@keyframes floatNeon {
    0%, 100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 5px #00FFFF);
    }

    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 0 15px #FF4500);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 2px #00FFFF);
    }

    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 10px #FF4500);
    }
}

/* ========== کلاس‌های انیمیشن ========== */
.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.float-neon {
    animation: floatNeon 4s ease-in-out infinite;
}

.pulse-neon {
    animation: neonPulse 2s infinite;
}

/* ========== پس‌زمینه اصلی ========== */
body {
    background: linear-gradient(135deg, #0D0B1E 0%, #1A0A2E 50%, #0A0A1A 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ========== نوار نئونی ========== */
.navbar-new {
    background: rgba(13, 11, 30, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cyan-primary);
    box-shadow: 0 4px 30px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 11, 30, 0.95);
}

    .navbar-new.scrolled {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        background: rgba(13, 11, 30, 0.98) !important;
    }

.nav-link-modern-new {
    color: var(--text-gray);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 40px;
}

    .nav-link-modern-new:hover {
        color: var(--cyan-primary);
        text-shadow: 0 0 8px var(--cyan-primary);
        background: rgba(0, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .nav-link-modern-new.active {
        color: var(--cyan-primary);
    }

        .nav-link-modern-new.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 50%;
            transform: translateX(50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, var(--cyan-primary), var(--orange-primary));
            border-radius: 2px;
            animation: neonPulse 2s infinite;
        }

/* ========== دکمه‌ها ========== */
.btn-cyber-new {
    background: linear-gradient(135deg, var(--cyan-primary), var(--orange-primary));
    border: none;
    color: #0D0B1E;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-cyber-new::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        transition: left 0.5s;
    }

    .btn-cyber-new:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 20px var(--cyan-primary), 0 0 40px rgba(255, 69, 0, 0.4);
        color: #0D0B1E;
    }

        .btn-cyber-new:hover::before {
            left: 100%;
        }

.btn-outline-cyan {
    background: transparent;
    border: 2px solid var(--cyan-primary);
    color: var(--cyan-primary);
    transition: all 0.3s;
}

    .btn-outline-cyan:hover {
        background: var(--cyan-primary);
        color: #0D0B1E;
        box-shadow: 0 0 20px var(--cyan-primary);
        transform: translateY(-2px);
    }

.btn-gradient-cyber {
    background: linear-gradient(135deg, var(--cyan-primary), var(--orange-primary));
    border: none;
    color: #0D0B1E;
    font-weight: bold;
    transition: all 0.3s;
}

    .btn-gradient-cyber:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 25px var(--cyan-primary);
        color: #0D0B1E;
    }

/* ========== هیرو سکشن ========== */
.hero-cyber {
    position: relative;
    background: radial-gradient(circle at 20% 40%, rgba(0, 255, 255, 0.08), rgba(13, 11, 30, 0.95));
    overflow: hidden;
}

    .hero-cyber::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px);
        pointer-events: none;
    }

.badge-cyber {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(255, 69, 0, 0.1));
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-primary);
    backdrop-filter: blur(4px);
}

.glitch-text {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    /*text-shadow: 2px 2px 0 var(--cyan-primary), -2px -2px 0 var(--orange-primary);*/
    color: var(--orange-primary);
    text-shadow: 0 0 10px var(--orange-primary);
}

.cyan-glow {
    color: var(--cyan-primary);
    text-shadow: 0 0 10px var(--cyan-primary);
}

.orange-glow {
    color: var(--orange-primary);
    text-shadow: 0 0 10px var(--orange-primary);
}

/* ========== کارت‌های سرویس ========== */
.service-neon-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .service-neon-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-neon-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-neon-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-neon-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .service-neon-card:hover {
        transform: translateY(-8px);
        border-color: var(--cyan-primary);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.3), 0 0 50px rgba(255, 69, 0, 0.2);
    }

.service-icon-cyan {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(255, 69, 0, 0.1));
    border-radius: 18px;
    transition: all 0.3s;
}

.service-neon-card:hover .service-icon-cyan {
    background: linear-gradient(135deg, var(--cyan-primary));
    transform: scale(1.05);
}

    .service-neon-card:hover .service-icon-cyan i {
        color: #0D0B1E !important;
    }

.service-badge {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-primary);
}

/* ========== کارت‌های نمونه کار (پورتفولیو) ========== */
.portfolio-neon-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

    .portfolio-neon-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    }

    .portfolio-neon-card img {
        transition: transform 0.5s ease;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .portfolio-neon-card:hover img {
        transform: scale(1.05);
    }

.portfolio-overlay-neon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #0D0B1E, transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-neon-card:hover .portfolio-overlay-neon {
    transform: translateY(0);
}

/* ========== بخش درخواست ========== */
.request-neon-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--orange-primary);
    border-radius: 28px;
    transition: all 0.3s;
}

    .request-neon-card:hover {
        border-color: var(--cyan-primary);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    }

.neon-input, .neon-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 12px 18px;
    color: var(--text-light);
    transition: all 0.3s;
}

    .neon-input:focus, .neon-textarea:focus {
        outline: none;
        border-color: var(--orange-primary);
        box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }

    .neon-input::placeholder, .neon-textarea::placeholder {
        color: rgba(196, 196, 221, 0.5);
    }

.preview-neon {
    background: rgba(0, 255, 255, 0.05);
    border-right: 4px solid var(--cyan-primary);
    border-radius: 16px;
}

.messenger-cyber {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid var(--cyan-primary);
    transition: all 0.3s;
    cursor: pointer;
}

    .messenger-cyber:hover {
        background: linear-gradient(135deg, rgba(0, 255, 255, 0.2));
        border-color: var(--orange-primary);
        transform: translateY(-4px);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

/* ========== نظرات ========== */
.testimonial-neon {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 24px;
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .testimonial-neon:nth-child(1) {
        animation-delay: 0.1s;
    }

    .testimonial-neon:nth-child(2) {
        animation-delay: 0.2s;
    }

    .testimonial-neon:nth-child(3) {
        animation-delay: 0.3s;
    }

    .testimonial-neon:hover {
        transform: translateY(-5px);
        border-color: var(--cyan-primary);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    }

.star-cyan {
    color: var(--cyan-primary);
    filter: drop-shadow(0 0 3px var(--cyan-primary));
}

/* ========== بخش تماس ========== */
.contact-cyber-section {
    background: linear-gradient(135deg, #0D0B1E, #1A0A2E);
    position: relative;
}

    .contact-cyber-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--cyan-primary), var(--orange-primary), transparent);
    }

.contact-card-neon {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 24px;
}

.contact-item-cyber {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s;
}

    .contact-item-cyber:hover {
        background: rgba(255, 69, 0, 0.1);
        transform: translateX(-5px);
        border-left: 3px solid var(--orange-primary);
    }

.contact-btn-cyber {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid var(--cyan-primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .contact-btn-cyber:hover {
        background: linear-gradient(135deg, var(--cyan-primary));
        transform: translateY(-3px);
        box-shadow: 0 0 20px var(--cyan-primary);
    }

        .contact-btn-cyber:hover h6,
        .contact-btn-cyber:hover small {
            color: #0D0B1E !important;
        }

/* ========== آکاردئون سوالات متداول (FAQ) ========== */
.faq-neon-item {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.3s;
    margin-bottom: 16px;
}

    .faq-neon-item:hover {
        border-color: var(--cyan-primary);
        transform: translateX(5px);
    }

.faq-neon-header {
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 20px;
}

    .faq-neon-header:hover {
        background: rgba(0, 255, 255, 0.05);
    }

    .faq-neon-header i:first-child {
        color: var(--cyan-primary);
    }

.faq-neon-icon {
    transition: transform 0.3s ease;
    color: var(--cyan-primary);
}

.faq-neon-item.active .faq-neon-icon {
    transform: rotate(180deg);
}

.faq-neon-body {
    display: none;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.faq-neon-item.active .faq-neon-body {
    display: block;
}

.faq-neon-item.active {
    border-color: var(--orange-primary);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
}

/* ========== استات کارت ========== */
.stat-neon {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s;
}

    .stat-neon:hover {
        transform: translateY(-5px);
        border-color: var(--orange-primary);
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
    }

.stat-number-cyan {
    color: var(--cyan-primary);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 5px var(--cyan-primary);
}

/* ========== ساب‌منوی دراپ‌داون ========== */
.dropdown-menu-neon {
    background: rgba(13, 11, 30, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--cyan-primary);
    border-radius: 16px;
    padding: 12px;
}

.dropdown-item-neon {
    color: var(--text-gray);
    transition: all 0.3s;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .dropdown-item-neon:hover {
        background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(255, 69, 0, 0.1));
        color: var(--cyan-primary);
        transform: translateX(5px);
    }

/* ========== فوتر ========== */
.footer-cyber {
    background: #090817;
    border-top: 1px solid var(--cyan-primary);
    position: relative;
}

    .footer-cyber::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--cyan-primary), var(--orange-primary), transparent);
    }

/* ========== ریسپانسیو ========== */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 1.8rem;
    }

    .stat-number-cyan {
        font-size: 1.3rem;
    }

    .service-neon-card {
        padding: 1rem !important;
    }

    .faq-neon-header span {
        font-size: 0.85rem;
    }

    .nav-link-modern-new {
        justify-content: center;
        padding: 10px !important;
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 1.8rem !important;
    }

    .messenger-cyber {
        min-width: 70px;
        padding: 8px !important;
    }
    /*/////////////////////////////////////////////////////////////////////////////////////////////////*/
    /* ========== رفع بردر سیاه دکمه همبرگری موبایل ========== */
    .navbar-toggler {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 8px 10px !important;
    }

        .navbar-toggler:focus,
        .navbar-toggler:active,
        .navbar-toggler:visited {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
        }

        .navbar-toggler i {
            color: #00FFFF !important;
            font-size: 1.8rem;
            transition: all 0.3s ease;
        }

        .navbar-toggler:hover i {
            text-shadow: 0 0 10px #00FFFF;
            transform: scale(1.05);
        }

        /* وقتی منو باز هست */
        .navbar-toggler[aria-expanded="true"] i {
            color: #FF4500 !important;
            text-shadow: 0 0 8px #FF4500;
        }

    /* ========== رفع اسکرول افقی موبایل ========== */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .container {
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* ========== منوی موبایل ========== */
    @media (max-width: 991px) {
        .navbar-collapse {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(13, 11, 30, 0.98);
            backdrop-filter: blur(12px);
            padding: 20px;
            border-radius: 0 0 20px 20px;
            z-index: 1000;
            max-height: 80vh;
            overflow-y: auto;
            border-top: 1px solid #00FFFF;
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
        }

        .navbar-nav {
            width: 100%;
            margin: 0 !important;
        }

        .nav-link-modern-new {
            justify-content: flex-start !important;
            padding: 12px 16px !important;
            width: 100%;
            border-radius: 12px;
        }

            /* خط فعال زیر منو در موبایل - اصلاح شده */
            .nav-link-modern-new.active::after {
                bottom: 6px !important;
                right: 16px !important;
                width: 35px !important;
                height: 2px !important;
                left: auto !important;
                transform: none !important;
            }

        /* دراپ‌داون در موبایل */
        .dropdown-menu-neon {
            position: static !important;
            width: 100%;
            margin-top: 8px;
            transform: none !important;
            background: rgba(0, 0, 0, 0.5);
        }

        /* لوگو در موبایل */
        .navbar-brand {
            flex: 1;
        }

            .navbar-brand > div:first-child {
                width: 42px !important;
                height: 42px !important;
            }

            .navbar-brand div:last-child div:first-child {
                font-size: 0.95rem !important;
            }

            .navbar-brand div:last-child span:first-child {
                font-size: 0.5rem !important;
            }

        /* دکمه ترجمه فوری در موبایل */
        .btn-cyber-new {
            margin-top: 15px;
            justify-content: center;
            width: 100%;
        }
    }

    /* ========== ریسپانسیو برای موبایل کوچک ========== */
    @media (max-width: 576px) {
        .navbar-brand > div:first-child {
            width: 38px !important;
            height: 38px !important;
        }

        .navbar-brand div:last-child div:first-child {
            font-size: 0.85rem !important;
        }

        .navbar-toggler i {
            font-size: 1.5rem !important;
        }
    }
}

/* ========== رفع مشکل منوی موبایل ========== */

/* ========== فیکس کامل منوی موبایل ========== */
@media (max-width: 991px) {
    /* نوار ناوبری ثابت */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        background: rgba(13, 11, 30, 0.98) !important;
        backdrop-filter: blur(12px) !important;
    }

    /* فضای خالی برای بدنه */
    body {
        padding-top: 70px !important;
    }

    /* منوی کشویی */
    .navbar-collapse {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        background: rgba(13, 11, 30, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        border-top: 1px solid #00FFFF !important;
        border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
        padding: 20px !important;
        z-index: 1029 !important;
    }

    /* وقتی منو باز است، اسکرول بدنه قفل شود */
    body.navbar-expanded {
        overflow: hidden !important;
    }
}
