:root {
    --bg-overlay: rgba(44, 24, 16, 0.6);
    --bg-modal: #FDFBF7;
    --bg-panel: #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #6D5E57;
    --brand-primary: #8D6E63;
    --brand-dark: #5D4037;
    --brand-accent: #A1887F;
    --border-color: #D7CCC8;
    --danger: #D32F2F;
    --success: #388E3C;
    --link: #0645AD;
    --input-bg: #FFFFFF;
    --paper: #f7f3e9;
    --ink: #222;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Lato", Arial, sans-serif;
    --white: #f2f7fd;
}

#navigation {
    background-color: var(--white);
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    border-bottom: 1px solid rgb(218, 225, 234);
    box-sizing: border-box;
    margin: 0;
    position: fixed;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    /* Multi-directional Shadow */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 -1px 10px rgba(0, 0, 0, 0.05),
        4px 0 15px rgba(0, 0, 0, 0.05),
        -4px 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 24px;
}

.logo img {
    height: 40px;
    width: auto;
}

.top-left-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.nav-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.profile-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 11px;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.profile-button:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.profile-button svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: var(--brand-dark);
}

.profile-button span {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    width: 220px;
    background-color: #FFFFFF;
    border: 1px solid #D7CCC8;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    padding: 8px 0;
    margin-top: 10px;
    right: 1%;
}

.dropdown-menu.visible {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-menu.right-aligned {
    right: 0;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a,
.dropdown-menu li {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #2C1810;
    font-size: 14px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.dropdown-menu li a {
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.dropdown-menu li:hover {
    background-color: var(--paper);
}

.dropdown-menu .menu-header {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: bold;
    padding: 8px 16px 4px;
    cursor: default;
}

.dropdown-menu .menu-header:hover {
    background-color: transparent;
}

.dropdown-menu .separator {
    height: 1px;
    background-color: #eee;
    margin: 4px 0;
    padding: 0;
}

.dropdown-menu .separator:hover {
    background-color: #eee;
}

.dropdown-menu .danger {
    color: var(--danger);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    #navigation {
        width: 100%;
        border-radius: 0px;
        top: 0;
    }
}