/* ========================================
   ROAD FIGHTERS - МАКЕТ
   ======================================== */

/* ========================================
   НАВИГАЦИЯ И ШАПКА
   ======================================== */

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    border-bottom: 1px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

/* Неоновая подсветка под шапкой */
header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00ffff 10%, 
        #ff00ff 30%, 
        #00ffff 50%, 
        #ff00ff 70%, 
        #00ffff 90%, 
        transparent 100%);
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(255, 0, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
    animation: neonGlow 3s ease-in-out infinite alternate;
    z-index: 1001;
}

@keyframes neonGlow {
    0% {
        opacity: 0.7;
        box-shadow: 
            0 0 10px rgba(0, 255, 255, 0.8),
            0 0 20px rgba(255, 0, 255, 0.6),
            0 0 30px rgba(0, 255, 255, 0.4);
    }
    100% {
        opacity: 1;
        box-shadow: 
            0 0 15px rgba(0, 255, 255, 1),
            0 0 25px rgba(255, 0, 255, 0.8),
            0 0 35px rgba(0, 255, 255, 0.6),
            0 0 45px rgba(255, 0, 255, 0.4);
    }
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

/* Логотип */
header nav > div:first-child a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header nav > div:first-child a:hover {
    color: #e0e0e0 !important;
    text-decoration: none;
}

/* Основная навигация */
header nav > div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

header nav > div:nth-child(2) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: #e0e0e0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

header nav > div:nth-child(2) a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    text-decoration: none;
}

header nav > div:nth-child(2) a i {
    font-size: 1.1rem;
}

/* Правая часть навигации */
header nav > div:last-child {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header nav > div:last-child > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header nav > div:last-child a,
header nav > div:last-child button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: #e0e0e0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

header nav > div:last-child a:hover,
header nav > div:last-child button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    text-decoration: none;
}

header nav > div:last-child a i,
header nav > div:last-child button i {
    font-size: 1.1rem;
}

/* Кнопка выхода */
header nav form button {
    color: #ff6b6b !important;
}

header nav form button:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff6b6b !important;
}

/* ========================================
   ПОДВАЛ
   ======================================== */

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid #333;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer div:first-child {
    font-weight: 500;
}

/* ========================================
   СЕКЦИИ
   ======================================== */

.section {
    padding: 4rem 0;
}

/* Стили для секций перенесены в home.css */

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 768px) {
    header nav {
        flex-direction: row;
        gap: 1rem;
        padding: 0.75rem 0;
        flex-wrap: wrap;
    }
    
    header nav > div:first-child {
        flex: 1;
        min-width: 120px;
    }
    
    header nav > div:nth-child(2) {
        display: none;
    }
    
    header nav > div:last-child {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    header nav > div:last-child > div {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    header nav > div:last-child a,
    header nav > div:last-child button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem;
        border-radius: 8px;
        color: #e0e0e0 !important;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        font-size: 1rem;
        width: 45px;
        height: 45px;
        min-width: 45px;
        gap: 0;
    }
    
    header nav > div:last-child a:hover,
    header nav > div:last-child button:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    header nav > div:last-child a span,
    header nav > div:last-child button span {
        display: none;
    }
    
    header nav > div:last-child a i,
    header nav > div:last-child button i {
        font-size: 1.1rem;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header nav {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    header nav > div:first-child a {
        font-size: 1.25rem;
    }
    
    header nav > div:last-child a,
    header nav > div:last-child button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0.5rem;
    }
    
    header nav > div:last-child a i,
    header nav > div:last-child button i {
        font-size: 1rem;
    }
} 