.navbar {
    background-color: rgba(51,51,51,0.95);
    padding: 15px 30px;
    color: white;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: contain;
    background-color: #FFFFFF;
}

.site-name { font-size: 20px; font-weight: bold; }

.nav-links { display: flex; gap: 10px; }

.navbar a {
    color: white;
    padding: 10px 12px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2001;
}

.menu-btn span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    left: 0;
    transition: 0.3s;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 10px; }
.menu-btn span:nth-child(3) { top: 20px; }

.menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: width 0.4s ease;
    padding-top: 70px;
    white-space: nowrap;
    z-index: 1500;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.side-menu.open a { animation: fadeInMenu 0.35s ease forwards; }

.side-menu-content { display: none; }
.side-menu.open .side-menu-content { display: block; }

.side-menu a {
    padding: 12px 24px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 600px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
}
