header {
    background-color: var(--bg-darker);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-cm {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-headers);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

.logo-subtext {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--silver-dark);
    margin-top: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color var(--transition-standard);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var(--silver-accent);
    bottom: -5px;
    left: 0;
    transition: width var(--transition-standard);
}

nav ul li a:hover {
    color: #ffffff;
}

nav ul li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}