/* Базові налаштування */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

body { 
    color: #333; 
    line-height: 1.6; 
    background-color: #fcfcfc; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

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

/* --- НАВІГАЦІЙНА ПАНЕЛЬ (NAVBAR) --- */
.navbar { 
    background-color: #fff; 
    border-bottom: 1px solid #e0e0e0; /* Рівний край */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 100; 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
}

/* Логотип: жорстке вирівнювання та зсув */
.logo {
    display: flex;
    align-items: center;
    margin-left: -10px; 
}

.logo a { 
    text-decoration: none; 
    font-size: 24px; 
    font-weight: 700; 
    color: #003b5c; 
    line-height: 1; 
    display: flex;
    align-items: baseline;
}

/* Слово Надра: однакова товщина */
.logo span { 
    font-weight: 700; 
    color: #003b5c; 
    margin-left: 6px; 
}

/* Навігаційні посилання */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
}

.nav-links a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    font-size: 14px; 
    text-transform: uppercase; 
    transition: 0.3s; 
}

.nav-links a:hover { 
    color: #00843D; 
}

/* --- КНОПКИ --- */
.btn-outline { 
    text-decoration: none; 
    color: #003b5c; 
    border: 2px solid #003b5c; 
    padding: 8px 20px; 
    border-radius: 4px; 
    font-weight: 600; 
    transition: 0.3s; 
}

.btn-outline:hover { 
    background-color: #003b5c; 
    color: #fff; 
}

.btn-primary { 
    display: inline-block; 
    text-decoration: none; 
    background-color: #00843D; 
    color: #fff; 
    padding: 16px 32px; 
    border-radius: 4px; 
    font-weight: 600; 
    transition: 0.3s; 
}

.btn-primary:hover { 
    background-color: #00662e; 
}

/* --- ГОЛОВНИЙ ЕКРАН (HERO SECTION) --- */
.hero { 
    height: 100vh; 
    background-image: url('hero-background.png'); 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    display: flex; 
    align-items: center; 
    margin-top: 80px; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 59, 92, 0.75); 
}

.hero-content { 
    position: relative; 
    color: #fff; 
    z-index: 1; 
    max-width: 850px; 
}

.hero-content h1 { 
    font-size: 52px; 
    font-weight: 700; 
    margin-bottom: 25px; 
    line-height: 1.2; 
}

.hero-content p {
    margin-bottom: 25px;
    font-size: 18px;
}

/* --- ЗАГАЛЬНІ СТИЛІ СЕКЦІЙ --- */
.section { 
    padding: 100px 20px; 
}

.section-header { 
    margin-bottom: 50px; 
    text-align: center; 
}

.section-header h2 { 
    font-size: 36px; 
    color: #003b5c; 
    margin-bottom: 15px; 
}

.bg-light { 
    background-color: #f4f6f8; 
}

.bg-dark { 
    background-color: #003b5c; 
    color: #fff; 
}

.bg-dark h2 { 
    color: #fff; 
}

/* --- СІТКА ДЛЯ КАРТОК (GRID) --- */
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
}

.stat-box { 
    background: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border-left: 6px solid #00843D; 
    color: #333; 
}

.stat-box h3 { 
    color: #003b5c; 
    margin-bottom: 10px; 
    font-size: 22px; 
}

/* --- МОБІЛЬНА АДАПТИВНІСТЬ --- */
.hamburger { 
    display: none; 
    flex-direction: column; 
    cursor: pointer; 
    gap: 5px; 
    z-index: 101; 
}

.hamburger span { 
    width: 25px; 
    height: 3px; 
    background-color: #003b5c; 
    transition: 0.3s; 
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-extra { display: none; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 36px; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .nav-links a { font-size: 20px; }
}