﻿/* === ЦВЕТОВАЯ ПАЛИТРА "DEEP OCEAN & LUMINESCENT AQUA" === */
:root {
    --bg-dark: #0a192f;
    --bg-darker: #020c1b;
    --accent: #00f2ff;
    --accent-soft: #64ffda;
    --text-primary: #e6f1ff;
    --text-muted: #8892b0;
    --glass-bg: rgba(17, 34, 64, 0.6);
    --glass-border: rgba(100, 255, 218, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.bg-dark-custom { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }
.text-accent { color: var(--accent) !important; }
.text-muted-light { color: var(--text-muted) !important; }
.ls-2 { letter-spacing: 2px; }

/* === НАВИГАЦИЯ === */
.navbar {
    transition: all 0.4s ease;
    padding: 1.2rem 0;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-primary) !important;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%);
    z-index: -1;
}

.inline-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    line-height: 1.1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* === КНОПКИ === */
.btn-accent-glow {
    background: var(--accent);
    color: var(--bg-darker);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.btn-accent-glow:hover {
    background: var(--accent-soft);
    color: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5);
}

.btn-outline-light-custom {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* === GLASSMORPHISM === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.border-accent-glow {
    border: 1px solid rgba(0, 242, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.bg-accent-transparent {
    background: rgba(0, 242, 255, 0.1);
}

.bg-accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
}

/* === КАРТОЧКИ === */
.feature-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.project-card {
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === ФОРМА === */
.custom-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
    color: var(--text-primary);
}

.custom-input::placeholder {
    color: rgba(136, 146, 176, 0.6);
}

/* === ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ === */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-soft);
    bottom: -50px;
    left: -50px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .display-3 { font-size: 2.5rem; }
    .display-5 { font-size: 2rem; }
    .hero-section { min-height: 90vh; }
}

/* Эффект свечения для контактных ссылок */
.hover-accent:hover {
    color: var(--accent) !important;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
    transition: all 0.3s ease;
}

/* === OWL CAROUSEL СЛАЙДЕР ОБОРУДОВАНИЯ === */
.product-slider {
    padding: 20px 10px 40px;
}

.product-slider .slider-item {
    margin: 10px;
    transition: transform 0.3s ease;
}

.product-slider .slider-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-slider .slider-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 242, 255, 0.3);
}

.product-slider .slider-image-container img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.product-slider .slider-image-container:hover img {
    transform: scale(1.08);
}

.product-slider .slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.95) 0%, rgba(2, 12, 27, 0) 100%);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-slider .slider-image-container:hover .slider-overlay {
    opacity: 1;
}

/* Кастомизация навигации Owl Carousel */
.product-slider.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin-top: 0;
}

.product-slider.owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    pointer-events: all;
    margin: 0 10px;
}

.product-slider.owl-carousel .owl-nav button:hover {
    background: var(--accent) !important;
    color: var(--bg-darker) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    transform: scale(1.1);
}

.product-slider.owl-carousel .owl-nav button span {
    font-size: 1.5rem;
    line-height: 1;
}

.product-slider.owl-carousel .owl-nav .owl-prev {
    margin-left: -20px;
}

.product-slider.owl-carousel .owl-nav .owl-next {
    margin-right: -20px;
}

/* Кастомизация dots (точек) */
.product-slider.owl-carousel .owl-dots {
    margin-top: 30px !important;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.product-slider.owl-carousel .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 4px;
}

.product-slider.owl-carousel .owl-dot span {
    display: none;
}

.product-slider.owl-carousel .owl-dot.active {
    width: 30px;
    border-radius: 4px;
    background: var(--accent) !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.6);
}

.product-slider.owl-carousel .owl-dot:hover:not(.active) {
    background: rgba(0, 242, 255, 0.5) !important;
}

/* Скрываем стандартные стрелки на мобильных */
@media (max-width: 768px) {
    .product-slider.owl-carousel .owl-nav {
        display: none !important;
    }
    
    .product-slider .slider-image-container img {
        height: 280px;
    }
}

/* Адаптивная высота */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-slider .slider-image-container img {
        height: 320px;
    }
}

.navbar-toggler-icon
{
    filter: invert(1);
}

#products
{
    width: 100%;
    overflow-x: hidden;
}

/* === ПРОЕКТЫ С ИЗОБРАЖЕНИЯМИ === */
.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-card {
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.15);
}


/* === СЕКЦИЯ ОБРАТНЫЙ ОСМОС === */
.icon-box-large {
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

#osmosis .glass-panel {
    transition: all 0.4s ease;
}

#osmosis .glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.15);
}

#osmosis h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .icon-box-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    #osmosis h3 {
        font-size: 1.4rem;
    }
}