:root {
    --primary-color: #2c3e50; /* A dark, professional blue/slate */
    --secondary-color: #006A4E; /* A shade of green from the Abkhazian flag */
    --text-color: #333;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-size: 0.9rem;
    font-weight: 300;
}

.logo-text span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('hero-background.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
}

/* News Section */
.news {
    padding: 60px 0;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.news-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-content p {
    flex-grow: 1;
    margin: 0 0 15px 0;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* Quick Links */
.quick-links {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quick-links .container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.quick-link-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    width: 30%;
    min-width: 280px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.quick-link-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.quick-link-card p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 30px 0;
    text-align: center;
}

.main-footer a {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        background-color: white;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .quick-links .container {
        flex-direction: column;
        align-items: center;
    }

    .quick-link-card {
        width: 100%;
        max-width: 400px;
    }
}

