:root {
    /* Кольори */
    --blue-dark: #001f54;
    --blue-light: #003399;
    --yellow: #FFD700;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Градієнтний Header */
header {
    /* Красивий лінійний градієнт від темного до насиченого синього */
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px var(--shadow);
    border-bottom: 3px solid var(--yellow);
}

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

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

.logo-area {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 60px; /* Трохи збільшив для акценту */
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); /* Легке сяйво логотипу */
    margin-right: 15px;
}

.logo-text {
    color: var(--white);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--yellow);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    margin-left: 30px;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    color: var(--yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1920&q=80') center/cover;
}

.hero-overlay {
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 31, 84, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.badge {
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 6px 15px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 2px;
}

.btn {
    padding: 16px 35px;
    text-decoration: none;
    font-weight: 900;
    display: inline-block;
    margin-right: 15px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--blue-dark);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* News & Titles */
.section { padding: 80px 0; }
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    border-left: 10px solid var(--blue-light);
    padding-left: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}

.news-card:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background: #050a14;
    padding: 60px 0 30px;
    color: #ccc;
    text-align: center;
}

.footer-logo { height: 80px; margin-bottom: 20px; }
.footer-socials a { color: #fff; font-size: 2rem; margin: 0 15px; }

/* Адаптивність */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}