/* ---------- Header Container ---------- */
header {
    width: 90%;
    height: 300px;
    margin: 0 auto;
    background: #a9a9a9 url("/inc/images/header_3.png") no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ---------- Inner Header Layout ---------- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1em;
}

/* ---------- Logo & Title ---------- */
.logo-title {
    display: flex;
    align-items: flex-start; /* keep logo/title aligned at top */
    gap: 20px;
}

.site-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-right: 1em;
}

.site-info h0 {
    font-size: 5em;
    margin: 0;
    line-height: 1.1;
}

.site-info p {
    font-size: 1.2em;
    margin-top: 0.3em;
}

/* ---------- Member Centre ---------- */
.member-centre a {
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.3em 0.6em;
    background: #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.member-box {
    background-color: rgba(240, 240, 240, 0.8);
    color: #000;
    padding: 0.5em 1em;
    border-radius: 8px;
    display: inline-block;
    font-size: 1em;
}

.member-box a {
    color: #004d00;
    text-decoration: none;
    margin: 0 0.3em;
    font-weight: bold;
}

.member-box a:hover {
    text-decoration: underline;
}

/* ---------- Navigation ---------- */
.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 0.6em 2em;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5em;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* ---------- Hamburger Menu (Mobile) ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 900px) {
    header {
        height: auto;
        padding-bottom: 1em;
    }

    .site-logo {
        width: 120px;
        height: 120px;
    }

    .site-info h1 {
        font-size: 2.5em;
    }

    .site-info p {
        font-size: 1em;
    }

    .main-nav ul {
        flex-direction: column;
        display: none;
        background: rgba(0, 0, 0, 0.8);
        padding: 1em;
        width: 100%;
        border-radius: 0 0 10px 10px;
    }

    .main-nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

