/* Основные стили для сайта Arsenal Project */

/* Общие стили для секций */
.section-tag {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ff6b00;
    margin-bottom: 10px;
    letter-spacing: 1px;
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 15px;
    color: white;
}

.section-title .accent-text {
    color: #ff6b00;
}

.section-subtitle {
    font-size: 18px;
    color: #bbbbbb;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: #ff6b00;
    margin: 20px auto 0;
}

/* Эффект плавных переходов между секциями */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #0f0f0f);
    pointer-events: none;
    z-index: 2;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, transparent, #0f0f0f);
    pointer-events: none;
    z-index: 2;
}

/* Общие анимации появления элементов */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.animated,
.fade-up.animated,
.fade-right.animated,
.fade-left.animated,
.zoom-in.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Глобальный фон с элементами */
.gta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gta-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    opacity: 0.4;
}

.gta-global-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gta-global-element {
    position: absolute;
    width: 250px;
    height: 250px;
    opacity: 0.03;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gta-global-element.map {
    top: 10%;
    right: 5%;
    background-image: url('../images/gta-map.png');
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.gta-global-element.car {
    bottom: 15%;
    left: 5%;
    background-image: url('../images/gta-car.png');
    animation: floatAnimation 25s infinite alternate-reverse ease-in-out;
}

.gta-global-element.weapon {
    top: 50%;
    right: 15%;
    background-image: url('../images/gta-weapon.png');
    animation: floatAnimation 15s infinite alternate ease-in-out;
}

.gta-global-element.light1 {
    top: 20%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.1), transparent 70%);
    animation: pulseAnimation 10s infinite alternate ease-in-out;
}

.gta-global-element.light2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.05), transparent 70%);
    animation: pulseAnimation 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(2deg);
    }
    100% {
        transform: translate(-20px, -20px) rotate(-2deg);
    }
}

@keyframes pulseAnimation {
    0% {
        opacity: 0.03;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.06;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.04;
        transform: scale(0.9);
    }
}

/* Кнопки и интерактивные элементы */
.primary-btn {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.primary-btn:hover {
    background-color: #ff8533;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

.secondary-btn {
    display: inline-block;
    background-color: transparent;
    color: #ff6b00;
    padding: 14px 28px;
    border: 2px solid #ff6b00;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.secondary-btn:hover {
    background-color: rgba(255, 107, 0, 0.1);
    transform: translateY(-3px);
}

/* Стили для темы сайта с учетом игровой тематики */
.accent-bg {
    background-color: #ff6b00;
}

.accent-text {
    color: #ff6b00;
}

.dark-bg {
    background-color: #0a0a0a;
}

.darker-bg {
    background-color: #050505;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .section-title {
        font-size: 34px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .primary-btn, .secondary-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .section-tag {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
} 

/* Новые стили для навигационной панели */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
}

.nav-scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 15px;
}

/* Стили для логотипа */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 100%;
    padding: 0 10px;
}

.brand:hover {
    transform: scale(1.03);
}

.logo-img {
    width: 48px;
    height: 48px;
    background: url('images/Logo-1x.png') no-repeat center;
    background-size: contain;
    margin-right: 15px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.brand-text {
    font-family: 'ProximaNova-Semibold', Arial, sans-serif;
    font-size: 24px;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Стили для основного меню */
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
    height: 100%;
}

.menu li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
    text-transform: uppercase;
}

.menu li a:hover, 
.menu li a.active {
    color: #ff6b00;
    text-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
}

/* Подчеркивание при наведении и активном пункте */
.menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b00, #ff8c33);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1.5px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.menu li a:hover::after, 
.menu li a.active::after {
    transform: scaleX(1);
}

.menu li a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b00, #ff8c33);
    transform: scaleX(1);
    border-radius: 1.5px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    opacity: 0.5;
}

/* Специальное оформление для кнопки мониторинга */
.menu li a.highlight {
    color: #ff6b00;
    border: 2px solid #ff6b00;
    margin: 0 0 0 10px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 107, 0, 0.05);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15);
    height: auto;
    text-shadow: none;
}

.menu li a.highlight i {
    margin-right: 5px;
    font-size: 16px;
}

.menu li a.highlight:hover {
    background-color: #ff6b00;
    color: white;
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.25);
    transform: translateY(-2px) scale(1.05);
}

.menu li a.highlight::after,
.menu li a.highlight::before {
    display: none;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 10px;
}

.menu-bar {
    width: 100%;
    height: 3px;
    background-color: #f5f5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Адаптивные стили для навигации */
@media (max-width: 992px) {
    .menu {
        gap: 0;
    }
    
    .menu li a {
        padding: 0 12px;
        font-size: 13px;
    }
    
    .menu li a.highlight {
        padding: 8px 15px;
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .menu {
        display: none;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .brand-text {
        font-size: 20px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    z-index: 2000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    width: 100%;
    max-width: 90%;
    padding: 60px 20px;
    position: relative;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-align: center;
}

.mobile-menu-list li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(0.1s * var(--i, 0));
}

.mobile-menu.active .mobile-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-list li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a:focus,
.mobile-menu-list li a.active {
    color: #ff6b00;
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.mobile-menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b00, #ff8c33);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mobile-menu-list li a:hover::after,
.mobile-menu-list li a:focus::after,
.mobile-menu-list li a.active::after {
    transform: scaleX(1);
}

.mobile-menu-list li a.highlight {
    color: white;
    background: linear-gradient(45deg, #ff6b00, #ff8c33);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    padding: 12px 25px;
    margin-top: 10px;
}

.mobile-menu-list li a.highlight i {
    margin-right: 8px;
}

.mobile-menu-list li a.highlight:hover,
.mobile-menu-list li a.highlight:focus {
    background: linear-gradient(45deg, #ff8c33, #ff6b00);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
    transform: translateY(-5px) scale(1.05);
}

.mobile-menu-list li a.highlight::after {
    display: none;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ccc;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-social a:hover {
    background: #ff6b00;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для мини-иконки NEW в меню */
.new-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background-color: #ee3b24;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    position: relative;
    top: -2px;
    animation: pulse 1.5s infinite;
}

/* Анимация пульсации для мини-иконки NEW */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Подсветка пункта WIKI в мобильном меню */
.mobile-menu-list li a:hover .new-badge,
.menu-link:hover .new-badge {
    background-color: #fff;
    color: #ee3b24;
}

/* Адаптируем стиль для мобильного меню */
@media (max-width: 768px) {
    .new-badge {
        font-size: 9px;
        padding: 1px 5px;
    }
} 