/* --- НОВАЯ ЦВЕТОВАЯ ПАЛИТРА --- */
:root {
    --primary-accent: #f1c40f; /* Золотой/Желтый акцент */
    --primary-hover: #d4ac0d;  /* Темный золотой при наведении */
    --dark-bg: #1a2530;        /* Глубокий темно-синий из твоего скрина */
    --dark-secondary: #233140; /* Чуть светлее для блоков */
    --text-main: #2c3e50;      /* Темный серый для текста */
    --bg-light: #f4f7f6;       /* Светлый фон */
    --white: #ffffff;
}

/* Общие сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Georgian', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin: 0 15px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: var(--primary-accent);
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    margin: 0 5px;
}
.lang-switcher a.active {
    color: var(--primary-accent);
}

/* БАННЕР */
.hero {
    height: 75vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%; left: -5%; right: -5%; bottom: -5%;
    /* Более строгий темный градиент для индустриального стиля */
    background: linear-gradient(90deg, rgba(26, 37, 48, 0.95) 0%, rgba(26, 37, 48, 0.6) 100%), 
                url('img/hero-bg.jpg') no-repeat center center/cover;
    z-index: 0;
    animation: panZoomEffect 20s ease-in-out infinite alternate; 
}

@keyframes panZoomEffect {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-10px, 5px); }
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
}

.subtitle {
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-main {
    display: inline-block;
    background: var(--primary-accent);
    color: var(--dark-bg);
    padding: 16px 36px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 0; /* Строгие углы */
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-main:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Анимированная мышка */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--primary-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* CTA Секция */
.cta-bar {
    background: var(--primary-accent);
    padding: 30px 0;
}

.cta-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.cta-flex p {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0;
}

.btn-light {
    background: var(--dark-bg);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-light:hover {
    background: var(--white);
    color: var(--dark-bg);
}

/* Заголовки */
.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--dark-bg);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-accent);
}

/* Секция О компании */
.about-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about-info, .about-benefits {
    flex: 1;
}

.about-grid h3 {
    font-size: 22px;
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-grid p {
    font-size: 15px;
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--dark-bg);
    color: var(--dark-bg);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--dark-bg);
    color: var(--white);
}

.about-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 380px;
    border-radius: 0;
    border-bottom: 5px solid var(--primary-accent); /* Акцентная линия */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Список */
.check-list {
    list-style: none;
}

.check-list li {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-accent);
}

/* Темный блок */
.engineering-banner {
    background: var(--dark-bg);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    border-top: 3px solid var(--primary-accent);
}

.engineering-banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.engineering-banner .desc {
    font-size: 16px;
    color: #a0aec0;
    max-width: 800px;
    margin: 0 auto;
}

/* Карточки */
.products-section {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.product-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    border-radius: 0;
    overflow: hidden;
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-accent);
}

.card-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 0.5s ease, filter 0.5s;
}

.product-card:hover .card-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 18px;
    color: var(--dark-bg);
    margin-bottom: 10px;
    font-weight: 700;
}

.partner-text {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Партнеры */
.partners-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
}

.partner-item img {
    max-height: 90px;
    max-width: 250px;
    object-fit: contain;
    mix-blend-mode: multiply; 
    filter: grayscale(100%) opacity(50%);
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(100%);
}

/* --- КОНТАКТЫ (Новый дизайн под скриншот) --- */
.contacts-section {
    padding: 0; /* Убрал отступы чтобы сделать блок полноэкранным */
    background: var(--dark-bg);
}

.contacts-wrapper {
    display: flex;
    min-height: 600px;
}

.contact-info-box {
    flex: 1;
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-heading {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

/* Желтая линия под заголовком как на скриншоте */
.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-accent);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 15px;
    color: #cbd5e1;
}

.contact-item .icon {
    font-size: 20px;
    margin-right: 20px;
    color: #94a3b8; /* Приглушенный цвет для иконок */
}

/* Форма в темном стиле */
.contact-form {
    margin-top: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: var(--dark-secondary);
    border: 1px solid #334155;
    color: var(--white);
    border-radius: 0;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-accent);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.map-box {
    flex: 1;
    min-height: 100%;
}

/* --- FOOTER --- */
.footer {
    background: #111827; /* Почти черный для контраста */
    color: #94a3b8;
    padding-top: 60px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-accent);
}

.footer-bottom {
    background: #0b0f19;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .nav ul { flex-wrap: wrap; justify-content: center; }
    .about-grid, .cta-flex, .contacts-wrapper, .footer-grid { flex-direction: column; }
    .hero h1 { font-size: 28px; }
    .form-row { flex-direction: column; gap: 15px; }
    
    .contact-info-box { padding: 40px 20px; }
    .map-box { min-height: 350px; }
}

/* =========================================
   ДИНАМИКА И АНИМАЦИИ (PREMIUM EFFECTS)
   ========================================= */

/* 1. Эффект появления при скролле (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px); /* Смещаем вниз */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Дорогая, плавная кривая анимации */
}

/* Когда JS добавляет класс active, элемент плавно встает на место */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Умная шапка при скролле (Glassmorphism) */
.header {
    transition: all 0.4s ease;
    background: var(--white);
}

.header.scrolled {
    padding: 10px 0; /* Делаем шапку тоньше */
    background: rgba(255, 255, 255, 0.85); /* Полупрозрачный белый */
    backdrop-filter: blur(12px); /* Эффект матового стекла (как в iOS) */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 3. Параллакс на инженерном баннере */
.engineering-banner {
    background-image: 
        linear-gradient(90deg, rgba(26, 37, 48, 0.95) 0%, rgba(26, 37, 48, 0.8) 100%), 
        url('img/hero-bg.jpg'); /* Можешь поставить сюда другую картинку, например завод */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* ИМЕННО ЭТО СОЗДАЕТ ПАРАЛЛАКС! */
}

/* 4. Световой блик на главной кнопке */
.btn-main {
    position: relative;
    overflow: hidden;
}

.btn-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.btn-main:hover::after {
    left: 125%; /* Блик "пробегает" по кнопке при наведении */
}