.nav-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 4rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: background 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    height: 100%;
    width: 100%;
}

.nav-spacer {
    flex: 1 1 0;
    min-width: 0;
}

.nav-spacer--right {
    display: flex;
    justify-content: flex-end;
}

.nav-left {
    justify-content: flex-start;
    align-items: center;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin-left: 0;
    padding-left: 0;
}

.nav-right {
    justify-content: flex-end;
    align-items: center;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0;
    padding-right: 0;
}

.nav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.nav-logo img {
    height: 2.5rem;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.nav-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.logo-dark { display: inline; }
.logo-light { display: none; }


.main-content {
    flex: 1;
    /* padding: 5rem 1.5rem 2rem; */
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(130vh - 7rem);
    gap: 1rem;
    max-width: 900px;
    /* margin: 0 auto; */
}

body.error-page .main-content {
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 5rem);
    justify-content: center;
}

body.error-page .hero-section {
    margin: 0.5rem auto 1rem auto;
}

.hero-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    max-width: calc(100% - 1rem);
    margin: 1rem auto 1.5rem auto;
    padding: 0 0.5rem;
    text-align: center;
}



.hero-content {
    flex: 1;
    text-align: center;
    min-width: 0;
    max-width: 100%;
}

.hero-image {
    flex: 0 0 auto;
    max-width: 120px;
    text-align: center;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-navy);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.3;
    opacity: 0.9;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    height: 7rem;
    width: auto;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.text-center { text-align: center; }
.hidden { display: none; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }

@media (max-width: 600px) {
    .nav-container {
        padding: 0.5rem;
    }
}
