/* css/style.css */
:root {
    --primary-color: #25D366; /* Цвет WhatsApp */
    --primary-dark: #1da851;
    --text-color: #ffffff;
    --bg-color: #000000;
    --border-color: #333333;
    --hover-color: #25D366;
    --footer-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Навигация */
.main-nav {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(37, 211, 102, 0.1);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Основной контент */
.container {
    text-align: center;
    padding: 50px 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.image-container {
    margin: 30px 0;
    padding: 10px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--text-color);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.quote {
    font-size: 1.2rem;
    margin: 30px 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.whatsapp-link {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.whatsapp-link p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #aaa;
}

.whatsapp-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: rgba(37, 211, 102, 0.1);
}

.whatsapp-link a:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* Футер */
.main-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-description {
    color: #aaa;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    list-style: none;
}

.footer-social li {
    margin-bottom: 10px;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(37, 211, 102, 0.1);
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-counters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.counter-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.counter-item img {
    display: block;
}

.footer-copyright {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
    max-width: 600px;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .nav-mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .container {
        padding: 30px 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .whatsapp-link a {
        font-size: 1.2rem;
        padding: 10px 25px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-counters {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .quote {
        font-size: 1rem;
        padding: 15px;
    }
    
    .whatsapp-link {
        padding: 15px;
    }
    
    .footer-container {
        padding: 30px 15px 15px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.5s ease-out;
}

/* Специальные стили для счетчиков */
.counter-item {
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Стили для активных ссылок */
.nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 5px;
}