/* Базові скидання та шрифти */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Контейнери */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.max-w-600 { max-width: 600px; }

/* Кольорова палітра та Градієнти (Імітація металу) */
:root {
    --aluminum-light: #e0e4e8;
    --aluminum-metal: #adb5bd;
    --aluminum-dark: #6c757d;
    --dark-graphite: #212529;
    --accent-blue: #495057; /* Можна замінити на яскравий акцент, якщо захочеться */
}

/* Шапка */
.header {
    background: #ffffff;
    border-bottom: 3px solid var(--aluminum-metal);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--dark-graphite);
}
.logo span {
    color: var(--aluminum-dark);
    font-weight: 300;
}
.nav a {
    color: var(--dark-graphite);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav a:hover { color: var(--aluminum-dark); }
.header-phone a {
    color: var(--dark-graphite);
    font-weight: bold;
    text-decoration: none;
}

/* Перший екран із металевим бекграундом */
.hero {
    background: linear-gradient(135deg, #ced4da 0%, #e9ecef 50%, #adb5bd 100%);
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--aluminum-metal);
}
.hero h1 {
    font-size: 42px;
    color: var(--dark-graphite);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #495057;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: var(--dark-graphite);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--aluminum-dark);
}
.btn-block { width: 100%; display: block; }

/* Секції та Сітка */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark-graphite);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--aluminum-dark);
    margin: 10px auto 0;
}
.features { padding: 80px 0; background: #fff; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: #f8f9fa;
    padding: 30px;
    border-left: 4px solid var(--aluminum-metal);
    border-radius: 0 4px 4px 0;
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    background: var(--aluminum-light);
}
.card h3 { margin-bottom: 15px; color: var(--dark-graphite); }

/* Форма зв'язку */
.contact-section {
    padding: 80px 0;
    background: #e9ecef;
}
.section-subtitle { text-align: center; margin-top: -30px; margin-bottom: 40px; color: #6c757d; }
.form-group { margin-bottom: 20px; }
.form input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--aluminum-metal);
    border-radius: 4px;
    font-size: 16px;
}
.form input:focus {
    outline: none;
    border-color: var(--dark-graphite);
}

/* Підвал */
.footer {
    background: var(--dark-graphite);
    color: var(--aluminum-light);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}
/* --- Секція каталогу (Види систем) --- */
.catalog-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Світлий нейтральний фон для контрасту з білими картками */
}

/* Сітка на 4 колонки з адаптивністю під мобільні пристрої */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Стилізація карток товарів */
.catalog-section .card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Ефект наведення на картку */
.catalog-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Заголовки всередині карток */
.catalog-section .card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #333333;
    font-weight: 600;
    line-height: 1.4;
}

/* Опис систем */
.catalog-section .card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}
/* Прибираємо стандартне оформлення посилань для карток */
.card-link {
    text-decoration: none;
    color: inherit; /* Картка успадкує правильні кольори тексту */
    cursor: pointer;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.contact-item {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-item a {
    color: #333; /* або колір твого бренду */
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Кнопка "Як доїхати" */
.btn-route {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #007bff; /* можна змінити на колір сайту */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .text-left {
        text-align: center;
    }
    .contact-info {
        text-align: center;
    }
}
/* Контейнер для телефону та іконок */
.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Вирівнювання по правому краю (для десктопу) */
    gap: 5px;
}

.header-phone a {
    font-weight: bold;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* Блок з іконками */
.header-socials {
    display: flex;
    gap: 15px; /* Відстань між емейлом та телеграмом */
}

.header-socials a {
    color: #555; /* Колір іконок за замовчуванням */
    font-size: 18px; /* Розмір іконок */
    transition: color 0.3s ease;
    text-decoration: none;
}

/* Ефект при наведенні */
.header-socials a:hover {
    color: #007bff; /* Колір змінюється на синій (або ваш брендовий) при наведенні */
}

/* Адаптивність для мобільних (якщо шапка на мобільних центрується) */
@media (max-width: 768px) {
    .header-contacts {
        align-items: center; /* На мобільних вирівнюємо по центру */
    }
}
/* Контейнер підвалу */
.footer-content {
    display: flex;
    justify-content: space-between; /* Розносить текст про права та автора по боках */
    align-items: center;
    flex-wrap: wrap; /* Щоб на мобільних текст переносився */
    gap: 10px;
    padding: 20px 0; /* Додає відступи, якщо їх немає */
}

/* Стиль посилання на твій сайт */
.developer a {
    color: #007bff; /* Колір посилання, можна змінити на свій */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer a:hover {
    text-decoration: underline;
    color: #0056b3; /* Колір при наведенні */
}

/* Адаптивність для мобільних телефонів */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* На мобільних стає в один стовпчик */
        text-align: center;
    }
}