/* Глобальные переменные */
:root {
    --primary: #0f4c75;
    --secondary: #3282b8;
    --accent: #00c6ff;
    --dark: #0a1929;
    --darker: #07121e;
    --light: #bbe1fa;
    --gradient-start: #0f4c75;
    --gradient-end: #00c6ff;
    --neon-shadow: 0 0 10px rgba(0, 198, 255, 0.7), 0 0 20px rgba(0, 198, 255, 0.5);
}

/* Глобальные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: var(--darker);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 76, 117, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(50, 130, 184, 0.1) 0%, transparent 20%);
    min-height: 100vh;
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 198, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes neon-glow {
    0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--accent); }
    50% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--accent); }
    100% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--accent); }
}

@keyframes border-glow {
    0% { box-shadow: 0 0 5px rgba(0, 198, 255, 0.5), 0 0 10px rgba(0, 198, 255, 0.3); }
    50% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.7), 0 0 20px rgba(0, 198, 255, 0.5); }
    100% { box-shadow: 0 0 5px rgba(0, 198, 255, 0.5), 0 0 10px rgba(0, 198, 255, 0.3); }
}

/* Основные элементы */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Навигация */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    animation: fadeIn 1s ease-out;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--accent);
    margin-right: 10px;
    animation: neon-glow 2s infinite;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 25px;
}

.menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.menu a:hover::before {
    left: 100%;
}

.menu a:hover {
    color: var(--accent);
    box-shadow: var(--neon-shadow);
}

/* Эффект нажатия для кнопок меню */
.menu a:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.7);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--neon-shadow);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.8);
}

/* Эффект нажатия для кнопки мобильного меню */
.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 70px;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out, float 6s infinite;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

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

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.6);
}

/* Эффект нажатия для всех кнопок */
.btn:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 8px rgba(0, 198, 255, 0.4) !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: rgba(0, 198, 255, 0.1);
}

.pulse {
    animation: pulse 2s infinite;
}

/* Карточки */
.services-grid, .products-grid, .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card, .product-card, .info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-card::before, .product-card::before, .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before, .product-card:hover::before, .info-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .product-card:hover, .info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), var(--neon-shadow);
    border-color: var(--accent);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.7);
    animation: float 4s infinite;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 15px 0;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

/* Формы */
.form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: border-glow 3s infinite;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 198, 255, 0.3);
    background: rgba(10, 25, 41, 0.7);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--darker);
    padding: 0 10px;
    font-size: 0.9rem;
    color: var(--accent);
}

/* Футер */
footer {
    background: rgba(7, 18, 30, 0.95);
    padding: 70px 0 30px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(0, 198, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 198, 255, 0.3);
}

.footer-links a:hover {
    transform: translateY(-5px);
    background: rgba(0, 198, 255, 0.2);
    box-shadow: var(--neon-shadow);
}

/* Эффект нажатия для кнопок в футере */
.footer-links a:active {
    transform: translateY(2px);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.5);
}

.footer-bottom {
    position: relative;
    overflow: hidden;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--dark);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--accent);
    box-shadow: 0 0 50px rgba(0, 198, 255, 0.3);
    animation: border-glow 3s infinite;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent);
    transition: all 0.3s ease;
}

.close:hover {
    transform: rotate(90deg);
    color: var(--light);
    text-shadow: var(--neon-shadow);
}

/* Скрытые элементы */
.hidden-service, .hidden-product {
    display: none;
}

/* Кнопка "Показать еще" */
.btn-show-more {
    position: relative;
    overflow: hidden;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.btn-show-more i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.btn-show-more:hover i {
    transform: rotate(90deg);
}

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

.btn-show-more:hover::after {
    left: 100%;
}

/* Контактная информация */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--light);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent);
    text-shadow: var(--neon-shadow);
}

/* Адаптация */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem; /* Уменьшен размер заголовка */
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    h2, .section h2.text-center {
        font-size: 1.5rem;
    }
    
    .service-card h3, .product-card h3 {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Исправленное мобильное меню */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    nav .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    nav .menu.active {
        right: 0;
    }
    
    nav .menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    nav .menu a {
        display: block;
        padding: 15px;
        border-radius: 8px;
        background: rgba(255,255,255,0.05);
        margin: 5px 0;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Секция акций */
#promotions {
    background: linear-gradient(135deg, #1a2a3a, #0a1929);
    position: relative;
    overflow: hidden;
}

#promotions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(0,198,255,0.05)" stroke-width="1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.promotion-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 198, 255, 0.3);
    border-color: var(--accent);
}

.promotion-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.promotion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promotion-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promotion-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

.promotion-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.promotion-dates {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.promotion-dates i {
    color: var(--accent);
}

.promotion-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .promotion-image {
        height: 180px;
    }
    
    .promotion-content {
        padding: 20px;
    }
    
    .promotion-content h3 {
        font-size: 1.3rem;
    }
}
/* ... существующие стили ... */

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo-text {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

.logo-text i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 2rem;
    animation: neon-glow 2s infinite;
}

.logo-image img {
    height: 50px;
    transition: all 0.3s ease;
}

/* При наведении на логотип */
.logo:hover .logo-text {
    color: var(--accent);
    text-shadow: var(--neon-shadow);
}

.logo:hover .logo-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.7));
}

/* Мобильная версия логотипа */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.0rem;
    }
    
    .logo-text i {
        font-size: 1.3rem;
    }
    
    .logo-image img {
        height: 40px;
    }
    
    /* Логотип в мобильном меню */
    nav .menu .mobile-logo {
        display: none;
    }
}
/* Анимация логотипа */
@keyframes logo-fade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    animation: logo-fade 1s ease-out;
}