/* GLOBAL LAYOUT FIX — STICKY FOOTER */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Montserrat, sans-serif;
    background: #f7f7f7;
    color: #222;

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* HEADER */
header {
    position: relative;
    color: white;
    padding: 20px 30px;
    background-color: #0f2f1f; /* deep slate green */
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.logo-block {
    display: flex;
    flex-direction: column;
    min-width: 260px;
    gap: 10px;
}

.logo-img {
    height: 130px;
    width: auto;
}

.identity {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.top-nav a {
    padding-bottom: 4px;
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

/* HERO IMAGE BAND */
.hero-image-band {
    background-image: url("USS Asheville (SSN 758).png");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    height: 180px;
    position: relative;
}

.hero-image-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}

/* CONTENT BLOCKS */
.block {
    padding: 40px;
    background: white;
    margin: 20px;
    border-left: 6px solid #7a0a0a; /* Deep Burgundy */
}

/* Remove bottom spacing on last block */
.block:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* FOOTER */
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    background-color: #0f2f1f;
    color: white;
}

.footer-left p {
    margin: 4px 0;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.footer-decal {
    height: 130px;
    width: auto;
}

.footer-right a {
    display: block;
    color: white;
    margin: 4px 0;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}
