:root {
    --primary-color: #4A90E2;
    --secondary-color: #F5A623;
    --accent-color: #50E3C2;
    --text-color: #2C3E50;
    --muted-heading: #6c757d;
    --light-bg: #F8F9FA;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    padding: 15px 0;
}

.logo-img {
    max-height: 90px;
    width: auto;
}

.main-menu {
    margin-top: 0;
}

.main-menu .nav-link {
    color: white;
    font-weight: 500;
    padding: 10px 35px;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.main-menu .nav-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
}

.main-menu .nav-link:hover {
    color: var(--accent-color);
}

.main-menu .dropdown-menu {
    background-color: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 0;
}

.main-menu .dropdown-item {
    color: var(--text-color);
    padding: 12px 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.main-menu .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.main-menu .dropdown-item:last-child {
    border-bottom: none;
}

.main-menu .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
    border-top: 0.3em solid white;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    display: inline-block;
    margin-top: -2px;
    background: none;
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 31px;
    right: 20px;
}

.main-menu .dropdown-toggle:hover::after {
    border-top-color: var(--accent-color);
}

.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1543185377-99cd16011803?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
}

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

.section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #357ABD;
    border-color: #357ABD;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .logo-img {
        max-height: 60px;
    }
    
    .main-menu .nav-link {
        padding: 5px 25px;
        font-size: 12px;
    }
    
    .main-menu .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .main-menu .dropdown-item {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .main-menu .nav-link:not(:last-child)::after {
        height: 15px;
    }
    
    .main-menu .dropdown-toggle::after {
        top: 25px;
        right: 15px;
    }
    
    .hero-banner {
        height: 60vh;
    }
}

.domain-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    /* убираем тень по бокам */
    box-shadow: none;
    line-height: 1.6;
}

.domain-content h1,
.domain-content h2,
.domain-content h3,
.domain-content h4,
.domain-content h5,
.domain-content h6 {
    color: var(--muted-heading);
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.domain-content p {
    margin-bottom: 1em;
}

.domain-content ul,
.domain-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.domain-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1em 0;
}

.domain-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.domain-content a:hover {
    color: var(--secondary-color);
}

/* SVG в статьях — крупные и адаптивные */
.domain-content svg {
    width: 150px;
    height: 150px;
    stroke: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.domain-content h2 svg {
    margin-right: .5rem;
    flex-shrink: 0;
}

/* В 2 раза тоньше линии в SVG (переопределяем любые атрибуты) */
.domain-content svg,
.domain-content svg * {
    stroke-width: 0.75 !important;
}

/* Таблицы в статьях */
.domain-content table {
    font-size: 0.95rem;
}

.domain-content .card-title {
    color: var(--muted-heading);
    font-weight: 600;
}

.header-content {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
} 