@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --primary-blue: #007bff;
    --dark-bg: #0d1117;
    --dark-card: #161b22;
    --light-text: #c9d1d9;
    --secondary-text: #8b949e;
    --border-color: #30363d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding-top: 50px; /* Set padding to height of top-bar */
}

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--dark-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1002;
}

#menu-icon {
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
}

.top-bar-logo {
    height: 30px;
    width: auto;
    margin-left: 15px;
}

#sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1001; /* Lower than top-bar */
    top: 0;
    left: 0;
    background-color: var(--dark-card);
    border-right: 1px solid var(--border-color);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    transform: translateX(-100%);
}

#sidenav.open {
    transform: translateX(0);
}

#sidenav a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: var(--light-text);
    display: block;
    transition: 0.2s;
}

#sidenav a:hover {
    color: #fff;
    background-color: var(--primary-blue);
}

.sidenav-socials {
    position: absolute;
    bottom: 10px;
    width: 100%;
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
}

.sidenav-socials a {
    font-size: 16px;
    padding: 8px 0;
}

.sidenav-socials i {
    margin-right: 10px;
    width: 20px; /* To ensure alignment */
    text-align: center;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.main-banner-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.content-block {
    padding-top: 20px;
}

.content-block h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content-block h2, .content-block h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    text-align: left;
}

.content-block p,
.content-block li {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 20px;
}

.content-block ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: left;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.news-article {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.news-article:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 10px;
    text-align: left;
}

.cta-section {
    margin-bottom: 30px;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button.primary {
    background-color: var(--primary-blue);
    color: #fff;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    background-color: #0056b3;
}

.cta-button.secondary:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--secondary-text);
}
