/* Barra de Navegação */
nav {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #333;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

.nav-buttons {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.nav-btn {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.nav-btn:hover, .nav-btn.active {
    background-color: #00bcd4;
    color: #121212;
    border-color: #00bcd4;
}

/* Botão Hambúrguer Fixo no Canto Superior Direito */
.hamburger-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.hamburger-btn:hover {
    border-color: #00bcd4;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #00bcd4;
    border-radius: 2px;
}

/* Gaveta do Menu Lateral Direito */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #161616;
    box-type: border-box;
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.menu-header h3 {
    color: #00bcd4;
    font-size: 1.1rem;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.menu-links {
    list-style: none;
    padding: 20px;
}

.menu-links li {
    margin-bottom: 15px;
}

.menu-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    transition: color 0.3s;
}

.menu-links a:hover {
    color: #00bcd4;
}

/* Overlay Escuro de Fundo */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
