/* ===============================
   БАЗОВІ НАЛАШТУВАННЯ
================================= */

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 50px;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f7;
    color: #333;
    margin: 0;
}

.main-content {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* ===============================
   НАВІГАЦІЯ
================================= */

.custom-nav {
    background-color: #1f5c4d;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 32px;
    height: 32px;
}

.nav-custom .nav-link {
    font-weight: 500;
    transition: 0.3s;
}

    .nav-custom .nav-link:hover {
        color: #cdeee5;
    }

/* ===============================
   HERO-СЕКЦІЯ
================================= */

.hero-section {
    background: linear-gradient(135deg, #004d32, #3e7864);
    color: white;
    padding: 80px 0;
    text-align: center;
}

    .hero-section h1 {
        font-weight: 700;
    }

.hero-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
}

/* ===============================
   ЗАГОЛОВКИ СЕКЦІЙ
================================= */

.section-title {
    color: #1f5c4d;
    border-bottom: 3px solid #1f5c4d;
    padding-bottom: 8px;
    margin-bottom: 25px;
}

/* ===============================
   ЗОБРАЖЕННЯ
================================= */

.image-main {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

    .image-main:hover {
        transform: scale(1.03);
    }

/* ===============================
   ТАБЛИЦЯ
================================= */

.table-custom thead {
    background-color: #1f5c4d;
    color: white;
}

.table-custom td,
.table-custom th {
    vertical-align: middle;
}

/* ===============================
   СЕКЦІЯ СХЕМ
================================= */

.scheme-block {
    margin-top: 20px;
    text-align: center;
}

.scheme-item {
    margin-bottom: 30px;
}

    .scheme-item img {
        background: #fff;
        padding: 15px;
        border: 1px solid #ccc;
        max-height: 700px;
        width: 100%;
        object-fit: contain;
        transition: 0.3s;
    }

        .scheme-item img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 18px rgba(0,0,0,0.2);
        }

    .scheme-item p {
        margin-top: 10px;
        font-style: italic;
        color: #666;
    }

/* ===============================
   КОНТАКТИ
================================= */

.contact-card {
    background: white;
    padding: 35px;
    border-left: 4px solid #1f5c4d;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* ===============================
   ФУТЕР
================================= */

.footer {
    background-color: #1f5c4d;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===============================
   АДАПТИВНІСТЬ
================================= */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

