/* Non-Critical CSS */

/* Navbar */
.hamburger-menu.open span {
    transform: rotate(45deg);
    background-color: white;
}

.hamburger-menu.open span::after {
    transform: rotate(-90deg);
}

.hamburger-menu.open span::before {
    transform: rotate(90deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: white;
    font-size: 24px;
    margin: 10px 0;
    text-decoration: none;
}

/* Blog Hero */
.blog-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background-image: url('Links/blog_banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog-hero-text {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.blog-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 1.2;
    margin: 0;
}

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

.blog-article {
    margin-bottom: 40px;
}

.blog-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 10px;
}

.blog-article p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.blog-article ul {
    list-style: disc;
    margin-left: 20px;
}

/* Footer */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        z-index: 999;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        color: white;
        font-size: 24px;
        margin: 10px 0;
        text-decoration: none;
    }

    .blog-hero {
        height: 30vh;
    }

    .blog-hero-text h1 {
        font-size: 30px;
    }
}
