header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.site-title {
    margin: 0;
    font-size: 40px;
    color: #beb7a4;
}

/* Navigation */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.nav-btn {
    text-decoration: none;
    color: #beb7a4;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: #beb7a4;
    color: white;
}

/* User Dropdown */
.user-menu {
    position: relative;
}

.user-btn {
    background: none;
    font-size: 16px;
    color: #beb7a4;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.user-menu .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: rgb(0, 0, 0);
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 100;
}

.user-menu:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #beb7a4;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

footer {
    text-align: center;
    width: 100%;
    padding: 20px 0;
    margin-top: 50px; /* Space between the container and footer */
    background-color: rgba(0, 0, 0, 0.7); /* Dark glass footer */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.fake-copy {
    font-size: 1.0rem;
    margin-bottom: 5px;
    margin-left: 20px;
    opacity: 0.8;
    justify-content: left;
    color: white;
}

footer a {
    color: #4F7F8A;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #beb7a4;
    cursor: pointer;
}

html, body {
  overflow-x: hidden;
}

/* Mobile layout */
@media (max-width: 768px) {

    header {
        padding: 15px 20px;
    }

    .site-title {
        font-size: 26px;
    }

    /* Show hamburger */
    .nav-toggle {
        display: block;
    }

    /* Hide nav by default */
    .nav-right {
        position: absolute;
        top: 80px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        display: none;
        z-index: 999;
        width: 220px;
    }

    /* Show when active */
    .nav-right.open {
        display: flex;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    /* User dropdown inside mobile menu */
    .user-menu {
        width: 100%;
    }

    .user-btn {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-content a {
        text-align: center;
    }
    
    html, body {
        overflow-x: hidden;
    }
}
